Text Compare
Produced: 7/19/2015 1:53:01 PM
   
Mode:  All, With Context  
Left file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template08\0718-1345\wireshark-bug-37284-37285\sanity\dumpcap.c  
Right file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template08\0718-1345\wireshark-bug-37284-37285\000000\dumpcap.c  
1 typedef unsigned int size_t; = 1 typedef unsigned int size_t;
2 typedef unsigned char __u_char;   2 typedef unsigned char __u_char;
3 typedef unsigned short __u_short;   3 typedef unsigned short __u_short;
4 typedef unsigned int __u_int;   4 typedef unsigned int __u_int;
5 typedef unsigned long __u_long;   5 typedef unsigned long __u_long;
6 typedef signed char __int8_t;   6 typedef signed char __int8_t;
7 typedef unsigned char __uint8_t;   7 typedef unsigned char __uint8_t;
8 typedef short __int16_t;   8 typedef short __int16_t;
9 typedef unsigned short __uint16_t;   9 typedef unsigned short __uint16_t;
10 typedef int __int32_t;   10 typedef int __int32_t;
11 typedef unsigned int __uint32_t;   11 typedef unsigned int __uint32_t;
12 typedef long long __int64_t;   12 typedef long long __int64_t;
13 typedef unsigned long long __uint64_t;   13 typedef unsigned long long __uint64_t;
14 typedef long long __quad_t;   14 typedef long long __quad_t;
15 typedef unsigned long long __u_quad_t;   15 typedef unsigned long long __u_quad_t;
16 typedef __u_quad_t __dev_t;   16 typedef __u_quad_t __dev_t;
17 typedef unsigned int __uid_t;   17 typedef unsigned int __uid_t;
18 typedef unsigned int __gid_t;   18 typedef unsigned int __gid_t;
19 typedef unsigned long __ino_t;   19 typedef unsigned long __ino_t;
20 typedef __u_quad_t __ino64_t;   20 typedef __u_quad_t __ino64_t;
21 typedef unsigned int __mode_t;   21 typedef unsigned int __mode_t;
22 typedef unsigned int __nlink_t;   22 typedef unsigned int __nlink_t;
23 typedef long __off_t;   23 typedef long __off_t;
24 typedef __quad_t __off64_t;   24 typedef __quad_t __off64_t;
25 typedef int __pid_t;   25 typedef int __pid_t;
26 struct __anonstruct___fsid_t_1 {   26 struct __anonstruct___fsid_t_1 {
27    int __val[2] ;   27    int __val[2] ;
28 };   28 };
29 typedef struct __anonstruct___fsid_t_1 __fsid_t;   29 typedef struct __anonstruct___fsid_t_1 __fsid_t;
30 typedef long __clock_t;   30 typedef long __clock_t;
31 typedef unsigned long __rlim_t;   31 typedef unsigned long __rlim_t;
32 typedef __u_quad_t __rlim64_t;   32 typedef __u_quad_t __rlim64_t;
33 typedef unsigned int __id_t;   33 typedef unsigned int __id_t;
34 typedef long __time_t;   34 typedef long __time_t;
35 typedef unsigned int __useconds_t;   35 typedef unsigned int __useconds_t;
36 typedef long __suseconds_t;   36 typedef long __suseconds_t;
37 typedef int __daddr_t;   37 typedef int __daddr_t;
38 typedef long __swblk_t;   38 typedef long __swblk_t;
39 typedef int __key_t;   39 typedef int __key_t;
40 typedef int __clockid_t;   40 typedef int __clockid_t;
41 typedef void *__timer_t;   41 typedef void *__timer_t;
42 typedef long __blksize_t;   42 typedef long __blksize_t;
43 typedef long __blkcnt_t;   43 typedef long __blkcnt_t;
44 typedef __quad_t __blkcnt64_t;   44 typedef __quad_t __blkcnt64_t;
45 typedef unsigned long __fsblkcnt_t;   45 typedef unsigned long __fsblkcnt_t;
46 typedef __u_quad_t __fsblkcnt64_t;   46 typedef __u_quad_t __fsblkcnt64_t;
47 typedef unsigned long __fsfilcnt_t;   47 typedef unsigned long __fsfilcnt_t;
48 typedef __u_quad_t __fsfilcnt64_t;   48 typedef __u_quad_t __fsfilcnt64_t;
49 typedef int __ssize_t;   49 typedef int __ssize_t;
50 typedef __off64_t __loff_t;   50 typedef __off64_t __loff_t;
51 typedef __quad_t *__qaddr_t;   51 typedef __quad_t *__qaddr_t;
52 typedef char *__caddr_t;   52 typedef char *__caddr_t;
53 typedef int __intptr_t;   53 typedef int __intptr_t;
54 typedef unsigned int __socklen_t;   54 typedef unsigned int __socklen_t;
55 struct _IO_FILE;   55 struct _IO_FILE;
56 struct _IO_FILE;   56 struct _IO_FILE;
57 typedef struct _IO_FILE FILE;   57 typedef struct _IO_FILE FILE;
58 typedef struct _IO_FILE __FILE;   58 typedef struct _IO_FILE __FILE;
59 union __anonunion___value_3 {   59 union __anonunion___value_3 {
60    unsigned int __wch ;   60    unsigned int __wch ;
61    char __wchb[4] ;   61    char __wchb[4] ;
62 };   62 };
63 struct __anonstruct___mbstate_t_2 {   63 struct __anonstruct___mbstate_t_2 {
64    int __count ;   64    int __count ;
65    union __anonunion___value_3 __value ;   65    union __anonunion___value_3 __value ;
66 };   66 };
67 typedef struct __anonstruct___mbstate_t_2 __mbstate_t;   67 typedef struct __anonstruct___mbstate_t_2 __mbstate_t;
68 struct __anonstruct__G_fpos_t_4 {   68 struct __anonstruct__G_fpos_t_4 {
69    __off_t __pos ;   69    __off_t __pos ;
70    __mbstate_t __state ;   70    __mbstate_t __state ;
71 };   71 };
72 typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t;   72 typedef struct __anonstruct__G_fpos_t_4 _G_fpos_t;
73 struct __anonstruct__G_fpos64_t_5 {   73 struct __anonstruct__G_fpos64_t_5 {
74    __off64_t __pos ;   74    __off64_t __pos ;
75    __mbstate_t __state ;   75    __mbstate_t __state ;
76 };   76 };
77 typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t;   77 typedef struct __anonstruct__G_fpos64_t_5 _G_fpos64_t;
78 typedef short _G_int16_t;   78 typedef short _G_int16_t;
79 typedef int _G_int32_t;   79 typedef int _G_int32_t;
80 typedef unsigned short _G_uint16_t;   80 typedef unsigned short _G_uint16_t;
81 typedef unsigned int _G_uint32_t;   81 typedef unsigned int _G_uint32_t;
82 typedef __builtin_va_list __gnuc_va_list;   82 typedef __builtin_va_list __gnuc_va_list;
83 struct _IO_jump_t;   83 struct _IO_jump_t;
84 struct _IO_jump_t;   84 struct _IO_jump_t;
85 struct _IO_FILE;   85 struct _IO_FILE;
86 typedef void _IO_lock_t;   86 typedef void _IO_lock_t;
87 struct _IO_marker {   87 struct _IO_marker {
88    struct _IO_marker *_next ;   88    struct _IO_marker *_next ;
89    struct _IO_FILE *_sbuf ;   89    struct _IO_FILE *_sbuf ;
90    int _pos ;   90    int _pos ;
91 };   91 };
92 enum __codecvt_result {   92 enum __codecvt_result {
93     __codecvt_ok = 0,   93     __codecvt_ok = 0,
94     __codecvt_partial = 1,   94     __codecvt_partial = 1,
95     __codecvt_error = 2,   95     __codecvt_error = 2,
96     __codecvt_noconv = 3   96     __codecvt_noconv = 3
97 } ;   97 } ;
98 struct _IO_FILE {   98 struct _IO_FILE {
99    int _flags ;   99    int _flags ;
100    char *_IO_read_ptr ;   100    char *_IO_read_ptr ;
101    char *_IO_read_end ;   101    char *_IO_read_end ;
102    char *_IO_read_base ;   102    char *_IO_read_base ;
103    char *_IO_write_base ;   103    char *_IO_write_base ;
104    char *_IO_write_ptr ;   104    char *_IO_write_ptr ;
105    char *_IO_write_end ;   105    char *_IO_write_end ;
106    char *_IO_buf_base ;   106    char *_IO_buf_base ;
107    char *_IO_buf_end ;   107    char *_IO_buf_end ;
108    char *_IO_save_base ;   108    char *_IO_save_base ;
109    char *_IO_backup_base ;   109    char *_IO_backup_base ;
110    char *_IO_save_end ;   110    char *_IO_save_end ;
111    struct _IO_marker *_markers ;   111    struct _IO_marker *_markers ;
112    struct _IO_FILE *_chain ;   112    struct _IO_FILE *_chain ;
113    int _fileno ;   113    int _fileno ;
114    int _flags2 ;   114    int _flags2 ;
115    __off_t _old_offset ;   115    __off_t _old_offset ;
116    unsigned short _cur_column ;   116    unsigned short _cur_column ;
117    signed char _vtable_offset ;   117    signed char _vtable_offset ;
118    char _shortbuf[1] ;   118    char _shortbuf[1] ;
119    _IO_lock_t *_lock ;   119    _IO_lock_t *_lock ;
120    __off64_t _offset ;   120    __off64_t _offset ;
121    void *__pad1 ;   121    void *__pad1 ;
122    void *__pad2 ;   122    void *__pad2 ;
123    void *__pad3 ;   123    void *__pad3 ;
124    void *__pad4 ;   124    void *__pad4 ;
125    size_t __pad5 ;   125    size_t __pad5 ;
126    int _mode ;   126    int _mode ;
127    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;   127    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
128 };   128 };
129 typedef struct _IO_FILE _IO_FILE;   129 typedef struct _IO_FILE _IO_FILE;
130 struct _IO_FILE_plus;   130 struct _IO_FILE_plus;
131 struct _IO_FILE_plus;   131 struct _IO_FILE_plus;
132 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );   132 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
133 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,   133 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,
134                                 size_t __n );   134                                 size_t __n );
135 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );   135 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
136 typedef int __io_close_fn(void *__cookie );   136 typedef int __io_close_fn(void *__cookie );
137 typedef __gnuc_va_list va_list;   137 typedef __gnuc_va_list va_list;
138 typedef __off64_t off_t;   138 typedef __off64_t off_t;
139 typedef __ssize_t ssize_t;   139 typedef __ssize_t ssize_t;
140 typedef _G_fpos64_t fpos_t;   140 typedef _G_fpos64_t fpos_t;
141 typedef long wchar_t;   141 typedef long wchar_t;
142 struct __anonstruct___wait_terminated_6 {   142 struct __anonstruct___wait_terminated_6 {
143    unsigned int __w_termsig : 7 ;   143    unsigned int __w_termsig : 7 ;
144    unsigned int __w_coredump : 1 ;   144    unsigned int __w_coredump : 1 ;
145    unsigned int __w_retcode : 8 ;   145    unsigned int __w_retcode : 8 ;
146    unsigned int  : 16 ;   146    unsigned int  : 16 ;
147 };   147 };
148 struct __anonstruct___wait_stopped_7 {   148 struct __anonstruct___wait_stopped_7 {
149    unsigned int __w_stopval : 8 ;   149    unsigned int __w_stopval : 8 ;
150    unsigned int __w_stopsig : 8 ;   150    unsigned int __w_stopsig : 8 ;
151    unsigned int  : 16 ;   151    unsigned int  : 16 ;
152 };   152 };
153 union wait {   153 union wait {
154    int w_status ;   154    int w_status ;
155    struct __anonstruct___wait_terminated_6 __wait_terminated ;   155    struct __anonstruct___wait_terminated_6 __wait_terminated ;
156    struct __anonstruct___wait_stopped_7 __wait_stopped ;   156    struct __anonstruct___wait_stopped_7 __wait_stopped ;
157 };   157 };
158 union __anonunion___WAIT_STATUS_8 {   158 union __anonunion___WAIT_STATUS_8 {
159    union wait *__uptr ;   159    union wait *__uptr ;
160    int *__iptr ;   160    int *__iptr ;
161 };   161 };
162 typedef union __anonunion___WAIT_STATUS_8  __attribute__((__transparent_union__)) __WAIT_STATUS;   162 typedef union __anonunion___WAIT_STATUS_8  __attribute__((__transparent_union__)) __WAIT_STATUS;
163 struct __anonstruct_div_t_9 {   163 struct __anonstruct_div_t_9 {
164    int quot ;   164    int quot ;
165    int rem ;   165    int rem ;
166 };   166 };
167 typedef struct __anonstruct_div_t_9 div_t;   167 typedef struct __anonstruct_div_t_9 div_t;
168 struct __anonstruct_ldiv_t_10 {   168 struct __anonstruct_ldiv_t_10 {
169    long quot ;   169    long quot ;
170    long rem ;   170    long rem ;
171 };   171 };
172 typedef struct __anonstruct_ldiv_t_10 ldiv_t;   172 typedef struct __anonstruct_ldiv_t_10 ldiv_t;
173 struct __anonstruct_lldiv_t_11 {   173 struct __anonstruct_lldiv_t_11 {
174    long long quot ;   174    long long quot ;
175    long long rem ;   175    long long rem ;
176 };   176 };
177 typedef struct __anonstruct_lldiv_t_11 lldiv_t;   177 typedef struct __anonstruct_lldiv_t_11 lldiv_t;
178 typedef __u_char u_char;   178 typedef __u_char u_char;
179 typedef __u_short u_short;   179 typedef __u_short u_short;
180 typedef __u_int u_int;   180 typedef __u_int u_int;
181 typedef __u_long u_long;   181 typedef __u_long u_long;
182 typedef __quad_t quad_t;   182 typedef __quad_t quad_t;
183 typedef __u_quad_t u_quad_t;   183 typedef __u_quad_t u_quad_t;
184 typedef __fsid_t fsid_t;   184 typedef __fsid_t fsid_t;
185 typedef __loff_t loff_t;   185 typedef __loff_t loff_t;
186 typedef __ino64_t ino_t;   186 typedef __ino64_t ino_t;
187 typedef __dev_t dev_t;   187 typedef __dev_t dev_t;
188 typedef __gid_t gid_t;   188 typedef __gid_t gid_t;
189 typedef __mode_t mode_t;   189 typedef __mode_t mode_t;
190 typedef __nlink_t nlink_t;   190 typedef __nlink_t nlink_t;
191 typedef __uid_t uid_t;   191 typedef __uid_t uid_t;
192 typedef __pid_t pid_t;   192 typedef __pid_t pid_t;
193 typedef __id_t id_t;   193 typedef __id_t id_t;
194 typedef __daddr_t daddr_t;   194 typedef __daddr_t daddr_t;
195 typedef __caddr_t caddr_t;   195 typedef __caddr_t caddr_t;
196 typedef __key_t key_t;   196 typedef __key_t key_t;
197 typedef __clock_t clock_t;   197 typedef __clock_t clock_t;
198 typedef __time_t time_t;   198 typedef __time_t time_t;
199 typedef __clockid_t clockid_t;   199 typedef __clockid_t clockid_t;
200 typedef __timer_t timer_t;   200 typedef __timer_t timer_t;
201 typedef unsigned long ulong;   201 typedef unsigned long ulong;
202 typedef unsigned short ushort;   202 typedef unsigned short ushort;
203 typedef unsigned int uint;   203 typedef unsigned int uint;
204 typedef signed char int8_t;   204 typedef signed char int8_t;
205 typedef short int16_t;   205 typedef short int16_t;
206 typedef int int32_t;   206 typedef int int32_t;
207 typedef long long int64_t;   207 typedef long long int64_t;
208 typedef unsigned char u_int8_t;   208 typedef unsigned char u_int8_t;
209 typedef unsigned short u_int16_t;   209 typedef unsigned short u_int16_t;
210 typedef unsigned int u_int32_t;   210 typedef unsigned int u_int32_t;
211 typedef unsigned long long u_int64_t;   211 typedef unsigned long long u_int64_t;
212 typedef int register_t;   212 typedef int register_t;
213 typedef int __sig_atomic_t;   213 typedef int __sig_atomic_t;
214 struct __anonstruct___sigset_t_12 {   214 struct __anonstruct___sigset_t_12 {
215    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;   215    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
216 };   216 };
217 typedef struct __anonstruct___sigset_t_12 __sigset_t;   217 typedef struct __anonstruct___sigset_t_12 __sigset_t;
218 typedef __sigset_t sigset_t;   218 typedef __sigset_t sigset_t;
219 struct timespec {   219 struct timespec {
220    __time_t tv_sec ;   220    __time_t tv_sec ;
221    long tv_nsec ;   221    long tv_nsec ;
222 };   222 };
223 struct timeval {   223 struct timeval {
224    __time_t tv_sec ;   224    __time_t tv_sec ;
225    __suseconds_t tv_usec ;   225    __suseconds_t tv_usec ;
226 };   226 };
227 typedef __suseconds_t suseconds_t;   227 typedef __suseconds_t suseconds_t;
228 typedef long __fd_mask;   228 typedef long __fd_mask;
229 struct __anonstruct_fd_set_13 {   229 struct __anonstruct_fd_set_13 {
230    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;   230    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
231 };   231 };
232 typedef struct __anonstruct_fd_set_13 fd_set;   232 typedef struct __anonstruct_fd_set_13 fd_set;
233 typedef __fd_mask fd_mask;   233 typedef __fd_mask fd_mask;
234 typedef __blksize_t blksize_t;   234 typedef __blksize_t blksize_t;
235 typedef __blkcnt64_t blkcnt_t;   235 typedef __blkcnt64_t blkcnt_t;
236 typedef __fsblkcnt64_t fsblkcnt_t;   236 typedef __fsblkcnt64_t fsblkcnt_t;
237 typedef __fsfilcnt64_t fsfilcnt_t;   237 typedef __fsfilcnt64_t fsfilcnt_t;
238 typedef unsigned long pthread_t;   238 typedef unsigned long pthread_t;
239 union __anonunion_pthread_attr_t_14 {   239 union __anonunion_pthread_attr_t_14 {
240    char __size[36] ;   240    char __size[36] ;
241    long __align ;   241    long __align ;
242 };   242 };
243 typedef union __anonunion_pthread_attr_t_14 pthread_attr_t;   243 typedef union __anonunion_pthread_attr_t_14 pthread_attr_t;
244 struct __pthread_internal_slist {   244 struct __pthread_internal_slist {
245    struct __pthread_internal_slist *__next ;   245    struct __pthread_internal_slist *__next ;
246 };   246 };
247 typedef struct __pthread_internal_slist __pthread_slist_t;   247 typedef struct __pthread_internal_slist __pthread_slist_t;
248 union __anonunion____missing_field_name_16 {   248 union __anonunion____missing_field_name_16 {
249    int __spins ;   249    int __spins ;
250    __pthread_slist_t __list ;   250    __pthread_slist_t __list ;
251 };   251 };
252 struct __pthread_mutex_s {   252 struct __pthread_mutex_s {
253    int __lock ;   253    int __lock ;
254    unsigned int __count ;   254    unsigned int __count ;
255    int __owner ;   255    int __owner ;
256    int __kind ;   256    int __kind ;
257    unsigned int __nusers ;   257    unsigned int __nusers ;
258    union __anonunion____missing_field_name_16 __annonCompField1 ;   258    union __anonunion____missing_field_name_16 __annonCompField1 ;
259 };   259 };
260 union __anonunion_pthread_mutex_t_15 {   260 union __anonunion_pthread_mutex_t_15 {
261    struct __pthread_mutex_s __data ;   261    struct __pthread_mutex_s __data ;
262    char __size[24] ;   262    char __size[24] ;
263    long __align ;   263    long __align ;
264 };   264 };
265 typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t;   265 typedef union __anonunion_pthread_mutex_t_15 pthread_mutex_t;
266 union __anonunion_pthread_mutexattr_t_17 {   266 union __anonunion_pthread_mutexattr_t_17 {
267    char __size[4] ;   267    char __size[4] ;
268    long __align ;   268    long __align ;
269 };   269 };
270 typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t;   270 typedef union __anonunion_pthread_mutexattr_t_17 pthread_mutexattr_t;
271 struct __anonstruct___data_19 {   271 struct __anonstruct___data_19 {
272    int __lock ;   272    int __lock ;
273    unsigned int __futex ;   273    unsigned int __futex ;
274    unsigned long long __total_seq ;   274    unsigned long long __total_seq ;
275    unsigned long long __wakeup_seq ;   275    unsigned long long __wakeup_seq ;
276    unsigned long long __woken_seq ;   276    unsigned long long __woken_seq ;
277    void *__mutex ;   277    void *__mutex ;
278    unsigned int __nwaiters ;   278    unsigned int __nwaiters ;
279    unsigned int __broadcast_seq ;   279    unsigned int __broadcast_seq ;
280 };   280 };
281 union __anonunion_pthread_cond_t_18 {   281 union __anonunion_pthread_cond_t_18 {
282    struct __anonstruct___data_19 __data ;   282    struct __anonstruct___data_19 __data ;
283    char __size[48] ;   283    char __size[48] ;
284    long long __align ;   284    long long __align ;
285 };   285 };
286 typedef union __anonunion_pthread_cond_t_18 pthread_cond_t;   286 typedef union __anonunion_pthread_cond_t_18 pthread_cond_t;
287 union __anonunion_pthread_condattr_t_20 {   287 union __anonunion_pthread_condattr_t_20 {
288    char __size[4] ;   288    char __size[4] ;
289    long __align ;   289    long __align ;
290 };   290 };
291 typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t;   291 typedef union __anonunion_pthread_condattr_t_20 pthread_condattr_t;
292 typedef unsigned int pthread_key_t;   292 typedef unsigned int pthread_key_t;
293 typedef int pthread_once_t;   293 typedef int pthread_once_t;
294 struct __anonstruct___data_22 {   294 struct __anonstruct___data_22 {
295    int __lock ;   295    int __lock ;
296    unsigned int __nr_readers ;   296    unsigned int __nr_readers ;
297    unsigned int __readers_wakeup ;   297    unsigned int __readers_wakeup ;
298    unsigned int __writer_wakeup ;   298    unsigned int __writer_wakeup ;
299    unsigned int __nr_readers_queued ;   299    unsigned int __nr_readers_queued ;
300    unsigned int __nr_writers_queued ;   300    unsigned int __nr_writers_queued ;
301    unsigned char __flags ;   301    unsigned char __flags ;
302    unsigned char __shared ;   302    unsigned char __shared ;
303    unsigned char __pad1 ;   303    unsigned char __pad1 ;
304    unsigned char __pad2 ;   304    unsigned char __pad2 ;
305    int __writer ;   305    int __writer ;
306 };   306 };
307 union __anonunion_pthread_rwlock_t_21 {   307 union __anonunion_pthread_rwlock_t_21 {
308    struct __anonstruct___data_22 __data ;   308    struct __anonstruct___data_22 __data ;
309    char __size[32] ;   309    char __size[32] ;
310    long __align ;   310    long __align ;
311 };   311 };
312 typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t;   312 typedef union __anonunion_pthread_rwlock_t_21 pthread_rwlock_t;
313 union __anonunion_pthread_rwlockattr_t_23 {   313 union __anonunion_pthread_rwlockattr_t_23 {
314    char __size[8] ;   314    char __size[8] ;
315    long __align ;   315    long __align ;
316 };   316 };
317 typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t;   317 typedef union __anonunion_pthread_rwlockattr_t_23 pthread_rwlockattr_t;
318 typedef int volatile   pthread_spinlock_t;   318 typedef int volatile   pthread_spinlock_t;
319 union __anonunion_pthread_barrier_t_24 {   319 union __anonunion_pthread_barrier_t_24 {
320    char __size[20] ;   320    char __size[20] ;
321    long __align ;   321    long __align ;
322 };   322 };
323 typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t;   323 typedef union __anonunion_pthread_barrier_t_24 pthread_barrier_t;
324 union __anonunion_pthread_barrierattr_t_25 {   324 union __anonunion_pthread_barrierattr_t_25 {
325    char __size[4] ;   325    char __size[4] ;
326    int __align ;   326    int __align ;
327 };   327 };
328 typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t;   328 typedef union __anonunion_pthread_barrierattr_t_25 pthread_barrierattr_t;
329 struct random_data {   329 struct random_data {
330    int32_t *fptr ;   330    int32_t *fptr ;
331    int32_t *rptr ;   331    int32_t *rptr ;
332    int32_t *state ;   332    int32_t *state ;
333    int rand_type ;   333    int rand_type ;
334    int rand_deg ;   334    int rand_deg ;
335    int rand_sep ;   335    int rand_sep ;
336    int32_t *end_ptr ;   336    int32_t *end_ptr ;
337 };   337 };
338 struct drand48_data {   338 struct drand48_data {
339    unsigned short __x[3] ;   339    unsigned short __x[3] ;
340    unsigned short __old_x[3] ;   340    unsigned short __old_x[3] ;
341    unsigned short __c ;   341    unsigned short __c ;
342    unsigned short __init ;   342    unsigned short __init ;
343    unsigned long long __a ;   343    unsigned long long __a ;
344 };   344 };
345 typedef int (*__compar_fn_t)(void const   * , void const   * );   345 typedef int (*__compar_fn_t)(void const   * , void const   * );
346 typedef int ptrdiff_t;   346 typedef int ptrdiff_t;
347 typedef signed char gint8;   347 typedef signed char gint8;
348 typedef unsigned char guint8;   348 typedef unsigned char guint8;
349 typedef short gint16;   349 typedef short gint16;
350 typedef unsigned short guint16;   350 typedef unsigned short guint16;
351 typedef int gint32;   351 typedef int gint32;
352 typedef unsigned int guint32;   352 typedef unsigned int guint32;
353 typedef long long gint64;   353 typedef long long gint64;
354 typedef unsigned long long guint64;   354 typedef unsigned long long guint64;
355 typedef int gssize;   355 typedef int gssize;
356 typedef unsigned int gsize;   356 typedef unsigned int gsize;
357 typedef gint64 goffset;   357 typedef gint64 goffset;
358 typedef int gintptr;   358 typedef int gintptr;
359 typedef unsigned int guintptr;   359 typedef unsigned int guintptr;
360 struct _GStaticMutex;   360 struct _GStaticMutex;
361 typedef struct _GStaticMutex GStaticMutex;   361 typedef struct _GStaticMutex GStaticMutex;
362 struct _GMutex;   362 struct _GMutex;
363 union __anonunion_static_mutex_26 {   363 union __anonunion_static_mutex_26 {
364    char pad[24] ;   364    char pad[24] ;
365    double dummy_double ;   365    double dummy_double ;
366    void *dummy_pointer ;   366    void *dummy_pointer ;
367    long dummy_long ;   367    long dummy_long ;
368 };   368 };
369 struct _GStaticMutex {   369 struct _GStaticMutex {
370    struct _GMutex *runtime_mutex ;   370    struct _GMutex *runtime_mutex ;
371    union __anonunion_static_mutex_26 static_mutex ;   371    union __anonunion_static_mutex_26 static_mutex ;
372 };   372 };
373 union _GSystemThread;   373 union _GSystemThread;
374 typedef union _GSystemThread GSystemThread;   374 typedef union _GSystemThread GSystemThread;
375 union _GSystemThread {   375 union _GSystemThread {
376    char data[4] ;   376    char data[4] ;
377    double dummy_double ;   377    double dummy_double ;
378    void *dummy_pointer ;   378    void *dummy_pointer ;
379    long dummy_long ;   379    long dummy_long ;
380 };   380 };
381 typedef int GPid;   381 typedef int GPid;
382 typedef char gchar;   382 typedef char gchar;
383 typedef short gshort;   383 typedef short gshort;
384 typedef long glong;   384 typedef long glong;
385 typedef int gint;   385 typedef int gint;
386 typedef gint gboolean;   386 typedef gint gboolean;
387 typedef unsigned char guchar;   387 typedef unsigned char guchar;
388 typedef unsigned short gushort;   388 typedef unsigned short gushort;
389 typedef unsigned long gulong;   389 typedef unsigned long gulong;
390 typedef unsigned int guint;   390 typedef unsigned int guint;
391 typedef float gfloat;   391 typedef float gfloat;
392 typedef double gdouble;   392 typedef double gdouble;
393 typedef void *gpointer;   393 typedef void *gpointer;
394 typedef void const   *gconstpointer;   394 typedef void const   *gconstpointer;
395 typedef gint (*GCompareFunc)(gconstpointer a , gconstpointer b );   395 typedef gint (*GCompareFunc)(gconstpointer a , gconstpointer b );
396 typedef gint (*GCompareDataFunc)(gconstpointer a , gconstpointer b ,   396 typedef gint (*GCompareDataFunc)(gconstpointer a , gconstpointer b ,
397                                  gpointer user_data );   397                                  gpointer user_data );
398 typedef gboolean (*GEqualFunc)(gconstpointer a , gconstpointer b );   398 typedef gboolean (*GEqualFunc)(gconstpointer a , gconstpointer b );
399 typedef void (*GDestroyNotify)(gpointer data );   399 typedef void (*GDestroyNotify)(gpointer data );
400 typedef void (*GFunc)(gpointer data , gpointer user_data );   400 typedef void (*GFunc)(gpointer data , gpointer user_data );
401 typedef guint (*GHashFunc)(gconstpointer key );   401 typedef guint (*GHashFunc)(gconstpointer key );
402 typedef void (*GHFunc)(gpointer key , gpointer value , gpointer user_data );   402 typedef void (*GHFunc)(gpointer key , gpointer value , gpointer user_data );
403 typedef void (*GFreeFunc)(gpointer data );   403 typedef void (*GFreeFunc)(gpointer data );
404 typedef gchar const   *(*GTranslateFunc)(gchar const   *str , gpointer data );   404 typedef gchar const   *(*GTranslateFunc)(gchar const   *str , gpointer data );
405 union _GDoubleIEEE754;   405 union _GDoubleIEEE754;
406 typedef union _GDoubleIEEE754 GDoubleIEEE754;   406 typedef union _GDoubleIEEE754 GDoubleIEEE754;
407 union _GFloatIEEE754;   407 union _GFloatIEEE754;
408 typedef union _GFloatIEEE754 GFloatIEEE754;   408 typedef union _GFloatIEEE754 GFloatIEEE754;
409 struct __anonstruct_mpn_27 {   409 struct __anonstruct_mpn_27 {
410    guint mantissa : 23 ;   410    guint mantissa : 23 ;
411    guint biased_exponent : 8 ;   411    guint biased_exponent : 8 ;
412    guint sign : 1 ;   412    guint sign : 1 ;
413 };   413 };
414 union _GFloatIEEE754 {   414 union _GFloatIEEE754 {
415    gfloat v_float ;   415    gfloat v_float ;
416    struct __anonstruct_mpn_27 mpn ;   416    struct __anonstruct_mpn_27 mpn ;
417 };   417 };
418 struct __anonstruct_mpn_28 {   418 struct __anonstruct_mpn_28 {
419    guint mantissa_low : 32 ;   419    guint mantissa_low : 32 ;
420    guint mantissa_high : 20 ;   420    guint mantissa_high : 20 ;
421    guint biased_exponent : 11 ;   421    guint biased_exponent : 11 ;
422    guint sign : 1 ;   422    guint sign : 1 ;
423 };   423 };
424 union _GDoubleIEEE754 {   424 union _GDoubleIEEE754 {
425    gdouble v_double ;   425    gdouble v_double ;
426    struct __anonstruct_mpn_28 mpn ;   426    struct __anonstruct_mpn_28 mpn ;
427 };   427 };
428 struct _GTimeVal;   428 struct _GTimeVal;
429 typedef struct _GTimeVal GTimeVal;   429 typedef struct _GTimeVal GTimeVal;
430 struct _GTimeVal {   430 struct _GTimeVal {
431    glong tv_sec ;   431    glong tv_sec ;
432    glong tv_usec ;   432    glong tv_usec ;
433 };   433 };
434 struct _GArray;   434 struct _GArray;
435 typedef struct _GArray GArray;   435 typedef struct _GArray GArray;
436 struct _GByteArray;   436 struct _GByteArray;
437 typedef struct _GByteArray GByteArray;   437 typedef struct _GByteArray GByteArray;
438 struct _GPtrArray;   438 struct _GPtrArray;
439 typedef struct _GPtrArray GPtrArray;   439 typedef struct _GPtrArray GPtrArray;
440 struct _GArray {   440 struct _GArray {
441    gchar *data ;   441    gchar *data ;
442    guint len ;   442    guint len ;
443 };   443 };
444 struct _GByteArray {   444 struct _GByteArray {
445    guint8 *data ;   445    guint8 *data ;
446    guint len ;   446    guint len ;
447 };   447 };
448 struct _GPtrArray {   448 struct _GPtrArray {
449    gpointer *pdata ;   449    gpointer *pdata ;
450    guint len ;   450    guint len ;
451 };   451 };
452 typedef guint32 GQuark;   452 typedef guint32 GQuark;
453 struct _GError;   453 struct _GError;
454 typedef struct _GError GError;   454 typedef struct _GError GError;
455 struct _GError {   455 struct _GError {
456    GQuark domain ;   456    GQuark domain ;
457    gint code ;   457    gint code ;
458    gchar *message ;   458    gchar *message ;
459 };   459 };
460 enum __anonenum_GUserDirectory_29 {   460 enum __anonenum_GUserDirectory_29 {
461     G_USER_DIRECTORY_DESKTOP = 0,   461     G_USER_DIRECTORY_DESKTOP = 0,
462     G_USER_DIRECTORY_DOCUMENTS = 1,   462     G_USER_DIRECTORY_DOCUMENTS = 1,
463     G_USER_DIRECTORY_DOWNLOAD = 2,   463     G_USER_DIRECTORY_DOWNLOAD = 2,
464     G_USER_DIRECTORY_MUSIC = 3,   464     G_USER_DIRECTORY_MUSIC = 3,
465     G_USER_DIRECTORY_PICTURES = 4,   465     G_USER_DIRECTORY_PICTURES = 4,
466     G_USER_DIRECTORY_PUBLIC_SHARE = 5,   466     G_USER_DIRECTORY_PUBLIC_SHARE = 5,
467     G_USER_DIRECTORY_TEMPLATES = 6,   467     G_USER_DIRECTORY_TEMPLATES = 6,
468     G_USER_DIRECTORY_VIDEOS = 7,   468     G_USER_DIRECTORY_VIDEOS = 7,
469     G_USER_N_DIRECTORIES = 8   469     G_USER_N_DIRECTORIES = 8
470 } ;   470 } ;
471 typedef enum __anonenum_GUserDirectory_29 GUserDirectory;   471 typedef enum __anonenum_GUserDirectory_29 GUserDirectory;
472 struct _GDebugKey;   472 struct _GDebugKey;
473 typedef struct _GDebugKey GDebugKey;   473 typedef struct _GDebugKey GDebugKey;
474 struct _GDebugKey {   474 struct _GDebugKey {
475    gchar const   *key ;   475    gchar const   *key ;
476    guint value ;   476    guint value ;
477 };   477 };
478 typedef void (*GVoidFunc)(void);   478 typedef void (*GVoidFunc)(void);
479 struct _GTrashStack;   479 struct _GTrashStack;
480 typedef struct _GTrashStack GTrashStack;   480 typedef struct _GTrashStack GTrashStack;
481 struct _GTrashStack {   481 struct _GTrashStack {
482    GTrashStack *next ;   482    GTrashStack *next ;
483 };   483 };
484 enum __anonenum_GThreadError_30 {   484 enum __anonenum_GThreadError_30 {
485     G_THREAD_ERROR_AGAIN = 0   485     G_THREAD_ERROR_AGAIN = 0
486 } ;   486 } ;
487 typedef enum __anonenum_GThreadError_30 GThreadError;   487 typedef enum __anonenum_GThreadError_30 GThreadError;
488 typedef gpointer (*GThreadFunc)(gpointer data );   488 typedef gpointer (*GThreadFunc)(gpointer data );
489 enum __anonenum_GThreadPriority_31 {   489 enum __anonenum_GThreadPriority_31 {
490     G_THREAD_PRIORITY_LOW = 0,   490     G_THREAD_PRIORITY_LOW = 0,
491     G_THREAD_PRIORITY_NORMAL = 1,   491     G_THREAD_PRIORITY_NORMAL = 1,
492     G_THREAD_PRIORITY_HIGH = 2,   492     G_THREAD_PRIORITY_HIGH = 2,
493     G_THREAD_PRIORITY_URGENT = 3   493     G_THREAD_PRIORITY_URGENT = 3
494 } ;   494 } ;
495 typedef enum __anonenum_GThreadPriority_31 GThreadPriority;   495 typedef enum __anonenum_GThreadPriority_31 GThreadPriority;
496 struct _GThread;   496 struct _GThread;
497 typedef struct _GThread GThread;   497 typedef struct _GThread GThread;
498 struct _GThread {   498 struct _GThread {
499    gpointer (*func)(gpointer data ) ;   499    gpointer (*func)(gpointer data ) ;
500    gpointer data ;   500    gpointer data ;
501    gboolean joinable ;   501    gboolean joinable ;
502    GThreadPriority priority ;   502    GThreadPriority priority ;
503 };   503 };
504 typedef struct _GMutex GMutex;   504 typedef struct _GMutex GMutex;
505 struct _GCond;   505 struct _GCond;
506 typedef struct _GCond GCond;   506 typedef struct _GCond GCond;
507 struct _GPrivate;   507 struct _GPrivate;
508 typedef struct _GPrivate GPrivate;   508 typedef struct _GPrivate GPrivate;
509 struct _GStaticPrivate;   509 struct _GStaticPrivate;
510 typedef struct _GStaticPrivate GStaticPrivate;   510 typedef struct _GStaticPrivate GStaticPrivate;
511 struct _GThreadFunctions;   511 struct _GThreadFunctions;
512 typedef struct _GThreadFunctions GThreadFunctions;   512 typedef struct _GThreadFunctions GThreadFunctions;
513 struct _GThreadFunctions {   513 struct _GThreadFunctions {
514    GMutex *(*mutex_new)(void) ;   514    GMutex *(*mutex_new)(void) ;
515    void (*mutex_lock)(GMutex *mutex ) ;   515    void (*mutex_lock)(GMutex *mutex ) ;
516    gboolean (*mutex_trylock)(GMutex *mutex ) ;   516    gboolean (*mutex_trylock)(GMutex *mutex ) ;
517    void (*mutex_unlock)(GMutex *mutex ) ;   517    void (*mutex_unlock)(GMutex *mutex ) ;
518    void (*mutex_free)(GMutex *mutex ) ;   518    void (*mutex_free)(GMutex *mutex ) ;
519    GCond *(*cond_new)(void) ;   519    GCond *(*cond_new)(void) ;
520    void (*cond_signal)(GCond *cond ) ;   520    void (*cond_signal)(GCond *cond ) ;
521    void (*cond_broadcast)(GCond *cond ) ;   521    void (*cond_broadcast)(GCond *cond ) ;
522    void (*cond_wait)(GCond *cond , GMutex *mutex ) ;   522    void (*cond_wait)(GCond *cond , GMutex *mutex ) ;
523    gboolean (*cond_timed_wait)(GCond *cond , GMutex *mutex , GTimeVal *end_time ) ;   523    gboolean (*cond_timed_wait)(GCond *cond , GMutex *mutex , GTimeVal *end_time ) ;
524    void (*cond_free)(GCond *cond ) ;   524    void (*cond_free)(GCond *cond ) ;
525    GPrivate *(*private_new)(void (*destructor)(gpointer data ) ) ;   525    GPrivate *(*private_new)(void (*destructor)(gpointer data ) ) ;
526    gpointer (*private_get)(GPrivate *private_key ) ;   526    gpointer (*private_get)(GPrivate *private_key ) ;
527    void (*private_set)(GPrivate *private_key , gpointer data ) ;   527    void (*private_set)(GPrivate *private_key , gpointer data ) ;
528    void (*thread_create)(gpointer (*func)(gpointer data ) , gpointer data ,   528    void (*thread_create)(gpointer (*func)(gpointer data ) , gpointer data ,
529                          gulong stack_size , gboolean joinable ,   529                          gulong stack_size , gboolean joinable ,
530                          gboolean bound , GThreadPriority priority ,   530                          gboolean bound , GThreadPriority priority ,
531                          gpointer thread , GError **error ) ;   531                          gpointer thread , GError **error ) ;
532    void (*thread_yield)(void) ;   532    void (*thread_yield)(void) ;
533    void (*thread_join)(gpointer thread ) ;   533    void (*thread_join)(gpointer thread ) ;
534    void (*thread_exit)(void) ;   534    void (*thread_exit)(void) ;
535    void (*thread_set_priority)(gpointer thread , GThreadPriority priority ) ;   535    void (*thread_set_priority)(gpointer thread , GThreadPriority priority ) ;
536    void (*thread_self)(gpointer thread ) ;   536    void (*thread_self)(gpointer thread ) ;
537    gboolean (*thread_equal)(gpointer thread1 , gpointer thread2 ) ;   537    gboolean (*thread_equal)(gpointer thread1 , gpointer thread2 ) ;
538 };   538 };
539 struct _GStaticPrivate {   539 struct _GStaticPrivate {
540    guint index ;   540    guint index ;
541 };   541 };
542 struct _GStaticRecMutex;   542 struct _GStaticRecMutex;
543 typedef struct _GStaticRecMutex GStaticRecMutex;   543 typedef struct _GStaticRecMutex GStaticRecMutex;
544 struct _GStaticRecMutex {   544 struct _GStaticRecMutex {
545    GStaticMutex mutex ;   545    GStaticMutex mutex ;
546    guint depth ;   546    guint depth ;
547    GSystemThread owner ;   547    GSystemThread owner ;
548 };   548 };
549 struct _GStaticRWLock;   549 struct _GStaticRWLock;
550 typedef struct _GStaticRWLock GStaticRWLock;   550 typedef struct _GStaticRWLock GStaticRWLock;
551 struct _GStaticRWLock {   551 struct _GStaticRWLock {
552    GStaticMutex mutex ;   552    GStaticMutex mutex ;
553    GCond *read_cond ;   553    GCond *read_cond ;
554    GCond *write_cond ;   554    GCond *write_cond ;
555    guint read_counter ;   555    guint read_counter ;
556    gboolean have_writer ;   556    gboolean have_writer ;
557    guint want_to_read ;   557    guint want_to_read ;
558    guint want_to_write ;   558    guint want_to_write ;
559 };   559 };
560 enum __anonenum_GOnceStatus_32 {   560 enum __anonenum_GOnceStatus_32 {
561     G_ONCE_STATUS_NOTCALLED = 0,   561     G_ONCE_STATUS_NOTCALLED = 0,
562     G_ONCE_STATUS_PROGRESS = 1,   562     G_ONCE_STATUS_PROGRESS = 1,
563     G_ONCE_STATUS_READY = 2   563     G_ONCE_STATUS_READY = 2
564 } ;   564 } ;
565 typedef enum __anonenum_GOnceStatus_32 GOnceStatus;   565 typedef enum __anonenum_GOnceStatus_32 GOnceStatus;
566 struct _GOnce;   566 struct _GOnce;
567 typedef struct _GOnce GOnce;   567 typedef struct _GOnce GOnce;
568 struct _GOnce {   568 struct _GOnce {
569    GOnceStatus volatile   status ;   569    GOnceStatus volatile   status ;
570    gpointer volatile   retval ;   570    gpointer volatile   retval ;
571 };   571 };
572 struct _GAsyncQueue;   572 struct _GAsyncQueue;
573 typedef struct _GAsyncQueue GAsyncQueue;   573 typedef struct _GAsyncQueue GAsyncQueue;
574 typedef __sig_atomic_t sig_atomic_t;   574 typedef __sig_atomic_t sig_atomic_t;
575 union sigval {   575 union sigval {
576    int sival_int ;   576    int sival_int ;
577    void *sival_ptr ;   577    void *sival_ptr ;
578 };   578 };
579 typedef union sigval sigval_t;   579 typedef union sigval sigval_t;
580 struct __anonstruct__kill_34 {   580 struct __anonstruct__kill_34 {
581    __pid_t si_pid ;   581    __pid_t si_pid ;
582    __uid_t si_uid ;   582    __uid_t si_uid ;
583 };   583 };
584 struct __anonstruct__timer_35 {   584 struct __anonstruct__timer_35 {
585    int si_tid ;   585    int si_tid ;
586    int si_overrun ;   586    int si_overrun ;
587    sigval_t si_sigval ;   587    sigval_t si_sigval ;
588 };   588 };
589 struct __anonstruct__rt_36 {   589 struct __anonstruct__rt_36 {
590    __pid_t si_pid ;   590    __pid_t si_pid ;
591    __uid_t si_uid ;   591    __uid_t si_uid ;
592    sigval_t si_sigval ;   592    sigval_t si_sigval ;
593 };   593 };
594 struct __anonstruct__sigchld_37 {   594 struct __anonstruct__sigchld_37 {
595    __pid_t si_pid ;   595    __pid_t si_pid ;
596    __uid_t si_uid ;   596    __uid_t si_uid ;
597    int si_status ;   597    int si_status ;
598    __clock_t si_utime ;   598    __clock_t si_utime ;
599    __clock_t si_stime ;   599    __clock_t si_stime ;
600 };   600 };
601 struct __anonstruct__sigfault_38 {   601 struct __anonstruct__sigfault_38 {
602    void *si_addr ;   602    void *si_addr ;
603 };   603 };
604 struct __anonstruct__sigpoll_39 {   604 struct __anonstruct__sigpoll_39 {
605    long si_band ;   605    long si_band ;
606    int si_fd ;   606    int si_fd ;
607 };   607 };
608 union __anonunion__sifields_33 {   608 union __anonunion__sifields_33 {
609    int _pad[128U / sizeof(int ) - 3U] ;   609    int _pad[128U / sizeof(int ) - 3U] ;
610    struct __anonstruct__kill_34 _kill ;   610    struct __anonstruct__kill_34 _kill ;
611    struct __anonstruct__timer_35 _timer ;   611    struct __anonstruct__timer_35 _timer ;
612    struct __anonstruct__rt_36 _rt ;   612    struct __anonstruct__rt_36 _rt ;
613    struct __anonstruct__sigchld_37 _sigchld ;   613    struct __anonstruct__sigchld_37 _sigchld ;
614    struct __anonstruct__sigfault_38 _sigfault ;   614    struct __anonstruct__sigfault_38 _sigfault ;
615    struct __anonstruct__sigpoll_39 _sigpoll ;   615    struct __anonstruct__sigpoll_39 _sigpoll ;
616 };   616 };
617 struct siginfo {   617 struct siginfo {
618    int si_signo ;   618    int si_signo ;
619    int si_errno ;   619    int si_errno ;
620    int si_code ;   620    int si_code ;
621    union __anonunion__sifields_33 _sifields ;   621    union __anonunion__sifields_33 _sifields ;
622 };   622 };
623 typedef struct siginfo siginfo_t;   623 typedef struct siginfo siginfo_t;
624 enum __anonenum_40 {   624 enum __anonenum_40 {
625     SI_ASYNCNL = -60,   625     SI_ASYNCNL = -60,
626     SI_TKILL = -6,   626     SI_TKILL = -6,
627     SI_SIGIO = -5,   627     SI_SIGIO = -5,
628     SI_ASYNCIO = -4,   628     SI_ASYNCIO = -4,
629     SI_MESGQ = -3,   629     SI_MESGQ = -3,
630     SI_TIMER = -2,   630     SI_TIMER = -2,
631     SI_QUEUE = -1,   631     SI_QUEUE = -1,
632     SI_USER = 0,   632     SI_USER = 0,
633     SI_KERNEL = 128   633     SI_KERNEL = 128
634 } ;   634 } ;
635 enum __anonenum_41 {   635 enum __anonenum_41 {
636     ILL_ILLOPC = 1,   636     ILL_ILLOPC = 1,
637     ILL_ILLOPN = 2,   637     ILL_ILLOPN = 2,
638     ILL_ILLADR = 3,   638     ILL_ILLADR = 3,
639     ILL_ILLTRP = 4,   639     ILL_ILLTRP = 4,
640     ILL_PRVOPC = 5,   640     ILL_PRVOPC = 5,
641     ILL_PRVREG = 6,   641     ILL_PRVREG = 6,
642     ILL_COPROC = 7,   642     ILL_COPROC = 7,
643     ILL_BADSTK = 8   643     ILL_BADSTK = 8
644 } ;   644 } ;
645 enum __anonenum_42 {   645 enum __anonenum_42 {
646     FPE_INTDIV = 1,   646     FPE_INTDIV = 1,
647     FPE_INTOVF = 2,   647     FPE_INTOVF = 2,
648     FPE_FLTDIV = 3,   648     FPE_FLTDIV = 3,
649     FPE_FLTOVF = 4,   649     FPE_FLTOVF = 4,
650     FPE_FLTUND = 5,   650     FPE_FLTUND = 5,
651     FPE_FLTRES = 6,   651     FPE_FLTRES = 6,
652     FPE_FLTINV = 7,   652     FPE_FLTINV = 7,
653     FPE_FLTSUB = 8   653     FPE_FLTSUB = 8
654 } ;   654 } ;
655 enum __anonenum_43 {   655 enum __anonenum_43 {
656     SEGV_MAPERR = 1,   656     SEGV_MAPERR = 1,
657     SEGV_ACCERR = 2   657     SEGV_ACCERR = 2
658 } ;   658 } ;
659 enum __anonenum_44 {   659 enum __anonenum_44 {
660     BUS_ADRALN = 1,   660     BUS_ADRALN = 1,
661     BUS_ADRERR = 2,   661     BUS_ADRERR = 2,
662     BUS_OBJERR = 3   662     BUS_OBJERR = 3
663 } ;   663 } ;
664 enum __anonenum_45 {   664 enum __anonenum_45 {
665     TRAP_BRKPT = 1,   665     TRAP_BRKPT = 1,
666     TRAP_TRACE = 2   666     TRAP_TRACE = 2
667 } ;   667 } ;
668 enum __anonenum_46 {   668 enum __anonenum_46 {
669     CLD_EXITED = 1,   669     CLD_EXITED = 1,
670     CLD_KILLED = 2,   670     CLD_KILLED = 2,
671     CLD_DUMPED = 3,   671     CLD_DUMPED = 3,
672     CLD_TRAPPED = 4,   672     CLD_TRAPPED = 4,
673     CLD_STOPPED = 5,   673     CLD_STOPPED = 5,
674     CLD_CONTINUED = 6   674     CLD_CONTINUED = 6
675 } ;   675 } ;
676 enum __anonenum_47 {   676 enum __anonenum_47 {
677     POLL_IN = 1,   677     POLL_IN = 1,
678     POLL_OUT = 2,   678     POLL_OUT = 2,
679     POLL_MSG = 3,   679     POLL_MSG = 3,
680     POLL_ERR = 4,   680     POLL_ERR = 4,
681     POLL_PRI = 5,   681     POLL_PRI = 5,
682     POLL_HUP = 6   682     POLL_HUP = 6
683 } ;   683 } ;
684 struct __anonstruct__sigev_thread_49 {   684 struct __anonstruct__sigev_thread_49 {
685    void (*_function)(sigval_t  ) ;   685    void (*_function)(sigval_t  ) ;
686    void *_attribute ;   686    void *_attribute ;
687 };   687 };
688 union __anonunion__sigev_un_48 {   688 union __anonunion__sigev_un_48 {
689    int _pad[64U / sizeof(int ) - 3U] ;   689    int _pad[64U / sizeof(int ) - 3U] ;
690    __pid_t _tid ;   690    __pid_t _tid ;
691    struct __anonstruct__sigev_thread_49 _sigev_thread ;   691    struct __anonstruct__sigev_thread_49 _sigev_thread ;
692 };   692 };
693 struct sigevent {   693 struct sigevent {
694    sigval_t sigev_value ;   694    sigval_t sigev_value ;
695    int sigev_signo ;   695    int sigev_signo ;
696    int sigev_notify ;   696    int sigev_notify ;
697    union __anonunion__sigev_un_48 _sigev_un ;   697    union __anonunion__sigev_un_48 _sigev_un ;
698 };   698 };
699 typedef struct sigevent sigevent_t;   699 typedef struct sigevent sigevent_t;
700 enum __anonenum_50 {   700 enum __anonenum_50 {
701     SIGEV_SIGNAL = 0,   701     SIGEV_SIGNAL = 0,
702     SIGEV_NONE = 1,   702     SIGEV_NONE = 1,
703     SIGEV_THREAD = 2,   703     SIGEV_THREAD = 2,
704     SIGEV_THREAD_ID = 4   704     SIGEV_THREAD_ID = 4
705 } ;   705 } ;
706 typedef void (*__sighandler_t)(int  );   706 typedef void (*__sighandler_t)(int  );
707 typedef void (*sig_t)(int  );   707 typedef void (*sig_t)(int  );
708 union __anonunion___sigaction_handler_51 {   708 union __anonunion___sigaction_handler_51 {
709    void (*sa_handler)(int  ) ;   709    void (*sa_handler)(int  ) ;
710    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;   710    void (*sa_sigaction)(int  , siginfo_t * , void * ) ;
711 };   711 };
712 struct sigaction {   712 struct sigaction {
713    union __anonunion___sigaction_handler_51 __sigaction_handler ;   713    union __anonunion___sigaction_handler_51 __sigaction_handler ;
714    __sigset_t sa_mask ;   714    __sigset_t sa_mask ;
715    int sa_flags ;   715    int sa_flags ;
716    void (*sa_restorer)(void) ;   716    void (*sa_restorer)(void) ;
717 };   717 };
718 struct sigvec {   718 struct sigvec {
719    void (*sv_handler)(int  ) ;   719    void (*sv_handler)(int  ) ;
720    int sv_mask ;   720    int sv_mask ;
721    int sv_flags ;   721    int sv_flags ;
722 };   722 };
723 typedef signed char __s8;   723 typedef signed char __s8;
724 typedef unsigned char __u8;   724 typedef unsigned char __u8;
725 typedef short __s16;   725 typedef short __s16;
726 typedef unsigned short __u16;   726 typedef unsigned short __u16;
727 typedef int __s32;   727 typedef int __s32;
728 typedef unsigned int __u32;   728 typedef unsigned int __u32;
729 typedef long long __s64;   729 typedef long long __s64;
730 typedef unsigned long long __u64;   730 typedef unsigned long long __u64;
731 typedef unsigned short umode_t;   731 typedef unsigned short umode_t;
732 struct __anonstruct___kernel_fd_set_52 {   732 struct __anonstruct___kernel_fd_set_52 {
733    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;   733    unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ;
734 };   734 };
735 typedef struct __anonstruct___kernel_fd_set_52 __kernel_fd_set;   735 typedef struct __anonstruct___kernel_fd_set_52 __kernel_fd_set;
736 typedef void (*__kernel_sighandler_t)(int  );   736 typedef void (*__kernel_sighandler_t)(int  );
737 typedef int __kernel_key_t;   737 typedef int __kernel_key_t;
738 typedef int __kernel_mqd_t;   738 typedef int __kernel_mqd_t;
739 typedef unsigned long __kernel_ino_t;   739 typedef unsigned long __kernel_ino_t;
740 typedef unsigned short __kernel_mode_t;   740 typedef unsigned short __kernel_mode_t;
741 typedef unsigned short __kernel_nlink_t;   741 typedef unsigned short __kernel_nlink_t;
742 typedef long __kernel_off_t;   742 typedef long __kernel_off_t;
743 typedef int __kernel_pid_t;   743 typedef int __kernel_pid_t;
744 typedef unsigned short __kernel_ipc_pid_t;   744 typedef unsigned short __kernel_ipc_pid_t;
745 typedef unsigned short __kernel_uid_t;   745 typedef unsigned short __kernel_uid_t;
746 typedef unsigned short __kernel_gid_t;   746 typedef unsigned short __kernel_gid_t;
747 typedef unsigned int __kernel_size_t;   747 typedef unsigned int __kernel_size_t;
748 typedef int __kernel_ssize_t;   748 typedef int __kernel_ssize_t;
749 typedef int __kernel_ptrdiff_t;   749 typedef int __kernel_ptrdiff_t;
750 typedef long __kernel_time_t;   750 typedef long __kernel_time_t;
751 typedef long __kernel_suseconds_t;   751 typedef long __kernel_suseconds_t;
752 typedef long __kernel_clock_t;   752 typedef long __kernel_clock_t;
753 typedef int __kernel_timer_t;   753 typedef int __kernel_timer_t;
754 typedef int __kernel_clockid_t;   754 typedef int __kernel_clockid_t;
755 typedef int __kernel_daddr_t;   755 typedef int __kernel_daddr_t;
756 typedef char *__kernel_caddr_t;   756 typedef char *__kernel_caddr_t;
757 typedef unsigned short __kernel_uid16_t;   757 typedef unsigned short __kernel_uid16_t;
758 typedef unsigned short __kernel_gid16_t;   758 typedef unsigned short __kernel_gid16_t;
759 typedef unsigned int __kernel_uid32_t;   759 typedef unsigned int __kernel_uid32_t;
760 typedef unsigned int __kernel_gid32_t;   760 typedef unsigned int __kernel_gid32_t;
761 typedef unsigned short __kernel_old_uid_t;   761 typedef unsigned short __kernel_old_uid_t;
762 typedef unsigned short __kernel_old_gid_t;   762 typedef unsigned short __kernel_old_gid_t;
763 typedef unsigned short __kernel_old_dev_t;   763 typedef unsigned short __kernel_old_dev_t;
764 typedef long long __kernel_loff_t;   764 typedef long long __kernel_loff_t;
765 struct __anonstruct___kernel_fsid_t_53 {   765 struct __anonstruct___kernel_fsid_t_53 {
766    int val[2] ;   766    int val[2] ;
767 };   767 };
768 typedef struct __anonstruct___kernel_fsid_t_53 __kernel_fsid_t;   768 typedef struct __anonstruct___kernel_fsid_t_53 __kernel_fsid_t;
769 typedef __u16 __le16;   769 typedef __u16 __le16;
770 typedef __u16 __be16;   770 typedef __u16 __be16;
771 typedef __u32 __le32;   771 typedef __u32 __le32;
772 typedef __u32 __be32;   772 typedef __u32 __be32;
773 typedef __u64 __le64;   773 typedef __u64 __le64;
774 typedef __u64 __be64;   774 typedef __u64 __be64;
775 typedef __u16 __sum16;   775 typedef __u16 __sum16;
776 typedef __u32 __wsum;   776 typedef __u32 __wsum;
777 struct _fpx_sw_bytes {   777 struct _fpx_sw_bytes {
778    __u32 magic1 ;   778    __u32 magic1 ;
779    __u32 extended_size ;   779    __u32 extended_size ;
780    __u64 xstate_bv ;   780    __u64 xstate_bv ;
781    __u32 xstate_size ;   781    __u32 xstate_size ;
782    __u32 padding[7] ;   782    __u32 padding[7] ;
783 };   783 };
784 struct _fpreg {   784 struct _fpreg {
785    unsigned short significand[4] ;   785    unsigned short significand[4] ;
786    unsigned short exponent ;   786    unsigned short exponent ;
787 };   787 };
788 struct _fpxreg {   788 struct _fpxreg {
789    unsigned short significand[4] ;   789    unsigned short significand[4] ;
790    unsigned short exponent ;   790    unsigned short exponent ;
791    unsigned short padding[3] ;   791    unsigned short padding[3] ;
792 };   792 };
793 struct _xmmreg {   793 struct _xmmreg {
794    unsigned long element[4] ;   794    unsigned long element[4] ;
795 };   795 };
796 union __anonunion____missing_field_name_54 {   796 union __anonunion____missing_field_name_54 {
797    unsigned long padding2[12] ;   797    unsigned long padding2[12] ;
798    struct _fpx_sw_bytes sw_reserved ;   798    struct _fpx_sw_bytes sw_reserved ;
799 };   799 };
800 struct _fpstate {   800 struct _fpstate {
801    unsigned long cw ;   801    unsigned long cw ;
802    unsigned long sw ;   802    unsigned long sw ;
803    unsigned long tag ;   803    unsigned long tag ;
804    unsigned long ipoff ;   804    unsigned long ipoff ;
805    unsigned long cssel ;   805    unsigned long cssel ;
806    unsigned long dataoff ;   806    unsigned long dataoff ;
807    unsigned long datasel ;   807    unsigned long datasel ;
808    struct _fpreg _st[8] ;   808    struct _fpreg _st[8] ;
809    unsigned short status ;   809    unsigned short status ;
810    unsigned short magic ;   810    unsigned short magic ;
811    unsigned long _fxsr_env[6] ;   811    unsigned long _fxsr_env[6] ;
812    unsigned long mxcsr ;   812    unsigned long mxcsr ;
813    unsigned long reserved ;   813    unsigned long reserved ;
814    struct _fpxreg _fxsr_st[8] ;   814    struct _fpxreg _fxsr_st[8] ;
815    struct _xmmreg _xmm[8] ;   815    struct _xmmreg _xmm[8] ;
816    unsigned long padding1[44] ;   816    unsigned long padding1[44] ;
817    union __anonunion____missing_field_name_54 __annonCompField2 ;   817    union __anonunion____missing_field_name_54 __annonCompField2 ;
818 };   818 };
819 struct sigcontext {   819 struct sigcontext {
820    unsigned short gs ;   820    unsigned short gs ;
821    unsigned short __gsh ;   821    unsigned short __gsh ;
822    unsigned short fs ;   822    unsigned short fs ;
823    unsigned short __fsh ;   823    unsigned short __fsh ;
824    unsigned short es ;   824    unsigned short es ;
825    unsigned short __esh ;   825    unsigned short __esh ;
826    unsigned short ds ;   826    unsigned short ds ;
827    unsigned short __dsh ;   827    unsigned short __dsh ;
828    unsigned long edi ;   828    unsigned long edi ;
829    unsigned long esi ;   829    unsigned long esi ;
830    unsigned long ebp ;   830    unsigned long ebp ;
831    unsigned long esp ;   831    unsigned long esp ;
832    unsigned long ebx ;   832    unsigned long ebx ;
833    unsigned long edx ;   833    unsigned long edx ;
834    unsigned long ecx ;   834    unsigned long ecx ;
835    unsigned long eax ;   835    unsigned long eax ;
836    unsigned long trapno ;   836    unsigned long trapno ;
837    unsigned long err ;   837    unsigned long err ;
838    unsigned long eip ;   838    unsigned long eip ;
839    unsigned short cs ;   839    unsigned short cs ;
840    unsigned short __csh ;   840    unsigned short __csh ;
841    unsigned long eflags ;   841    unsigned long eflags ;
842    unsigned long esp_at_signal ;   842    unsigned long esp_at_signal ;
843    unsigned short ss ;   843    unsigned short ss ;
844    unsigned short __ssh ;   844    unsigned short __ssh ;
845    struct _fpstate *fpstate ;   845    struct _fpstate *fpstate ;
846    unsigned long oldmask ;   846    unsigned long oldmask ;
847    unsigned long cr2 ;   847    unsigned long cr2 ;
848 };   848 };
849 struct _xsave_hdr {   849 struct _xsave_hdr {
850    __u64 xstate_bv ;   850    __u64 xstate_bv ;
851    __u64 reserved1[2] ;   851    __u64 reserved1[2] ;
852    __u64 reserved2[5] ;   852    __u64 reserved2[5] ;
853 };   853 };
854 struct _ymmh_state {   854 struct _ymmh_state {
855    __u32 ymmh_space[64] ;   855    __u32 ymmh_space[64] ;
856 };   856 };
857 struct _xstate {   857 struct _xstate {
858    struct _fpstate fpstate ;   858    struct _fpstate fpstate ;
859    struct _xsave_hdr xstate_hdr ;   859    struct _xsave_hdr xstate_hdr ;
860    struct _ymmh_state ymmh ;   860    struct _ymmh_state ymmh ;
861 };   861 };
862 struct sigstack {   862 struct sigstack {
863    void *ss_sp ;   863    void *ss_sp ;
864    int ss_onstack ;   864    int ss_onstack ;
865 };   865 };
866 enum __anonenum_55 {   866 enum __anonenum_55 {
867     SS_ONSTACK = 1,   867     SS_ONSTACK = 1,
868     SS_DISABLE = 2   868     SS_DISABLE = 2
869 } ;   869 } ;
870 struct sigaltstack {   870 struct sigaltstack {
871    void *ss_sp ;   871    void *ss_sp ;
872    int ss_flags ;   872    int ss_flags ;
873    size_t ss_size ;   873    size_t ss_size ;
874 };   874 };
875 typedef struct sigaltstack stack_t;   875 typedef struct sigaltstack stack_t;
876 typedef int greg_t;   876 typedef int greg_t;
877 typedef greg_t gregset_t[19];   877 typedef greg_t gregset_t[19];
878 struct _libc_fpreg {   878 struct _libc_fpreg {
879    unsigned short significand[4] ;   879    unsigned short significand[4] ;
880    unsigned short exponent ;   880    unsigned short exponent ;
881 };   881 };
882 struct _libc_fpstate {   882 struct _libc_fpstate {
883    unsigned long cw ;   883    unsigned long cw ;
884    unsigned long sw ;   884    unsigned long sw ;
885    unsigned long tag ;   885    unsigned long tag ;
886    unsigned long ipoff ;   886    unsigned long ipoff ;
887    unsigned long cssel ;   887    unsigned long cssel ;
888    unsigned long dataoff ;   888    unsigned long dataoff ;
889    unsigned long datasel ;   889    unsigned long datasel ;
890    struct _libc_fpreg _st[8] ;   890    struct _libc_fpreg _st[8] ;
891    unsigned long status ;   891    unsigned long status ;
892 };   892 };
893 typedef struct _libc_fpstate *fpregset_t;   893 typedef struct _libc_fpstate *fpregset_t;
894 struct __anonstruct_mcontext_t_56 {   894 struct __anonstruct_mcontext_t_56 {
895    gregset_t gregs ;   895    gregset_t gregs ;
896    fpregset_t fpregs ;   896    fpregset_t fpregs ;
897    unsigned long oldmask ;   897    unsigned long oldmask ;
898    unsigned long cr2 ;   898    unsigned long cr2 ;
899 };   899 };
900 typedef struct __anonstruct_mcontext_t_56 mcontext_t;   900 typedef struct __anonstruct_mcontext_t_56 mcontext_t;
901 struct ucontext {   901 struct ucontext {
902    unsigned long uc_flags ;   902    unsigned long uc_flags ;
903    struct ucontext *uc_link ;   903    struct ucontext *uc_link ;
904    stack_t uc_stack ;   904    stack_t uc_stack ;
905    mcontext_t uc_mcontext ;   905    mcontext_t uc_mcontext ;
906    __sigset_t uc_sigmask ;   906    __sigset_t uc_sigmask ;
907    struct _libc_fpstate __fpregs_mem ;   907    struct _libc_fpstate __fpregs_mem ;
908 };   908 };
909 typedef struct ucontext ucontext_t;   909 typedef struct ucontext ucontext_t;
910 struct tm {   910 struct tm {
911    int tm_sec ;   911    int tm_sec ;
912    int tm_min ;   912    int tm_min ;
913    int tm_hour ;   913    int tm_hour ;
914    int tm_mday ;   914    int tm_mday ;
915    int tm_mon ;   915    int tm_mon ;
916    int tm_year ;   916    int tm_year ;
917    int tm_wday ;   917    int tm_wday ;
918    int tm_yday ;   918    int tm_yday ;
919    int tm_isdst ;   919    int tm_isdst ;
920    long tm_gmtoff ;   920    long tm_gmtoff ;
921    char const   *tm_zone ;   921    char const   *tm_zone ;
922 };   922 };
923 struct itimerspec {   923 struct itimerspec {
924    struct timespec it_interval ;   924    struct timespec it_interval ;
925    struct timespec it_value ;   925    struct timespec it_value ;
926 };   926 };
927 struct sigevent;   927 struct sigevent;
928 struct __locale_data;   928 struct __locale_data;
929 struct __locale_struct {   929 struct __locale_struct {
930    struct __locale_data *__locales[13] ;   930    struct __locale_data *__locales[13] ;
931    unsigned short const   *__ctype_b ;   931    unsigned short const   *__ctype_b ;
932    int const   *__ctype_tolower ;   932    int const   *__ctype_tolower ;
933    int const   *__ctype_toupper ;   933    int const   *__ctype_toupper ;
934    char const   *__names[13] ;   934    char const   *__names[13] ;
935 };   935 };
936 typedef struct __locale_struct *__locale_t;   936 typedef struct __locale_struct *__locale_t;
937 typedef __locale_t locale_t;   937 typedef __locale_t locale_t;
938 enum __anonenum_GBookmarkFileError_57 {   938 enum __anonenum_GBookmarkFileError_57 {
939     G_BOOKMARK_FILE_ERROR_INVALID_URI = 0,   939     G_BOOKMARK_FILE_ERROR_INVALID_URI = 0,
940     G_BOOKMARK_FILE_ERROR_INVALID_VALUE = 1,   940     G_BOOKMARK_FILE_ERROR_INVALID_VALUE = 1,
941     G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED = 2,   941     G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED = 2,
942     G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND = 3,   942     G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND = 3,
943     G_BOOKMARK_FILE_ERROR_READ = 4,   943     G_BOOKMARK_FILE_ERROR_READ = 4,
944     G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING = 5,   944     G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING = 5,
945     G_BOOKMARK_FILE_ERROR_WRITE = 6,   945     G_BOOKMARK_FILE_ERROR_WRITE = 6,
946     G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND = 7   946     G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND = 7
947 } ;   947 } ;
948 typedef enum __anonenum_GBookmarkFileError_57 GBookmarkFileError;   948 typedef enum __anonenum_GBookmarkFileError_57 GBookmarkFileError;
949 struct _GBookmarkFile;   949 struct _GBookmarkFile;
950 typedef struct _GBookmarkFile GBookmarkFile;   950 typedef struct _GBookmarkFile GBookmarkFile;
951 enum __anonenum_GSliceConfig_58 {   951 enum __anonenum_GSliceConfig_58 {
952     G_SLICE_CONFIG_ALWAYS_MALLOC = 1,   952     G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
953     G_SLICE_CONFIG_BYPASS_MAGAZINES = 2,   953     G_SLICE_CONFIG_BYPASS_MAGAZINES = 2,
954     G_SLICE_CONFIG_WORKING_SET_MSECS = 3,   954     G_SLICE_CONFIG_WORKING_SET_MSECS = 3,
955     G_SLICE_CONFIG_COLOR_INCREMENT = 4,   955     G_SLICE_CONFIG_COLOR_INCREMENT = 4,
956     G_SLICE_CONFIG_CHUNK_SIZES = 5,   956     G_SLICE_CONFIG_CHUNK_SIZES = 5,
957     G_SLICE_CONFIG_CONTENTION_COUNTER = 6   957     G_SLICE_CONFIG_CONTENTION_COUNTER = 6
958 } ;   958 } ;
959 typedef enum __anonenum_GSliceConfig_58 GSliceConfig;   959 typedef enum __anonenum_GSliceConfig_58 GSliceConfig;
960 struct _GMemVTable;   960 struct _GMemVTable;
961 typedef struct _GMemVTable GMemVTable;   961 typedef struct _GMemVTable GMemVTable;
962 struct _GMemVTable {   962 struct _GMemVTable {
963    gpointer (*malloc)(gsize n_bytes ) ;   963    gpointer (*malloc)(gsize n_bytes ) ;
964    gpointer (*realloc)(gpointer mem , gsize n_bytes ) ;   964    gpointer (*realloc)(gpointer mem , gsize n_bytes ) ;
965    void (*free)(gpointer mem ) ;   965    void (*free)(gpointer mem ) ;
966    gpointer (*calloc)(gsize n_blocks , gsize n_block_bytes ) ;   966    gpointer (*calloc)(gsize n_blocks , gsize n_block_bytes ) ;
967    gpointer (*try_malloc)(gsize n_bytes ) ;   967    gpointer (*try_malloc)(gsize n_bytes ) ;
968    gpointer (*try_realloc)(gpointer mem , gsize n_bytes ) ;   968    gpointer (*try_realloc)(gpointer mem , gsize n_bytes ) ;
969 };   969 };
970 struct _GAllocator;   970 struct _GAllocator;
971 typedef struct _GAllocator GAllocator;   971 typedef struct _GAllocator GAllocator;
972 struct _GMemChunk;   972 struct _GMemChunk;
973 typedef struct _GMemChunk GMemChunk;   973 typedef struct _GMemChunk GMemChunk;
974 struct _GList;   974 struct _GList;
975 typedef struct _GList GList;   975 typedef struct _GList GList;
976 struct _GList {   976 struct _GList {
977    gpointer data ;   977    gpointer data ;
978    GList *next ;   978    GList *next ;
979    GList *prev ;   979    GList *prev ;
980 };   980 };
981 struct _GCache;   981 struct _GCache;
982 typedef struct _GCache GCache;   982 typedef struct _GCache GCache;
983 typedef gpointer (*GCacheNewFunc)(gpointer key );   983 typedef gpointer (*GCacheNewFunc)(gpointer key );
984 typedef gpointer (*GCacheDupFunc)(gpointer value );   984 typedef gpointer (*GCacheDupFunc)(gpointer value );
985 typedef void (*GCacheDestroyFunc)(gpointer value );   985 typedef void (*GCacheDestroyFunc)(gpointer value );
986 enum __anonenum_GChecksumType_59 {   986 enum __anonenum_GChecksumType_59 {
987     G_CHECKSUM_MD5 = 0,   987     G_CHECKSUM_MD5 = 0,
988     G_CHECKSUM_SHA1 = 1,   988     G_CHECKSUM_SHA1 = 1,
989     G_CHECKSUM_SHA256 = 2   989     G_CHECKSUM_SHA256 = 2
990 } ;   990 } ;
991 typedef enum __anonenum_GChecksumType_59 GChecksumType;   991 typedef enum __anonenum_GChecksumType_59 GChecksumType;
992 struct _GChecksum;   992 struct _GChecksum;
993 typedef struct _GChecksum GChecksum;   993 typedef struct _GChecksum GChecksum;
994 struct _GCompletion;   994 struct _GCompletion;
995 typedef struct _GCompletion GCompletion;   995 typedef struct _GCompletion GCompletion;
996 typedef gchar *(*GCompletionFunc)(gpointer  );   996 typedef gchar *(*GCompletionFunc)(gpointer  );
997 typedef gint (*GCompletionStrncmpFunc)(gchar const   *s1 , gchar const   *s2 ,   997 typedef gint (*GCompletionStrncmpFunc)(gchar const   *s1 , gchar const   *s2 ,
998                                        gsize n );   998                                        gsize n );
999 struct _GCompletion {   999 struct _GCompletion {
1000    GList *items ;   1000    GList *items ;
1001    gchar *(*func)(gpointer  ) ;   1001    gchar *(*func)(gpointer  ) ;
1002    gchar *prefix ;   1002    gchar *prefix ;
1003    GList *cache ;   1003    GList *cache ;
1004    gint (*strncmp_func)(gchar const   *s1 , gchar const   *s2 , gsize n ) ;   1004    gint (*strncmp_func)(gchar const   *s1 , gchar const   *s2 , gsize n ) ;
1005 };   1005 };
1006 enum __anonenum_GConvertError_60 {   1006 enum __anonenum_GConvertError_60 {
1007     G_CONVERT_ERROR_NO_CONVERSION = 0,   1007     G_CONVERT_ERROR_NO_CONVERSION = 0,
1008     G_CONVERT_ERROR_ILLEGAL_SEQUENCE = 1,   1008     G_CONVERT_ERROR_ILLEGAL_SEQUENCE = 1,
1009     G_CONVERT_ERROR_FAILED = 2,   1009     G_CONVERT_ERROR_FAILED = 2,
1010     G_CONVERT_ERROR_PARTIAL_INPUT = 3,   1010     G_CONVERT_ERROR_PARTIAL_INPUT = 3,
1011     G_CONVERT_ERROR_BAD_URI = 4,   1011     G_CONVERT_ERROR_BAD_URI = 4,
1012     G_CONVERT_ERROR_NOT_ABSOLUTE_PATH = 5   1012     G_CONVERT_ERROR_NOT_ABSOLUTE_PATH = 5
1013 } ;   1013 } ;
1014 typedef enum __anonenum_GConvertError_60 GConvertError;   1014 typedef enum __anonenum_GConvertError_60 GConvertError;
1015 struct _GIConv;   1015 struct _GIConv;
1016 typedef struct _GIConv *GIConv;   1016 typedef struct _GIConv *GIConv;
1017 struct _GData;   1017 struct _GData;
1018 typedef struct _GData GData;   1018 typedef struct _GData GData;
1019 typedef void (*GDataForeachFunc)(GQuark key_id , gpointer data ,   1019 typedef void (*GDataForeachFunc)(GQuark key_id , gpointer data ,
1020                                  gpointer user_data );   1020                                  gpointer user_data );
1021 typedef gint32 GTime;   1021 typedef gint32 GTime;
1022 typedef guint16 GDateYear;   1022 typedef guint16 GDateYear;
1023 typedef guint8 GDateDay;   1023 typedef guint8 GDateDay;
1024 struct _GDate;   1024 struct _GDate;
1025 typedef struct _GDate GDate;   1025 typedef struct _GDate GDate;
1026 enum __anonenum_GDateDMY_61 {   1026 enum __anonenum_GDateDMY_61 {
1027     G_DATE_DAY = 0,   1027     G_DATE_DAY = 0,
1028     G_DATE_MONTH = 1,   1028     G_DATE_MONTH = 1,
1029     G_DATE_YEAR = 2   1029     G_DATE_YEAR = 2
1030 } ;   1030 } ;
1031 typedef enum __anonenum_GDateDMY_61 GDateDMY;   1031 typedef enum __anonenum_GDateDMY_61 GDateDMY;
1032 enum __anonenum_GDateWeekday_62 {   1032 enum __anonenum_GDateWeekday_62 {
1033     G_DATE_BAD_WEEKDAY = 0,   1033     G_DATE_BAD_WEEKDAY = 0,
1034     G_DATE_MONDAY = 1,   1034     G_DATE_MONDAY = 1,
1035     G_DATE_TUESDAY = 2,   1035     G_DATE_TUESDAY = 2,
1036     G_DATE_WEDNESDAY = 3,   1036     G_DATE_WEDNESDAY = 3,
1037     G_DATE_THURSDAY = 4,   1037     G_DATE_THURSDAY = 4,
1038     G_DATE_FRIDAY = 5,   1038     G_DATE_FRIDAY = 5,
1039     G_DATE_SATURDAY = 6,   1039     G_DATE_SATURDAY = 6,
1040     G_DATE_SUNDAY = 7   1040     G_DATE_SUNDAY = 7
1041 } ;   1041 } ;
1042 typedef enum __anonenum_GDateWeekday_62 GDateWeekday;   1042 typedef enum __anonenum_GDateWeekday_62 GDateWeekday;
1043 enum __anonenum_GDateMonth_63 {   1043 enum __anonenum_GDateMonth_63 {
1044     G_DATE_BAD_MONTH = 0,   1044     G_DATE_BAD_MONTH = 0,
1045     G_DATE_JANUARY = 1,   1045     G_DATE_JANUARY = 1,
1046     G_DATE_FEBRUARY = 2,   1046     G_DATE_FEBRUARY = 2,
1047     G_DATE_MARCH = 3,   1047     G_DATE_MARCH = 3,
1048     G_DATE_APRIL = 4,   1048     G_DATE_APRIL = 4,
1049     G_DATE_MAY = 5,   1049     G_DATE_MAY = 5,
1050     G_DATE_JUNE = 6,   1050     G_DATE_JUNE = 6,
1051     G_DATE_JULY = 7,   1051     G_DATE_JULY = 7,
1052     G_DATE_AUGUST = 8,   1052     G_DATE_AUGUST = 8,
1053     G_DATE_SEPTEMBER = 9,   1053     G_DATE_SEPTEMBER = 9,
1054     G_DATE_OCTOBER = 10,   1054     G_DATE_OCTOBER = 10,
1055     G_DATE_NOVEMBER = 11,   1055     G_DATE_NOVEMBER = 11,
1056     G_DATE_DECEMBER = 12   1056     G_DATE_DECEMBER = 12
1057 } ;   1057 } ;
1058 typedef enum __anonenum_GDateMonth_63 GDateMonth;   1058 typedef enum __anonenum_GDateMonth_63 GDateMonth;
1059 struct _GDate {   1059 struct _GDate {
1060    guint julian_days : 32 ;   1060    guint julian_days : 32 ;
1061    guint julian : 1 ;   1061    guint julian : 1 ;
1062    guint dmy : 1 ;   1062    guint dmy : 1 ;
1063    guint day : 6 ;   1063    guint day : 6 ;
1064    guint month : 4 ;   1064    guint month : 4 ;
1065    guint year : 16 ;   1065    guint year : 16 ;
1066 };   1066 };
1067 struct _GDir;   1067 struct _GDir;
1068 typedef struct _GDir GDir;   1068 typedef struct _GDir GDir;
1069 enum __anonenum_GFileError_64 {   1069 enum __anonenum_GFileError_64 {
1070     G_FILE_ERROR_EXIST = 0,   1070     G_FILE_ERROR_EXIST = 0,
1071     G_FILE_ERROR_ISDIR = 1,   1071     G_FILE_ERROR_ISDIR = 1,
1072     G_FILE_ERROR_ACCES = 2,   1072     G_FILE_ERROR_ACCES = 2,
1073     G_FILE_ERROR_NAMETOOLONG = 3,   1073     G_FILE_ERROR_NAMETOOLONG = 3,
1074     G_FILE_ERROR_NOENT = 4,   1074     G_FILE_ERROR_NOENT = 4,
1075     G_FILE_ERROR_NOTDIR = 5,   1075     G_FILE_ERROR_NOTDIR = 5,
1076     G_FILE_ERROR_NXIO = 6,   1076     G_FILE_ERROR_NXIO = 6,
1077     G_FILE_ERROR_NODEV = 7,   1077     G_FILE_ERROR_NODEV = 7,
1078     G_FILE_ERROR_ROFS = 8,   1078     G_FILE_ERROR_ROFS = 8,
1079     G_FILE_ERROR_TXTBSY = 9,   1079     G_FILE_ERROR_TXTBSY = 9,
1080     G_FILE_ERROR_FAULT = 10,   1080     G_FILE_ERROR_FAULT = 10,
1081     G_FILE_ERROR_LOOP = 11,   1081     G_FILE_ERROR_LOOP = 11,
1082     G_FILE_ERROR_NOSPC = 12,   1082     G_FILE_ERROR_NOSPC = 12,
1083     G_FILE_ERROR_NOMEM = 13,   1083     G_FILE_ERROR_NOMEM = 13,
1084     G_FILE_ERROR_MFILE = 14,   1084     G_FILE_ERROR_MFILE = 14,
1085     G_FILE_ERROR_NFILE = 15,   1085     G_FILE_ERROR_NFILE = 15,
1086     G_FILE_ERROR_BADF = 16,   1086     G_FILE_ERROR_BADF = 16,
1087     G_FILE_ERROR_INVAL = 17,   1087     G_FILE_ERROR_INVAL = 17,
1088     G_FILE_ERROR_PIPE = 18,   1088     G_FILE_ERROR_PIPE = 18,
1089     G_FILE_ERROR_AGAIN = 19,   1089     G_FILE_ERROR_AGAIN = 19,
1090     G_FILE_ERROR_INTR = 20,   1090     G_FILE_ERROR_INTR = 20,
1091     G_FILE_ERROR_IO = 21,   1091     G_FILE_ERROR_IO = 21,
1092     G_FILE_ERROR_PERM = 22,   1092     G_FILE_ERROR_PERM = 22,
1093     G_FILE_ERROR_NOSYS = 23,   1093     G_FILE_ERROR_NOSYS = 23,
1094     G_FILE_ERROR_FAILED = 24   1094     G_FILE_ERROR_FAILED = 24
1095 } ;   1095 } ;
1096 typedef enum __anonenum_GFileError_64 GFileError;   1096 typedef enum __anonenum_GFileError_64 GFileError;
1097 enum __anonenum_GFileTest_65 {   1097 enum __anonenum_GFileTest_65 {
1098     G_FILE_TEST_IS_REGULAR = 1,   1098     G_FILE_TEST_IS_REGULAR = 1,
1099     G_FILE_TEST_IS_SYMLINK = 2,   1099     G_FILE_TEST_IS_SYMLINK = 2,
1100     G_FILE_TEST_IS_DIR = 4,   1100     G_FILE_TEST_IS_DIR = 4,
1101     G_FILE_TEST_IS_EXECUTABLE = 8,   1101     G_FILE_TEST_IS_EXECUTABLE = 8,
1102     G_FILE_TEST_EXISTS = 16   1102     G_FILE_TEST_EXISTS = 16
1103 } ;   1103 } ;
1104 typedef enum __anonenum_GFileTest_65 GFileTest;   1104 typedef enum __anonenum_GFileTest_65 GFileTest;
1105 struct _GHashTable;   1105 struct _GHashTable;
1106 typedef struct _GHashTable GHashTable;   1106 typedef struct _GHashTable GHashTable;
1107 typedef gboolean (*GHRFunc)(gpointer key , gpointer value , gpointer user_data );   1107 typedef gboolean (*GHRFunc)(gpointer key , gpointer value , gpointer user_data );
1108 struct _GHashTableIter;   1108 struct _GHashTableIter;
1109 typedef struct _GHashTableIter GHashTableIter;   1109 typedef struct _GHashTableIter GHashTableIter;
1110 struct _GHashTableIter {   1110 struct _GHashTableIter {
1111    gpointer dummy1 ;   1111    gpointer dummy1 ;
1112    gpointer dummy2 ;   1112    gpointer dummy2 ;
1113    gpointer dummy3 ;   1113    gpointer dummy3 ;
1114    int dummy4 ;   1114    int dummy4 ;
1115    gboolean dummy5 ;   1115    gboolean dummy5 ;
1116    gpointer dummy6 ;   1116    gpointer dummy6 ;
1117 };   1117 };
1118 struct _GHook;   1118 struct _GHook;
1119 typedef struct _GHook GHook;   1119 typedef struct _GHook GHook;
1120 struct _GHookList;   1120 struct _GHookList;
1121 typedef struct _GHookList GHookList;   1121 typedef struct _GHookList GHookList;
1122 typedef gint (*GHookCompareFunc)(GHook *new_hook , GHook *sibling );   1122 typedef gint (*GHookCompareFunc)(GHook *new_hook , GHook *sibling );
1123 typedef gboolean (*GHookFindFunc)(GHook *hook , gpointer data );   1123 typedef gboolean (*GHookFindFunc)(GHook *hook , gpointer data );
1124 typedef void (*GHookMarshaller)(GHook *hook , gpointer marshal_data );   1124 typedef void (*GHookMarshaller)(GHook *hook , gpointer marshal_data );
1125 typedef gboolean (*GHookCheckMarshaller)(GHook *hook , gpointer marshal_data );   1125 typedef gboolean (*GHookCheckMarshaller)(GHook *hook , gpointer marshal_data );
1126 typedef void (*GHookFunc)(gpointer data );   1126 typedef void (*GHookFunc)(gpointer data );
1127 typedef gboolean (*GHookCheckFunc)(gpointer data );   1127 typedef gboolean (*GHookCheckFunc)(gpointer data );
1128 typedef void (*GHookFinalizeFunc)(GHookList *hook_list , GHook *hook );   1128 typedef void (*GHookFinalizeFunc)(GHookList *hook_list , GHook *hook );
1129 enum __anonenum_GHookFlagMask_66 {   1129 enum __anonenum_GHookFlagMask_66 {
1130     G_HOOK_FLAG_ACTIVE = 1,   1130     G_HOOK_FLAG_ACTIVE = 1,
1131     G_HOOK_FLAG_IN_CALL = 2,   1131     G_HOOK_FLAG_IN_CALL = 2,
1132     G_HOOK_FLAG_MASK = 15   1132     G_HOOK_FLAG_MASK = 15
1133 } ;   1133 } ;
1134 typedef enum __anonenum_GHookFlagMask_66 GHookFlagMask;   1134 typedef enum __anonenum_GHookFlagMask_66 GHookFlagMask;
1135 struct _GHookList {   1135 struct _GHookList {
1136    gulong seq_id ;   1136    gulong seq_id ;
1137    guint hook_size : 16 ;   1137    guint hook_size : 16 ;
1138    guint is_setup : 1 ;   1138    guint is_setup : 1 ;
1139    GHook *hooks ;   1139    GHook *hooks ;
1140    gpointer dummy3 ;   1140    gpointer dummy3 ;
1141    void (*finalize_hook)(GHookList *hook_list , GHook *hook ) ;   1141    void (*finalize_hook)(GHookList *hook_list , GHook *hook ) ;
1142    gpointer dummy[2] ;   1142    gpointer dummy[2] ;
1143 };   1143 };
1144 struct _GHook {   1144 struct _GHook {
1145    gpointer data ;   1145    gpointer data ;
1146    GHook *next ;   1146    GHook *next ;
1147    GHook *prev ;   1147    GHook *prev ;
1148    guint ref_count ;   1148    guint ref_count ;
1149    gulong hook_id ;   1149    gulong hook_id ;
1150    guint flags ;   1150    guint flags ;
1151    gpointer func ;   1151    gpointer func ;
1152    void (*destroy)(gpointer data ) ;   1152    void (*destroy)(gpointer data ) ;
1153 };   1153 };
1154 struct _GPollFD;   1154 struct _GPollFD;
1155 typedef struct _GPollFD GPollFD;   1155 typedef struct _GPollFD GPollFD;
1156 typedef gint (*GPollFunc)(GPollFD *ufds , guint nfsd , gint timeout_ );   1156 typedef gint (*GPollFunc)(GPollFD *ufds , guint nfsd , gint timeout_ );
1157 struct _GPollFD {   1157 struct _GPollFD {
1158    gint fd ;   1158    gint fd ;
1159    gushort events ;   1159    gushort events ;
1160    gushort revents ;   1160    gushort revents ;
1161 };   1161 };
1162 struct _GSList;   1162 struct _GSList;
1163 typedef struct _GSList GSList;   1163 typedef struct _GSList GSList;
1164 struct _GSList {   1164 struct _GSList {
1165    gpointer data ;   1165    gpointer data ;
1166    GSList *next ;   1166    GSList *next ;
1167 };   1167 };
1168 struct _GMainContext;   1168 struct _GMainContext;
1169 typedef struct _GMainContext GMainContext;   1169 typedef struct _GMainContext GMainContext;
1170 struct _GMainLoop;   1170 struct _GMainLoop;
1171 typedef struct _GMainLoop GMainLoop;   1171 typedef struct _GMainLoop GMainLoop;
1172 struct _GSource;   1172 struct _GSource;
1173 typedef struct _GSource GSource;   1173 typedef struct _GSource GSource;
1174 struct _GSourceCallbackFuncs;   1174 struct _GSourceCallbackFuncs;
1175 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;   1175 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
1176 struct _GSourceFuncs;   1176 struct _GSourceFuncs;
1177 typedef struct _GSourceFuncs GSourceFuncs;   1177 typedef struct _GSourceFuncs GSourceFuncs;
1178 typedef gboolean (*GSourceFunc)(gpointer data );   1178 typedef gboolean (*GSourceFunc)(gpointer data );
1179 typedef void (*GChildWatchFunc)(GPid pid , gint status , gpointer data );   1179 typedef void (*GChildWatchFunc)(GPid pid , gint status , gpointer data );
1180 struct _GSource {   1180 struct _GSource {
1181    gpointer callback_data ;   1181    gpointer callback_data ;
1182    GSourceCallbackFuncs *callback_funcs ;   1182    GSourceCallbackFuncs *callback_funcs ;
1183    GSourceFuncs *source_funcs ;   1183    GSourceFuncs *source_funcs ;
1184    guint ref_count ;   1184    guint ref_count ;
1185    GMainContext *context ;   1185    GMainContext *context ;
1186    gint priority ;   1186    gint priority ;
1187    guint flags ;   1187    guint flags ;
1188    guint source_id ;   1188    guint source_id ;
1189    GSList *poll_fds ;   1189    GSList *poll_fds ;
1190    GSource *prev ;   1190    GSource *prev ;
1191    GSource *next ;   1191    GSource *next ;
1192    gpointer reserved1 ;   1192    gpointer reserved1 ;
1193    gpointer reserved2 ;   1193    gpointer reserved2 ;
1194 };   1194 };
1195 struct _GSourceCallbackFuncs {   1195 struct _GSourceCallbackFuncs {
1196    void (*ref)(gpointer cb_data ) ;   1196    void (*ref)(gpointer cb_data ) ;
1197    void (*unref)(gpointer cb_data ) ;   1197    void (*unref)(gpointer cb_data ) ;
1198    void (*get)(gpointer cb_data , GSource *source , GSourceFunc *func ,   1198    void (*get)(gpointer cb_data , GSource *source , GSourceFunc *func ,
1199                gpointer *data ) ;   1199                gpointer *data ) ;
1200 };   1200 };
1201 typedef void (*GSourceDummyMarshal)(void);   1201 typedef void (*GSourceDummyMarshal)(void);
1202 struct _GSourceFuncs {   1202 struct _GSourceFuncs {
1203    gboolean (*prepare)(GSource *source , gint *timeout_ ) ;   1203    gboolean (*prepare)(GSource *source , gint *timeout_ ) ;
1204    gboolean (*check)(GSource *source ) ;   1204    gboolean (*check)(GSource *source ) ;
1205    gboolean (*dispatch)(GSource *source , gboolean (*callback)(gpointer data ) ,   1205    gboolean (*dispatch)(GSource *source , gboolean (*callback)(gpointer data ) ,
1206                         gpointer user_data ) ;   1206                         gpointer user_data ) ;
1207    void (*finalize)(GSource *source ) ;   1207    void (*finalize)(GSource *source ) ;
1208    gboolean (*closure_callback)(gpointer data ) ;   1208    gboolean (*closure_callback)(gpointer data ) ;
1209    void (*closure_marshal)(void) ;   1209    void (*closure_marshal)(void) ;
1210 };   1210 };
1211 typedef guint32 gunichar;   1211 typedef guint32 gunichar;
1212 typedef guint16 gunichar2;   1212 typedef guint16 gunichar2;
1213 enum __anonenum_GUnicodeType_67 {   1213 enum __anonenum_GUnicodeType_67 {
1214     G_UNICODE_CONTROL = 0,   1214     G_UNICODE_CONTROL = 0,
1215     G_UNICODE_FORMAT = 1,   1215     G_UNICODE_FORMAT = 1,
1216     G_UNICODE_UNASSIGNED = 2,   1216     G_UNICODE_UNASSIGNED = 2,
1217     G_UNICODE_PRIVATE_USE = 3,   1217     G_UNICODE_PRIVATE_USE = 3,
1218     G_UNICODE_SURROGATE = 4,   1218     G_UNICODE_SURROGATE = 4,
1219     G_UNICODE_LOWERCASE_LETTER = 5,   1219     G_UNICODE_LOWERCASE_LETTER = 5,
1220     G_UNICODE_MODIFIER_LETTER = 6,   1220     G_UNICODE_MODIFIER_LETTER = 6,
1221     G_UNICODE_OTHER_LETTER = 7,   1221     G_UNICODE_OTHER_LETTER = 7,
1222     G_UNICODE_TITLECASE_LETTER = 8,   1222     G_UNICODE_TITLECASE_LETTER = 8,
1223     G_UNICODE_UPPERCASE_LETTER = 9,   1223     G_UNICODE_UPPERCASE_LETTER = 9,
1224     G_UNICODE_COMBINING_MARK = 10,   1224     G_UNICODE_COMBINING_MARK = 10,
1225     G_UNICODE_ENCLOSING_MARK = 11,   1225     G_UNICODE_ENCLOSING_MARK = 11,
1226     G_UNICODE_NON_SPACING_MARK = 12,   1226     G_UNICODE_NON_SPACING_MARK = 12,
1227     G_UNICODE_DECIMAL_NUMBER = 13,   1227     G_UNICODE_DECIMAL_NUMBER = 13,
1228     G_UNICODE_LETTER_NUMBER = 14,   1228     G_UNICODE_LETTER_NUMBER = 14,
1229     G_UNICODE_OTHER_NUMBER = 15,   1229     G_UNICODE_OTHER_NUMBER = 15,
1230     G_UNICODE_CONNECT_PUNCTUATION = 16,   1230     G_UNICODE_CONNECT_PUNCTUATION = 16,
1231     G_UNICODE_DASH_PUNCTUATION = 17,   1231     G_UNICODE_DASH_PUNCTUATION = 17,
1232     G_UNICODE_CLOSE_PUNCTUATION = 18,   1232     G_UNICODE_CLOSE_PUNCTUATION = 18,
1233     G_UNICODE_FINAL_PUNCTUATION = 19,   1233     G_UNICODE_FINAL_PUNCTUATION = 19,
1234     G_UNICODE_INITIAL_PUNCTUATION = 20,   1234     G_UNICODE_INITIAL_PUNCTUATION = 20,
1235     G_UNICODE_OTHER_PUNCTUATION = 21,   1235     G_UNICODE_OTHER_PUNCTUATION = 21,
1236     G_UNICODE_OPEN_PUNCTUATION = 22,   1236     G_UNICODE_OPEN_PUNCTUATION = 22,
1237     G_UNICODE_CURRENCY_SYMBOL = 23,   1237     G_UNICODE_CURRENCY_SYMBOL = 23,
1238     G_UNICODE_MODIFIER_SYMBOL = 24,   1238     G_UNICODE_MODIFIER_SYMBOL = 24,
1239     G_UNICODE_MATH_SYMBOL = 25,   1239     G_UNICODE_MATH_SYMBOL = 25,
1240     G_UNICODE_OTHER_SYMBOL = 26,   1240     G_UNICODE_OTHER_SYMBOL = 26,
1241     G_UNICODE_LINE_SEPARATOR = 27,   1241     G_UNICODE_LINE_SEPARATOR = 27,
1242     G_UNICODE_PARAGRAPH_SEPARATOR = 28,   1242     G_UNICODE_PARAGRAPH_SEPARATOR = 28,
1243     G_UNICODE_SPACE_SEPARATOR = 29   1243     G_UNICODE_SPACE_SEPARATOR = 29
1244 } ;   1244 } ;
1245 typedef enum __anonenum_GUnicodeType_67 GUnicodeType;   1245 typedef enum __anonenum_GUnicodeType_67 GUnicodeType;
1246 enum __anonenum_GUnicodeBreakType_68 {   1246 enum __anonenum_GUnicodeBreakType_68 {
1247     G_UNICODE_BREAK_MANDATORY = 0,   1247     G_UNICODE_BREAK_MANDATORY = 0,
1248     G_UNICODE_BREAK_CARRIAGE_RETURN = 1,   1248     G_UNICODE_BREAK_CARRIAGE_RETURN = 1,
1249     G_UNICODE_BREAK_LINE_FEED = 2,   1249     G_UNICODE_BREAK_LINE_FEED = 2,
1250     G_UNICODE_BREAK_COMBINING_MARK = 3,   1250     G_UNICODE_BREAK_COMBINING_MARK = 3,
1251     G_UNICODE_BREAK_SURROGATE = 4,   1251     G_UNICODE_BREAK_SURROGATE = 4,
1252     G_UNICODE_BREAK_ZERO_WIDTH_SPACE = 5,   1252     G_UNICODE_BREAK_ZERO_WIDTH_SPACE = 5,
1253     G_UNICODE_BREAK_INSEPARABLE = 6,   1253     G_UNICODE_BREAK_INSEPARABLE = 6,
1254     G_UNICODE_BREAK_NON_BREAKING_GLUE = 7,   1254     G_UNICODE_BREAK_NON_BREAKING_GLUE = 7,
1255     G_UNICODE_BREAK_CONTINGENT = 8,   1255     G_UNICODE_BREAK_CONTINGENT = 8,
1256     G_UNICODE_BREAK_SPACE = 9,   1256     G_UNICODE_BREAK_SPACE = 9,
1257     G_UNICODE_BREAK_AFTER = 10,   1257     G_UNICODE_BREAK_AFTER = 10,
1258     G_UNICODE_BREAK_BEFORE = 11,   1258     G_UNICODE_BREAK_BEFORE = 11,
1259     G_UNICODE_BREAK_BEFORE_AND_AFTER = 12,   1259     G_UNICODE_BREAK_BEFORE_AND_AFTER = 12,
1260     G_UNICODE_BREAK_HYPHEN = 13,   1260     G_UNICODE_BREAK_HYPHEN = 13,
1261     G_UNICODE_BREAK_NON_STARTER = 14,   1261     G_UNICODE_BREAK_NON_STARTER = 14,
1262     G_UNICODE_BREAK_OPEN_PUNCTUATION = 15,   1262     G_UNICODE_BREAK_OPEN_PUNCTUATION = 15,
1263     G_UNICODE_BREAK_CLOSE_PUNCTUATION = 16,   1263     G_UNICODE_BREAK_CLOSE_PUNCTUATION = 16,
1264     G_UNICODE_BREAK_QUOTATION = 17,   1264     G_UNICODE_BREAK_QUOTATION = 17,
1265     G_UNICODE_BREAK_EXCLAMATION = 18,   1265     G_UNICODE_BREAK_EXCLAMATION = 18,
1266     G_UNICODE_BREAK_IDEOGRAPHIC = 19,   1266     G_UNICODE_BREAK_IDEOGRAPHIC = 19,
1267     G_UNICODE_BREAK_NUMERIC = 20,   1267     G_UNICODE_BREAK_NUMERIC = 20,
1268     G_UNICODE_BREAK_INFIX_SEPARATOR = 21,   1268     G_UNICODE_BREAK_INFIX_SEPARATOR = 21,
1269     G_UNICODE_BREAK_SYMBOL = 22,   1269     G_UNICODE_BREAK_SYMBOL = 22,
1270     G_UNICODE_BREAK_ALPHABETIC = 23,   1270     G_UNICODE_BREAK_ALPHABETIC = 23,
1271     G_UNICODE_BREAK_PREFIX = 24,   1271     G_UNICODE_BREAK_PREFIX = 24,
1272     G_UNICODE_BREAK_POSTFIX = 25,   1272     G_UNICODE_BREAK_POSTFIX = 25,
1273     G_UNICODE_BREAK_COMPLEX_CONTEXT = 26,   1273     G_UNICODE_BREAK_COMPLEX_CONTEXT = 26,
1274     G_UNICODE_BREAK_AMBIGUOUS = 27,   1274     G_UNICODE_BREAK_AMBIGUOUS = 27,
1275     G_UNICODE_BREAK_UNKNOWN = 28,   1275     G_UNICODE_BREAK_UNKNOWN = 28,
1276     G_UNICODE_BREAK_NEXT_LINE = 29,   1276     G_UNICODE_BREAK_NEXT_LINE = 29,
1277     G_UNICODE_BREAK_WORD_JOINER = 30,   1277     G_UNICODE_BREAK_WORD_JOINER = 30,
1278     G_UNICODE_BREAK_HANGUL_L_JAMO = 31,   1278     G_UNICODE_BREAK_HANGUL_L_JAMO = 31,
1279     G_UNICODE_BREAK_HANGUL_V_JAMO = 32,   1279     G_UNICODE_BREAK_HANGUL_V_JAMO = 32,
1280     G_UNICODE_BREAK_HANGUL_T_JAMO = 33,   1280     G_UNICODE_BREAK_HANGUL_T_JAMO = 33,
1281     G_UNICODE_BREAK_HANGUL_LV_SYLLABLE = 34,   1281     G_UNICODE_BREAK_HANGUL_LV_SYLLABLE = 34,
1282     G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE = 35   1282     G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE = 35
1283 } ;   1283 } ;
1284 typedef enum __anonenum_GUnicodeBreakType_68 GUnicodeBreakType;   1284 typedef enum __anonenum_GUnicodeBreakType_68 GUnicodeBreakType;
1285 enum __anonenum_GUnicodeScript_69 {   1285 enum __anonenum_GUnicodeScript_69 {
1286     G_UNICODE_SCRIPT_INVALID_CODE = -1,   1286     G_UNICODE_SCRIPT_INVALID_CODE = -1,
1287     G_UNICODE_SCRIPT_COMMON = 0,   1287     G_UNICODE_SCRIPT_COMMON = 0,
1288     G_UNICODE_SCRIPT_INHERITED = 1,   1288     G_UNICODE_SCRIPT_INHERITED = 1,
1289     G_UNICODE_SCRIPT_ARABIC = 2,   1289     G_UNICODE_SCRIPT_ARABIC = 2,
1290     G_UNICODE_SCRIPT_ARMENIAN = 3,   1290     G_UNICODE_SCRIPT_ARMENIAN = 3,
1291     G_UNICODE_SCRIPT_BENGALI = 4,   1291     G_UNICODE_SCRIPT_BENGALI = 4,
1292     G_UNICODE_SCRIPT_BOPOMOFO = 5,   1292     G_UNICODE_SCRIPT_BOPOMOFO = 5,
1293     G_UNICODE_SCRIPT_CHEROKEE = 6,   1293     G_UNICODE_SCRIPT_CHEROKEE = 6,
1294     G_UNICODE_SCRIPT_COPTIC = 7,   1294     G_UNICODE_SCRIPT_COPTIC = 7,
1295     G_UNICODE_SCRIPT_CYRILLIC = 8,   1295     G_UNICODE_SCRIPT_CYRILLIC = 8,
1296     G_UNICODE_SCRIPT_DESERET = 9,   1296     G_UNICODE_SCRIPT_DESERET = 9,
1297     G_UNICODE_SCRIPT_DEVANAGARI = 10,   1297     G_UNICODE_SCRIPT_DEVANAGARI = 10,
1298     G_UNICODE_SCRIPT_ETHIOPIC = 11,   1298     G_UNICODE_SCRIPT_ETHIOPIC = 11,
1299     G_UNICODE_SCRIPT_GEORGIAN = 12,   1299     G_UNICODE_SCRIPT_GEORGIAN = 12,
1300     G_UNICODE_SCRIPT_GOTHIC = 13,   1300     G_UNICODE_SCRIPT_GOTHIC = 13,
1301     G_UNICODE_SCRIPT_GREEK = 14,   1301     G_UNICODE_SCRIPT_GREEK = 14,
1302     G_UNICODE_SCRIPT_GUJARATI = 15,   1302     G_UNICODE_SCRIPT_GUJARATI = 15,
1303     G_UNICODE_SCRIPT_GURMUKHI = 16,   1303     G_UNICODE_SCRIPT_GURMUKHI = 16,
1304     G_UNICODE_SCRIPT_HAN = 17,   1304     G_UNICODE_SCRIPT_HAN = 17,
1305     G_UNICODE_SCRIPT_HANGUL = 18,   1305     G_UNICODE_SCRIPT_HANGUL = 18,
1306     G_UNICODE_SCRIPT_HEBREW = 19,   1306     G_UNICODE_SCRIPT_HEBREW = 19,
1307     G_UNICODE_SCRIPT_HIRAGANA = 20,   1307     G_UNICODE_SCRIPT_HIRAGANA = 20,
1308     G_UNICODE_SCRIPT_KANNADA = 21,   1308     G_UNICODE_SCRIPT_KANNADA = 21,
1309     G_UNICODE_SCRIPT_KATAKANA = 22,   1309     G_UNICODE_SCRIPT_KATAKANA = 22,
1310     G_UNICODE_SCRIPT_KHMER = 23,   1310     G_UNICODE_SCRIPT_KHMER = 23,
1311     G_UNICODE_SCRIPT_LAO = 24,   1311     G_UNICODE_SCRIPT_LAO = 24,
1312     G_UNICODE_SCRIPT_LATIN = 25,   1312     G_UNICODE_SCRIPT_LATIN = 25,
1313     G_UNICODE_SCRIPT_MALAYALAM = 26,   1313     G_UNICODE_SCRIPT_MALAYALAM = 26,
1314     G_UNICODE_SCRIPT_MONGOLIAN = 27,   1314     G_UNICODE_SCRIPT_MONGOLIAN = 27,
1315     G_UNICODE_SCRIPT_MYANMAR = 28,   1315     G_UNICODE_SCRIPT_MYANMAR = 28,
1316     G_UNICODE_SCRIPT_OGHAM = 29,   1316     G_UNICODE_SCRIPT_OGHAM = 29,
1317     G_UNICODE_SCRIPT_OLD_ITALIC = 30,   1317     G_UNICODE_SCRIPT_OLD_ITALIC = 30,
1318     G_UNICODE_SCRIPT_ORIYA = 31,   1318     G_UNICODE_SCRIPT_ORIYA = 31,
1319     G_UNICODE_SCRIPT_RUNIC = 32,   1319     G_UNICODE_SCRIPT_RUNIC = 32,
1320     G_UNICODE_SCRIPT_SINHALA = 33,   1320     G_UNICODE_SCRIPT_SINHALA = 33,
1321     G_UNICODE_SCRIPT_SYRIAC = 34,   1321     G_UNICODE_SCRIPT_SYRIAC = 34,
1322     G_UNICODE_SCRIPT_TAMIL = 35,   1322     G_UNICODE_SCRIPT_TAMIL = 35,
1323     G_UNICODE_SCRIPT_TELUGU = 36,   1323     G_UNICODE_SCRIPT_TELUGU = 36,
1324     G_UNICODE_SCRIPT_THAANA = 37,   1324     G_UNICODE_SCRIPT_THAANA = 37,
1325     G_UNICODE_SCRIPT_THAI = 38,   1325     G_UNICODE_SCRIPT_THAI = 38,
1326     G_UNICODE_SCRIPT_TIBETAN = 39,   1326     G_UNICODE_SCRIPT_TIBETAN = 39,
1327     G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL = 40,   1327     G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL = 40,
1328     G_UNICODE_SCRIPT_YI = 41,   1328     G_UNICODE_SCRIPT_YI = 41,
1329     G_UNICODE_SCRIPT_TAGALOG = 42,   1329     G_UNICODE_SCRIPT_TAGALOG = 42,
1330     G_UNICODE_SCRIPT_HANUNOO = 43,   1330     G_UNICODE_SCRIPT_HANUNOO = 43,
1331     G_UNICODE_SCRIPT_BUHID = 44,   1331     G_UNICODE_SCRIPT_BUHID = 44,
1332     G_UNICODE_SCRIPT_TAGBANWA = 45,   1332     G_UNICODE_SCRIPT_TAGBANWA = 45,
1333     G_UNICODE_SCRIPT_BRAILLE = 46,   1333     G_UNICODE_SCRIPT_BRAILLE = 46,
1334     G_UNICODE_SCRIPT_CYPRIOT = 47,   1334     G_UNICODE_SCRIPT_CYPRIOT = 47,
1335     G_UNICODE_SCRIPT_LIMBU = 48,   1335     G_UNICODE_SCRIPT_LIMBU = 48,
1336     G_UNICODE_SCRIPT_OSMANYA = 49,   1336     G_UNICODE_SCRIPT_OSMANYA = 49,
1337     G_UNICODE_SCRIPT_SHAVIAN = 50,   1337     G_UNICODE_SCRIPT_SHAVIAN = 50,
1338     G_UNICODE_SCRIPT_LINEAR_B = 51,   1338     G_UNICODE_SCRIPT_LINEAR_B = 51,
1339     G_UNICODE_SCRIPT_TAI_LE = 52,   1339     G_UNICODE_SCRIPT_TAI_LE = 52,
1340     G_UNICODE_SCRIPT_UGARITIC = 53,   1340     G_UNICODE_SCRIPT_UGARITIC = 53,
1341     G_UNICODE_SCRIPT_NEW_TAI_LUE = 54,   1341     G_UNICODE_SCRIPT_NEW_TAI_LUE = 54,
1342     G_UNICODE_SCRIPT_BUGINESE = 55,   1342     G_UNICODE_SCRIPT_BUGINESE = 55,
1343     G_UNICODE_SCRIPT_GLAGOLITIC = 56,   1343     G_UNICODE_SCRIPT_GLAGOLITIC = 56,
1344     G_UNICODE_SCRIPT_TIFINAGH = 57,   1344     G_UNICODE_SCRIPT_TIFINAGH = 57,
1345     G_UNICODE_SCRIPT_SYLOTI_NAGRI = 58,   1345     G_UNICODE_SCRIPT_SYLOTI_NAGRI = 58,
1346     G_UNICODE_SCRIPT_OLD_PERSIAN = 59,   1346     G_UNICODE_SCRIPT_OLD_PERSIAN = 59,
1347     G_UNICODE_SCRIPT_KHAROSHTHI = 60,   1347     G_UNICODE_SCRIPT_KHAROSHTHI = 60,
1348     G_UNICODE_SCRIPT_UNKNOWN = 61,   1348     G_UNICODE_SCRIPT_UNKNOWN = 61,
1349     G_UNICODE_SCRIPT_BALINESE = 62,   1349     G_UNICODE_SCRIPT_BALINESE = 62,
1350     G_UNICODE_SCRIPT_CUNEIFORM = 63,   1350     G_UNICODE_SCRIPT_CUNEIFORM = 63,
1351     G_UNICODE_SCRIPT_PHOENICIAN = 64,   1351     G_UNICODE_SCRIPT_PHOENICIAN = 64,
1352     G_UNICODE_SCRIPT_PHAGS_PA = 65,   1352     G_UNICODE_SCRIPT_PHAGS_PA = 65,
1353     G_UNICODE_SCRIPT_NKO = 66,   1353     G_UNICODE_SCRIPT_NKO = 66,
1354     G_UNICODE_SCRIPT_KAYAH_LI = 67,   1354     G_UNICODE_SCRIPT_KAYAH_LI = 67,
1355     G_UNICODE_SCRIPT_LEPCHA = 68,   1355     G_UNICODE_SCRIPT_LEPCHA = 68,
1356     G_UNICODE_SCRIPT_REJANG = 69,   1356     G_UNICODE_SCRIPT_REJANG = 69,
1357     G_UNICODE_SCRIPT_SUNDANESE = 70,   1357     G_UNICODE_SCRIPT_SUNDANESE = 70,
1358     G_UNICODE_SCRIPT_SAURASHTRA = 71,   1358     G_UNICODE_SCRIPT_SAURASHTRA = 71,
1359     G_UNICODE_SCRIPT_CHAM = 72,   1359     G_UNICODE_SCRIPT_CHAM = 72,
1360     G_UNICODE_SCRIPT_OL_CHIKI = 73,   1360     G_UNICODE_SCRIPT_OL_CHIKI = 73,
1361     G_UNICODE_SCRIPT_VAI = 74,   1361     G_UNICODE_SCRIPT_VAI = 74,
1362     G_UNICODE_SCRIPT_CARIAN = 75,   1362     G_UNICODE_SCRIPT_CARIAN = 75,
1363     G_UNICODE_SCRIPT_LYCIAN = 76,   1363     G_UNICODE_SCRIPT_LYCIAN = 76,
1364     G_UNICODE_SCRIPT_LYDIAN = 77   1364     G_UNICODE_SCRIPT_LYDIAN = 77
1365 } ;   1365 } ;
1366 typedef enum __anonenum_GUnicodeScript_69 GUnicodeScript;   1366 typedef enum __anonenum_GUnicodeScript_69 GUnicodeScript;
1367 enum __anonenum_GNormalizeMode_70 {   1367 enum __anonenum_GNormalizeMode_70 {
1368     G_NORMALIZE_DEFAULT = 0,   1368     G_NORMALIZE_DEFAULT = 0,
1369     G_NORMALIZE_NFD = 0,   1369     G_NORMALIZE_NFD = 0,
1370     G_NORMALIZE_DEFAULT_COMPOSE = 1,   1370     G_NORMALIZE_DEFAULT_COMPOSE = 1,
1371     G_NORMALIZE_NFC = 1,   1371     G_NORMALIZE_NFC = 1,
1372     G_NORMALIZE_ALL = 2,   1372     G_NORMALIZE_ALL = 2,
1373     G_NORMALIZE_NFKD = 2,   1373     G_NORMALIZE_NFKD = 2,
1374     G_NORMALIZE_ALL_COMPOSE = 3,   1374     G_NORMALIZE_ALL_COMPOSE = 3,
1375     G_NORMALIZE_NFKC = 3   1375     G_NORMALIZE_NFKC = 3
1376 } ;   1376 } ;
1377 typedef enum __anonenum_GNormalizeMode_70 GNormalizeMode;   1377 typedef enum __anonenum_GNormalizeMode_70 GNormalizeMode;
1378 struct _GString;   1378 struct _GString;
1379 typedef struct _GString GString;   1379 typedef struct _GString GString;
1380 struct _GStringChunk;   1380 struct _GStringChunk;
1381 typedef struct _GStringChunk GStringChunk;   1381 typedef struct _GStringChunk GStringChunk;
1382 struct _GString {   1382 struct _GString {
1383    gchar *str ;   1383    gchar *str ;
1384    gsize len ;   1384    gsize len ;
1385    gsize allocated_len ;   1385    gsize allocated_len ;
1386 };   1386 };
1387 struct _GIOChannel;   1387 struct _GIOChannel;
1388 typedef struct _GIOChannel GIOChannel;   1388 typedef struct _GIOChannel GIOChannel;
1389 struct _GIOFuncs;   1389 struct _GIOFuncs;
1390 typedef struct _GIOFuncs GIOFuncs;   1390 typedef struct _GIOFuncs GIOFuncs;
1391 enum __anonenum_GIOError_71 {   1391 enum __anonenum_GIOError_71 {
1392     G_IO_ERROR_NONE = 0,   1392     G_IO_ERROR_NONE = 0,
1393     G_IO_ERROR_AGAIN = 1,   1393     G_IO_ERROR_AGAIN = 1,
1394     G_IO_ERROR_INVAL = 2,   1394     G_IO_ERROR_INVAL = 2,
1395     G_IO_ERROR_UNKNOWN = 3   1395     G_IO_ERROR_UNKNOWN = 3
1396 } ;   1396 } ;
1397 typedef enum __anonenum_GIOError_71 GIOError;   1397 typedef enum __anonenum_GIOError_71 GIOError;
1398 enum __anonenum_GIOChannelError_72 {   1398 enum __anonenum_GIOChannelError_72 {
1399     G_IO_CHANNEL_ERROR_FBIG = 0,   1399     G_IO_CHANNEL_ERROR_FBIG = 0,
1400     G_IO_CHANNEL_ERROR_INVAL = 1,   1400     G_IO_CHANNEL_ERROR_INVAL = 1,
1401     G_IO_CHANNEL_ERROR_IO = 2,   1401     G_IO_CHANNEL_ERROR_IO = 2,
1402     G_IO_CHANNEL_ERROR_ISDIR = 3,   1402     G_IO_CHANNEL_ERROR_ISDIR = 3,
1403     G_IO_CHANNEL_ERROR_NOSPC = 4,   1403     G_IO_CHANNEL_ERROR_NOSPC = 4,
1404     G_IO_CHANNEL_ERROR_NXIO = 5,   1404     G_IO_CHANNEL_ERROR_NXIO = 5,
1405     G_IO_CHANNEL_ERROR_OVERFLOW = 6,   1405     G_IO_CHANNEL_ERROR_OVERFLOW = 6,
1406     G_IO_CHANNEL_ERROR_PIPE = 7,   1406     G_IO_CHANNEL_ERROR_PIPE = 7,
1407     G_IO_CHANNEL_ERROR_FAILED = 8   1407     G_IO_CHANNEL_ERROR_FAILED = 8
1408 } ;   1408 } ;
1409 typedef enum __anonenum_GIOChannelError_72 GIOChannelError;   1409 typedef enum __anonenum_GIOChannelError_72 GIOChannelError;
1410 enum __anonenum_GIOStatus_73 {   1410 enum __anonenum_GIOStatus_73 {
1411     G_IO_STATUS_ERROR = 0,   1411     G_IO_STATUS_ERROR = 0,
1412     G_IO_STATUS_NORMAL = 1,   1412     G_IO_STATUS_NORMAL = 1,
1413     G_IO_STATUS_EOF = 2,   1413     G_IO_STATUS_EOF = 2,
1414     G_IO_STATUS_AGAIN = 3   1414     G_IO_STATUS_AGAIN = 3
1415 } ;   1415 } ;
1416 typedef enum __anonenum_GIOStatus_73 GIOStatus;   1416 typedef enum __anonenum_GIOStatus_73 GIOStatus;
1417 enum __anonenum_GSeekType_74 {   1417 enum __anonenum_GSeekType_74 {
1418     G_SEEK_CUR = 0,   1418     G_SEEK_CUR = 0,
1419     G_SEEK_SET = 1,   1419     G_SEEK_SET = 1,
1420     G_SEEK_END = 2   1420     G_SEEK_END = 2
1421 } ;   1421 } ;
1422 typedef enum __anonenum_GSeekType_74 GSeekType;   1422 typedef enum __anonenum_GSeekType_74 GSeekType;
1423 enum __anonenum_GIOCondition_75 {   1423 enum __anonenum_GIOCondition_75 {
1424     G_IO_IN = 1,   1424     G_IO_IN = 1,
1425     G_IO_OUT = 4,   1425     G_IO_OUT = 4,
1426     G_IO_PRI = 2,   1426     G_IO_PRI = 2,
1427     G_IO_ERR = 8,   1427     G_IO_ERR = 8,
1428     G_IO_HUP = 16,   1428     G_IO_HUP = 16,
1429     G_IO_NVAL = 32   1429     G_IO_NVAL = 32
1430 } ;   1430 } ;
1431 typedef enum __anonenum_GIOCondition_75 GIOCondition;   1431 typedef enum __anonenum_GIOCondition_75 GIOCondition;
1432 enum __anonenum_GIOFlags_76 {   1432 enum __anonenum_GIOFlags_76 {
1433     G_IO_FLAG_APPEND = 1,   1433     G_IO_FLAG_APPEND = 1,
1434     G_IO_FLAG_NONBLOCK = 2,   1434     G_IO_FLAG_NONBLOCK = 2,
1435     G_IO_FLAG_IS_READABLE = 4,   1435     G_IO_FLAG_IS_READABLE = 4,
1436     G_IO_FLAG_IS_WRITEABLE = 8,   1436     G_IO_FLAG_IS_WRITEABLE = 8,
1437     G_IO_FLAG_IS_SEEKABLE = 16,   1437     G_IO_FLAG_IS_SEEKABLE = 16,
1438     G_IO_FLAG_MASK = 31,   1438     G_IO_FLAG_MASK = 31,
1439     G_IO_FLAG_GET_MASK = 31,   1439     G_IO_FLAG_GET_MASK = 31,
1440     G_IO_FLAG_SET_MASK = 3   1440     G_IO_FLAG_SET_MASK = 3
1441 } ;   1441 } ;
1442 typedef enum __anonenum_GIOFlags_76 GIOFlags;   1442 typedef enum __anonenum_GIOFlags_76 GIOFlags;
1443 struct _GIOChannel {   1443 struct _GIOChannel {
1444    gint ref_count ;   1444    gint ref_count ;
1445    GIOFuncs *funcs ;   1445    GIOFuncs *funcs ;
1446    gchar *encoding ;   1446    gchar *encoding ;
1447    GIConv read_cd ;   1447    GIConv read_cd ;
1448    GIConv write_cd ;   1448    GIConv write_cd ;
1449    gchar *line_term ;   1449    gchar *line_term ;
1450    guint line_term_len ;   1450    guint line_term_len ;
1451    gsize buf_size ;   1451    gsize buf_size ;
1452    GString *read_buf ;   1452    GString *read_buf ;
1453    GString *encoded_read_buf ;   1453    GString *encoded_read_buf ;
1454    GString *write_buf ;   1454    GString *write_buf ;
1455    gchar partial_write_buf[6] ;   1455    gchar partial_write_buf[6] ;
1456    guint use_buffer : 1 ;   1456    guint use_buffer : 1 ;
1457    guint do_encode : 1 ;   1457    guint do_encode : 1 ;
1458    guint close_on_unref : 1 ;   1458    guint close_on_unref : 1 ;
1459    guint is_readable : 1 ;   1459    guint is_readable : 1 ;
1460    guint is_writeable : 1 ;   1460    guint is_writeable : 1 ;
1461    guint is_seekable : 1 ;   1461    guint is_seekable : 1 ;
1462    gpointer reserved1 ;   1462    gpointer reserved1 ;
1463    gpointer reserved2 ;   1463    gpointer reserved2 ;
1464 };   1464 };
1465 typedef gboolean (*GIOFunc)(GIOChannel *source , GIOCondition condition ,   1465 typedef gboolean (*GIOFunc)(GIOChannel *source , GIOCondition condition ,
1466                             gpointer data );   1466                             gpointer data );
1467 struct _GIOFuncs {   1467 struct _GIOFuncs {
1468    GIOStatus (*io_read)(GIOChannel *channel , gchar *buf , gsize count ,   1468    GIOStatus (*io_read)(GIOChannel *channel , gchar *buf , gsize count ,
1469                         gsize *bytes_read , GError **err ) ;   1469                         gsize *bytes_read , GError **err ) ;
1470    GIOStatus (*io_write)(GIOChannel *channel , gchar const   *buf ,   1470    GIOStatus (*io_write)(GIOChannel *channel , gchar const   *buf ,
1471                          gsize count , gsize *bytes_written , GError **err ) ;   1471                          gsize count , gsize *bytes_written , GError **err ) ;
1472    GIOStatus (*io_seek)(GIOChannel *channel , gint64 offset , GSeekType type ,   1472    GIOStatus (*io_seek)(GIOChannel *channel , gint64 offset , GSeekType type ,
1473                         GError **err ) ;   1473                         GError **err ) ;
1474    GIOStatus (*io_close)(GIOChannel *channel , GError **err ) ;   1474    GIOStatus (*io_close)(GIOChannel *channel , GError **err ) ;
1475    GSource *(*io_create_watch)(GIOChannel *channel , GIOCondition condition ) ;   1475    GSource *(*io_create_watch)(GIOChannel *channel , GIOCondition condition ) ;
1476    void (*io_free)(GIOChannel *channel ) ;   1476    void (*io_free)(GIOChannel *channel ) ;
1477    GIOStatus (*io_set_flags)(GIOChannel *channel , GIOFlags flags ,   1477    GIOStatus (*io_set_flags)(GIOChannel *channel , GIOFlags flags ,
1478                              GError **err ) ;   1478                              GError **err ) ;
1479    GIOFlags (*io_get_flags)(GIOChannel *channel ) ;   1479    GIOFlags (*io_get_flags)(GIOChannel *channel ) ;
1480 };   1480 };
1481 enum __anonenum_GKeyFileError_77 {   1481 enum __anonenum_GKeyFileError_77 {
1482     G_KEY_FILE_ERROR_UNKNOWN_ENCODING = 0,   1482     G_KEY_FILE_ERROR_UNKNOWN_ENCODING = 0,
1483     G_KEY_FILE_ERROR_PARSE = 1,   1483     G_KEY_FILE_ERROR_PARSE = 1,
1484     G_KEY_FILE_ERROR_NOT_FOUND = 2,   1484     G_KEY_FILE_ERROR_NOT_FOUND = 2,
1485     G_KEY_FILE_ERROR_KEY_NOT_FOUND = 3,   1485     G_KEY_FILE_ERROR_KEY_NOT_FOUND = 3,
1486     G_KEY_FILE_ERROR_GROUP_NOT_FOUND = 4,   1486     G_KEY_FILE_ERROR_GROUP_NOT_FOUND = 4,
1487     G_KEY_FILE_ERROR_INVALID_VALUE = 5   1487     G_KEY_FILE_ERROR_INVALID_VALUE = 5
1488 } ;   1488 } ;
1489 typedef enum __anonenum_GKeyFileError_77 GKeyFileError;   1489 typedef enum __anonenum_GKeyFileError_77 GKeyFileError;
1490 struct _GKeyFile;   1490 struct _GKeyFile;
1491 typedef struct _GKeyFile GKeyFile;   1491 typedef struct _GKeyFile GKeyFile;
1492 enum __anonenum_GKeyFileFlags_78 {   1492 enum __anonenum_GKeyFileFlags_78 {
1493     G_KEY_FILE_NONE = 0,   1493     G_KEY_FILE_NONE = 0,
1494     G_KEY_FILE_KEEP_COMMENTS = 1,   1494     G_KEY_FILE_KEEP_COMMENTS = 1,
1495     G_KEY_FILE_KEEP_TRANSLATIONS = 2   1495     G_KEY_FILE_KEEP_TRANSLATIONS = 2
1496 } ;   1496 } ;
1497 typedef enum __anonenum_GKeyFileFlags_78 GKeyFileFlags;   1497 typedef enum __anonenum_GKeyFileFlags_78 GKeyFileFlags;
1498 struct _GMappedFile;   1498 struct _GMappedFile;
1499 typedef struct _GMappedFile GMappedFile;   1499 typedef struct _GMappedFile GMappedFile;
1500 enum __anonenum_GMarkupError_79 {   1500 enum __anonenum_GMarkupError_79 {
1501     G_MARKUP_ERROR_BAD_UTF8 = 0,   1501     G_MARKUP_ERROR_BAD_UTF8 = 0,
1502     G_MARKUP_ERROR_EMPTY = 1,   1502     G_MARKUP_ERROR_EMPTY = 1,
1503     G_MARKUP_ERROR_PARSE = 2,   1503     G_MARKUP_ERROR_PARSE = 2,
1504     G_MARKUP_ERROR_UNKNOWN_ELEMENT = 3,   1504     G_MARKUP_ERROR_UNKNOWN_ELEMENT = 3,
1505     G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE = 4,   1505     G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE = 4,
1506     G_MARKUP_ERROR_INVALID_CONTENT = 5,   1506     G_MARKUP_ERROR_INVALID_CONTENT = 5,
1507     G_MARKUP_ERROR_MISSING_ATTRIBUTE = 6   1507     G_MARKUP_ERROR_MISSING_ATTRIBUTE = 6
1508 } ;   1508 } ;
1509 typedef enum __anonenum_GMarkupError_79 GMarkupError;   1509 typedef enum __anonenum_GMarkupError_79 GMarkupError;
1510 enum __anonenum_GMarkupParseFlags_80 {   1510 enum __anonenum_GMarkupParseFlags_80 {
1511     G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1,   1511     G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1,
1512     G_MARKUP_TREAT_CDATA_AS_TEXT = 2,   1512     G_MARKUP_TREAT_CDATA_AS_TEXT = 2,
1513     G_MARKUP_PREFIX_ERROR_POSITION = 4   1513     G_MARKUP_PREFIX_ERROR_POSITION = 4
1514 } ;   1514 } ;
1515 typedef enum __anonenum_GMarkupParseFlags_80 GMarkupParseFlags;   1515 typedef enum __anonenum_GMarkupParseFlags_80 GMarkupParseFlags;
1516 struct _GMarkupParseContext;   1516 struct _GMarkupParseContext;
1517 typedef struct _GMarkupParseContext GMarkupParseContext;   1517 typedef struct _GMarkupParseContext GMarkupParseContext;
1518 struct _GMarkupParser;   1518 struct _GMarkupParser;
1519 typedef struct _GMarkupParser GMarkupParser;   1519 typedef struct _GMarkupParser GMarkupParser;
1520 struct _GMarkupParser {   1520 struct _GMarkupParser {
1521    void (*start_element)(GMarkupParseContext *context ,   1521    void (*start_element)(GMarkupParseContext *context ,
1522                          gchar const   *element_name ,   1522                          gchar const   *element_name ,
1523                          gchar const   **attribute_names ,   1523                          gchar const   **attribute_names ,
1524                          gchar const   **attribute_values , gpointer user_data ,   1524                          gchar const   **attribute_values , gpointer user_data ,
1525                          GError **error ) ;   1525                          GError **error ) ;
1526    void (*end_element)(GMarkupParseContext *context ,   1526    void (*end_element)(GMarkupParseContext *context ,
1527                        gchar const   *element_name , gpointer user_data ,   1527                        gchar const   *element_name , gpointer user_data ,
1528                        GError **error ) ;   1528                        GError **error ) ;
1529    void (*text)(GMarkupParseContext *context , gchar const   *text ,   1529    void (*text)(GMarkupParseContext *context , gchar const   *text ,
1530                 gsize text_len , gpointer user_data , GError **error ) ;   1530                 gsize text_len , gpointer user_data , GError **error ) ;
1531    void (*passthrough)(GMarkupParseContext *context ,   1531    void (*passthrough)(GMarkupParseContext *context ,
1532                        gchar const   *passthrough_text , gsize text_len ,   1532                        gchar const   *passthrough_text , gsize text_len ,
1533                        gpointer user_data , GError **error ) ;   1533                        gpointer user_data , GError **error ) ;
1534    void (*error)(GMarkupParseContext *context , GError *error ,   1534    void (*error)(GMarkupParseContext *context , GError *error ,
1535                  gpointer user_data ) ;   1535                  gpointer user_data ) ;
1536 };   1536 };
1537 enum __anonenum_GMarkupCollectType_81 {   1537 enum __anonenum_GMarkupCollectType_81 {
1538     G_MARKUP_COLLECT_INVALID = 0,   1538     G_MARKUP_COLLECT_INVALID = 0,
1539     G_MARKUP_COLLECT_STRING = 1,   1539     G_MARKUP_COLLECT_STRING = 1,
1540     G_MARKUP_COLLECT_STRDUP = 2,   1540     G_MARKUP_COLLECT_STRDUP = 2,
1541     G_MARKUP_COLLECT_BOOLEAN = 3,   1541     G_MARKUP_COLLECT_BOOLEAN = 3,
1542     G_MARKUP_COLLECT_TRISTATE = 4,   1542     G_MARKUP_COLLECT_TRISTATE = 4,
1543     G_MARKUP_COLLECT_OPTIONAL = 65536   1543     G_MARKUP_COLLECT_OPTIONAL = 65536
1544 } ;   1544 } ;
1545 typedef enum __anonenum_GMarkupCollectType_81 GMarkupCollectType;   1545 typedef enum __anonenum_GMarkupCollectType_81 GMarkupCollectType;
1546 enum __anonenum_GLogLevelFlags_82 {   1546 enum __anonenum_GLogLevelFlags_82 {
1547     G_LOG_FLAG_RECURSION = 1,   1547     G_LOG_FLAG_RECURSION = 1,
1548     G_LOG_FLAG_FATAL = 2,   1548     G_LOG_FLAG_FATAL = 2,
1549     G_LOG_LEVEL_ERROR = 4,   1549     G_LOG_LEVEL_ERROR = 4,
1550     G_LOG_LEVEL_CRITICAL = 8,   1550     G_LOG_LEVEL_CRITICAL = 8,
1551     G_LOG_LEVEL_WARNING = 16,   1551     G_LOG_LEVEL_WARNING = 16,
1552     G_LOG_LEVEL_MESSAGE = 32,   1552     G_LOG_LEVEL_MESSAGE = 32,
1553     G_LOG_LEVEL_INFO = 64,   1553     G_LOG_LEVEL_INFO = 64,
1554     G_LOG_LEVEL_DEBUG = 128,   1554     G_LOG_LEVEL_DEBUG = 128,
1555     G_LOG_LEVEL_MASK = -4   1555     G_LOG_LEVEL_MASK = -4
1556 } ;   1556 } ;
1557 typedef enum __anonenum_GLogLevelFlags_82 GLogLevelFlags;   1557 typedef enum __anonenum_GLogLevelFlags_82 GLogLevelFlags;
1558 typedef void (*GLogFunc)(gchar const   *log_domain , GLogLevelFlags log_level ,   1558 typedef void (*GLogFunc)(gchar const   *log_domain , GLogLevelFlags log_level ,
1559                          gchar const   *message , gpointer user_data );   1559                          gchar const   *message , gpointer user_data );
1560 typedef void (*GPrintFunc)(gchar const   *string );   1560 typedef void (*GPrintFunc)(gchar const   *string );
1561 struct _GNode;   1561 struct _GNode;
1562 typedef struct _GNode GNode;   1562 typedef struct _GNode GNode;
1563 enum __anonenum_GTraverseFlags_83 {   1563 enum __anonenum_GTraverseFlags_83 {
1564     G_TRAVERSE_LEAVES = 1,   1564     G_TRAVERSE_LEAVES = 1,
1565     G_TRAVERSE_NON_LEAVES = 2,   1565     G_TRAVERSE_NON_LEAVES = 2,
1566     G_TRAVERSE_ALL = 3,   1566     G_TRAVERSE_ALL = 3,
1567     G_TRAVERSE_MASK = 3,   1567     G_TRAVERSE_MASK = 3,
1568     G_TRAVERSE_LEAFS = 1,   1568     G_TRAVERSE_LEAFS = 1,
1569     G_TRAVERSE_NON_LEAFS = 2   1569     G_TRAVERSE_NON_LEAFS = 2
1570 } ;   1570 } ;
1571 typedef enum __anonenum_GTraverseFlags_83 GTraverseFlags;   1571 typedef enum __anonenum_GTraverseFlags_83 GTraverseFlags;
1572 enum __anonenum_GTraverseType_84 {   1572 enum __anonenum_GTraverseType_84 {
1573     G_IN_ORDER = 0,   1573     G_IN_ORDER = 0,
1574     G_PRE_ORDER = 1,   1574     G_PRE_ORDER = 1,
1575     G_POST_ORDER = 2,   1575     G_POST_ORDER = 2,
1576     G_LEVEL_ORDER = 3   1576     G_LEVEL_ORDER = 3
1577 } ;   1577 } ;
1578 typedef enum __anonenum_GTraverseType_84 GTraverseType;   1578 typedef enum __anonenum_GTraverseType_84 GTraverseType;
1579 typedef gboolean (*GNodeTraverseFunc)(GNode *node , gpointer data );   1579 typedef gboolean (*GNodeTraverseFunc)(GNode *node , gpointer data );
1580 typedef void (*GNodeForeachFunc)(GNode *node , gpointer data );   1580 typedef void (*GNodeForeachFunc)(GNode *node , gpointer data );
1581 typedef gpointer (*GCopyFunc)(gconstpointer src , gpointer data );   1581 typedef gpointer (*GCopyFunc)(gconstpointer src , gpointer data );
1582 struct _GNode {   1582 struct _GNode {
1583    gpointer data ;   1583    gpointer data ;
1584    GNode *next ;   1584    GNode *next ;
1585    GNode *prev ;   1585    GNode *prev ;
1586    GNode *parent ;   1586    GNode *parent ;
1587    GNode *children ;   1587    GNode *children ;
1588 };   1588 };
1589 struct _GOptionContext;   1589 struct _GOptionContext;
1590 typedef struct _GOptionContext GOptionContext;   1590 typedef struct _GOptionContext GOptionContext;
1591 struct _GOptionGroup;   1591 struct _GOptionGroup;
1592 typedef struct _GOptionGroup GOptionGroup;   1592 typedef struct _GOptionGroup GOptionGroup;
1593 struct _GOptionEntry;   1593 struct _GOptionEntry;
1594 typedef struct _GOptionEntry GOptionEntry;   1594 typedef struct _GOptionEntry GOptionEntry;
1595 enum __anonenum_GOptionFlags_85 {   1595 enum __anonenum_GOptionFlags_85 {
1596     G_OPTION_FLAG_HIDDEN = 1,   1596     G_OPTION_FLAG_HIDDEN = 1,
1597     G_OPTION_FLAG_IN_MAIN = 2,   1597     G_OPTION_FLAG_IN_MAIN = 2,
1598     G_OPTION_FLAG_REVERSE = 4,   1598     G_OPTION_FLAG_REVERSE = 4,
1599     G_OPTION_FLAG_NO_ARG = 8,   1599     G_OPTION_FLAG_NO_ARG = 8,
1600     G_OPTION_FLAG_FILENAME = 16,   1600     G_OPTION_FLAG_FILENAME = 16,
1601     G_OPTION_FLAG_OPTIONAL_ARG = 32,   1601     G_OPTION_FLAG_OPTIONAL_ARG = 32,
1602     G_OPTION_FLAG_NOALIAS = 64   1602     G_OPTION_FLAG_NOALIAS = 64
1603 } ;   1603 } ;
1604 typedef enum __anonenum_GOptionFlags_85 GOptionFlags;   1604 typedef enum __anonenum_GOptionFlags_85 GOptionFlags;
1605 enum __anonenum_GOptionArg_86 {   1605 enum __anonenum_GOptionArg_86 {
1606     G_OPTION_ARG_NONE = 0,   1606     G_OPTION_ARG_NONE = 0,
1607     G_OPTION_ARG_STRING = 1,   1607     G_OPTION_ARG_STRING = 1,
1608     G_OPTION_ARG_INT = 2,   1608     G_OPTION_ARG_INT = 2,
1609     G_OPTION_ARG_CALLBACK = 3,   1609     G_OPTION_ARG_CALLBACK = 3,
1610     G_OPTION_ARG_FILENAME = 4,   1610     G_OPTION_ARG_FILENAME = 4,
1611     G_OPTION_ARG_STRING_ARRAY = 5,   1611     G_OPTION_ARG_STRING_ARRAY = 5,
1612     G_OPTION_ARG_FILENAME_ARRAY = 6,   1612     G_OPTION_ARG_FILENAME_ARRAY = 6,
1613     G_OPTION_ARG_DOUBLE = 7,   1613     G_OPTION_ARG_DOUBLE = 7,
1614     G_OPTION_ARG_INT64 = 8   1614     G_OPTION_ARG_INT64 = 8
1615 } ;   1615 } ;
1616 typedef enum __anonenum_GOptionArg_86 GOptionArg;   1616 typedef enum __anonenum_GOptionArg_86 GOptionArg;
1617 typedef gboolean (*GOptionArgFunc)(gchar const   *option_name ,   1617 typedef gboolean (*GOptionArgFunc)(gchar const   *option_name ,
1618                                    gchar const   *value , gpointer data ,   1618                                    gchar const   *value , gpointer data ,
1619                                    GError **error );   1619                                    GError **error );
1620 typedef gboolean (*GOptionParseFunc)(GOptionContext *context ,   1620 typedef gboolean (*GOptionParseFunc)(GOptionContext *context ,
1621                                      GOptionGroup *group , gpointer data ,   1621                                      GOptionGroup *group , gpointer data ,
1622                                      GError **error );   1622                                      GError **error );
1623 typedef void (*GOptionErrorFunc)(GOptionContext *context , GOptionGroup *group ,   1623 typedef void (*GOptionErrorFunc)(GOptionContext *context , GOptionGroup *group ,
1624                                  gpointer data , GError **error );   1624                                  gpointer data , GError **error );
1625 enum __anonenum_GOptionError_87 {   1625 enum __anonenum_GOptionError_87 {
1626     G_OPTION_ERROR_UNKNOWN_OPTION = 0,   1626     G_OPTION_ERROR_UNKNOWN_OPTION = 0,
1627     G_OPTION_ERROR_BAD_VALUE = 1,   1627     G_OPTION_ERROR_BAD_VALUE = 1,
1628     G_OPTION_ERROR_FAILED = 2   1628     G_OPTION_ERROR_FAILED = 2
1629 } ;   1629 } ;
1630 typedef enum __anonenum_GOptionError_87 GOptionError;   1630 typedef enum __anonenum_GOptionError_87 GOptionError;
1631 struct _GOptionEntry {   1631 struct _GOptionEntry {
1632    gchar const   *long_name ;   1632    gchar const   *long_name ;
1633    gchar short_name ;   1633    gchar short_name ;
1634    gint flags ;   1634    gint flags ;
1635    GOptionArg arg ;   1635    GOptionArg arg ;
1636    gpointer arg_data ;   1636    gpointer arg_data ;
1637    gchar const   *description ;   1637    gchar const   *description ;
1638    gchar const   *arg_description ;   1638    gchar const   *arg_description ;
1639 };   1639 };
1640 struct _GPatternSpec;   1640 struct _GPatternSpec;
1641 typedef struct _GPatternSpec GPatternSpec;   1641 typedef struct _GPatternSpec GPatternSpec;
1642 struct _GQueue;   1642 struct _GQueue;
1643 typedef struct _GQueue GQueue;   1643 typedef struct _GQueue GQueue;
1644 struct _GQueue {   1644 struct _GQueue {
1645    GList *head ;   1645    GList *head ;
1646    GList *tail ;   1646    GList *tail ;
1647    guint length ;   1647    guint length ;
1648 };   1648 };
1649 struct _GRand;   1649 struct _GRand;
1650 typedef struct _GRand GRand;   1650 typedef struct _GRand GRand;
1651 struct _GRelation;   1651 struct _GRelation;
1652 typedef struct _GRelation GRelation;   1652 typedef struct _GRelation GRelation;
1653 struct _GTuples;   1653 struct _GTuples;
1654 typedef struct _GTuples GTuples;   1654 typedef struct _GTuples GTuples;
1655 struct _GTuples {   1655 struct _GTuples {
1656    guint len ;   1656    guint len ;
1657 };   1657 };
1658 enum __anonenum_GRegexError_88 {   1658 enum __anonenum_GRegexError_88 {
1659     G_REGEX_ERROR_COMPILE = 0,   1659     G_REGEX_ERROR_COMPILE = 0,
1660     G_REGEX_ERROR_OPTIMIZE = 1,   1660     G_REGEX_ERROR_OPTIMIZE = 1,
1661     G_REGEX_ERROR_REPLACE = 2,   1661     G_REGEX_ERROR_REPLACE = 2,
1662     G_REGEX_ERROR_MATCH = 3,   1662     G_REGEX_ERROR_MATCH = 3,
1663     G_REGEX_ERROR_INTERNAL = 4,   1663     G_REGEX_ERROR_INTERNAL = 4,
1664     G_REGEX_ERROR_STRAY_BACKSLASH = 101,   1664     G_REGEX_ERROR_STRAY_BACKSLASH = 101,
1665     G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,   1665     G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
1666     G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,   1666     G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
1667     G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,   1667     G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
1668     G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,   1668     G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
1669     G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,   1669     G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
1670     G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,   1670     G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
1671     G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,   1671     G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
1672     G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,   1672     G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
1673     G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,   1673     G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
1674     G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,   1674     G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
1675     G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,   1675     G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
1676     G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,   1676     G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
1677     G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,   1677     G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
1678     G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,   1678     G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
1679     G_REGEX_ERROR_MEMORY_ERROR = 121,   1679     G_REGEX_ERROR_MEMORY_ERROR = 121,
1680     G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,   1680     G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
1681     G_REGEX_ERROR_MALFORMED_CONDITION = 126,   1681     G_REGEX_ERROR_MALFORMED_CONDITION = 126,
1682     G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,   1682     G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
1683     G_REGEX_ERROR_ASSERTION_EXPECTED = 128,   1683     G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
1684     G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,   1684     G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
1685     G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,   1685     G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
1686     G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,   1686     G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
1687     G_REGEX_ERROR_INVALID_CONDITION = 135,   1687     G_REGEX_ERROR_INVALID_CONDITION = 135,
1688     G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,   1688     G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
1689     G_REGEX_ERROR_INFINITE_LOOP = 140,   1689     G_REGEX_ERROR_INFINITE_LOOP = 140,
1690     G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,   1690     G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
1691     G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,   1691     G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
1692     G_REGEX_ERROR_MALFORMED_PROPERTY = 146,   1692     G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
1693     G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,   1693     G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
1694     G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,   1694     G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
1695     G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,   1695     G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
1696     G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,   1696     G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
1697     G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,   1697     G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
1698     G_REGEX_ERROR_DEFINE_REPETION = 155,   1698     G_REGEX_ERROR_DEFINE_REPETION = 155,
1699     G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,   1699     G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
1700     G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157   1700     G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
1701 } ;   1701 } ;
1702 typedef enum __anonenum_GRegexError_88 GRegexError;   1702 typedef enum __anonenum_GRegexError_88 GRegexError;
1703 enum __anonenum_GRegexCompileFlags_89 {   1703 enum __anonenum_GRegexCompileFlags_89 {
1704     G_REGEX_CASELESS = 1,   1704     G_REGEX_CASELESS = 1,
1705     G_REGEX_MULTILINE = 2,   1705     G_REGEX_MULTILINE = 2,
1706     G_REGEX_DOTALL = 4,   1706     G_REGEX_DOTALL = 4,
1707     G_REGEX_EXTENDED = 8,   1707     G_REGEX_EXTENDED = 8,
1708     G_REGEX_ANCHORED = 16,   1708     G_REGEX_ANCHORED = 16,
1709     G_REGEX_DOLLAR_ENDONLY = 32,   1709     G_REGEX_DOLLAR_ENDONLY = 32,
1710     G_REGEX_UNGREEDY = 512,   1710     G_REGEX_UNGREEDY = 512,
1711     G_REGEX_RAW = 2048,   1711     G_REGEX_RAW = 2048,
1712     G_REGEX_NO_AUTO_CAPTURE = 4096,   1712     G_REGEX_NO_AUTO_CAPTURE = 4096,
1713     G_REGEX_OPTIMIZE = 8192,   1713     G_REGEX_OPTIMIZE = 8192,
1714     G_REGEX_DUPNAMES = 524288,   1714     G_REGEX_DUPNAMES = 524288,
1715     G_REGEX_NEWLINE_CR = 1048576,   1715     G_REGEX_NEWLINE_CR = 1048576,
1716     G_REGEX_NEWLINE_LF = 2097152,   1716     G_REGEX_NEWLINE_LF = 2097152,
1717     G_REGEX_NEWLINE_CRLF = 3145728   1717     G_REGEX_NEWLINE_CRLF = 3145728
1718 } ;   1718 } ;
1719 typedef enum __anonenum_GRegexCompileFlags_89 GRegexCompileFlags;   1719 typedef enum __anonenum_GRegexCompileFlags_89 GRegexCompileFlags;
1720 enum __anonenum_GRegexMatchFlags_90 {   1720 enum __anonenum_GRegexMatchFlags_90 {
1721     G_REGEX_MATCH_ANCHORED = 16,   1721     G_REGEX_MATCH_ANCHORED = 16,
1722     G_REGEX_MATCH_NOTBOL = 128,   1722     G_REGEX_MATCH_NOTBOL = 128,
1723     G_REGEX_MATCH_NOTEOL = 256,   1723     G_REGEX_MATCH_NOTEOL = 256,
1724     G_REGEX_MATCH_NOTEMPTY = 1024,   1724     G_REGEX_MATCH_NOTEMPTY = 1024,
1725     G_REGEX_MATCH_PARTIAL = 32768,   1725     G_REGEX_MATCH_PARTIAL = 32768,
1726     G_REGEX_MATCH_NEWLINE_CR = 1048576,   1726     G_REGEX_MATCH_NEWLINE_CR = 1048576,
1727     G_REGEX_MATCH_NEWLINE_LF = 2097152,   1727     G_REGEX_MATCH_NEWLINE_LF = 2097152,
1728     G_REGEX_MATCH_NEWLINE_CRLF = 3145728,   1728     G_REGEX_MATCH_NEWLINE_CRLF = 3145728,
1729     G_REGEX_MATCH_NEWLINE_ANY = 4194304   1729     G_REGEX_MATCH_NEWLINE_ANY = 4194304
1730 } ;   1730 } ;
1731 typedef enum __anonenum_GRegexMatchFlags_90 GRegexMatchFlags;   1731 typedef enum __anonenum_GRegexMatchFlags_90 GRegexMatchFlags;
1732 struct _GRegex;   1732 struct _GRegex;
1733 typedef struct _GRegex GRegex;   1733 typedef struct _GRegex GRegex;
1734 struct _GMatchInfo;   1734 struct _GMatchInfo;
1735 typedef struct _GMatchInfo GMatchInfo;   1735 typedef struct _GMatchInfo GMatchInfo;
1736 typedef gboolean (*GRegexEvalCallback)(GMatchInfo const   *match_info ,   1736 typedef gboolean (*GRegexEvalCallback)(GMatchInfo const   *match_info ,
1737                                        GString *result , gpointer user_data );   1737                                        GString *result , gpointer user_data );
1738 struct _GScanner;   1738 struct _GScanner;
1739 typedef struct _GScanner GScanner;   1739 typedef struct _GScanner GScanner;
1740 struct _GScannerConfig;   1740 struct _GScannerConfig;
1741 typedef struct _GScannerConfig GScannerConfig;   1741 typedef struct _GScannerConfig GScannerConfig;
1742 union _GTokenValue;   1742 union _GTokenValue;
1743 typedef union _GTokenValue GTokenValue;   1743 typedef union _GTokenValue GTokenValue;
1744 typedef void (*GScannerMsgFunc)(GScanner *scanner , gchar *message ,   1744 typedef void (*GScannerMsgFunc)(GScanner *scanner , gchar *message ,
1745                                 gboolean error );   1745                                 gboolean error );
1746 enum __anonenum_GErrorType_91 {   1746 enum __anonenum_GErrorType_91 {
1747     G_ERR_UNKNOWN = 0,   1747     G_ERR_UNKNOWN = 0,
1748     G_ERR_UNEXP_EOF = 1,   1748     G_ERR_UNEXP_EOF = 1,
1749     G_ERR_UNEXP_EOF_IN_STRING = 2,   1749     G_ERR_UNEXP_EOF_IN_STRING = 2,
1750     G_ERR_UNEXP_EOF_IN_COMMENT = 3,   1750     G_ERR_UNEXP_EOF_IN_COMMENT = 3,
1751     G_ERR_NON_DIGIT_IN_CONST = 4,   1751     G_ERR_NON_DIGIT_IN_CONST = 4,
1752     G_ERR_DIGIT_RADIX = 5,   1752     G_ERR_DIGIT_RADIX = 5,
1753     G_ERR_FLOAT_RADIX = 6,   1753     G_ERR_FLOAT_RADIX = 6,
1754     G_ERR_FLOAT_MALFORMED = 7   1754     G_ERR_FLOAT_MALFORMED = 7
1755 } ;   1755 } ;
1756 typedef enum __anonenum_GErrorType_91 GErrorType;   1756 typedef enum __anonenum_GErrorType_91 GErrorType;
1757 enum __anonenum_GTokenType_92 {   1757 enum __anonenum_GTokenType_92 {
1758     G_TOKEN_EOF = 0,   1758     G_TOKEN_EOF = 0,
1759     G_TOKEN_LEFT_PAREN = 40,   1759     G_TOKEN_LEFT_PAREN = 40,
1760     G_TOKEN_RIGHT_PAREN = 41,   1760     G_TOKEN_RIGHT_PAREN = 41,
1761     G_TOKEN_LEFT_CURLY = 123,   1761     G_TOKEN_LEFT_CURLY = 123,
1762     G_TOKEN_RIGHT_CURLY = 125,   1762     G_TOKEN_RIGHT_CURLY = 125,
1763     G_TOKEN_LEFT_BRACE = 91,   1763     G_TOKEN_LEFT_BRACE = 91,
1764     G_TOKEN_RIGHT_BRACE = 93,   1764     G_TOKEN_RIGHT_BRACE = 93,
1765     G_TOKEN_EQUAL_SIGN = 61,   1765     G_TOKEN_EQUAL_SIGN = 61,
1766     G_TOKEN_COMMA = 44,   1766     G_TOKEN_COMMA = 44,
1767     G_TOKEN_NONE = 256,   1767     G_TOKEN_NONE = 256,
1768     G_TOKEN_ERROR = 257,   1768     G_TOKEN_ERROR = 257,
1769     G_TOKEN_CHAR = 258,   1769     G_TOKEN_CHAR = 258,
1770     G_TOKEN_BINARY = 259,   1770     G_TOKEN_BINARY = 259,
1771     G_TOKEN_OCTAL = 260,   1771     G_TOKEN_OCTAL = 260,
1772     G_TOKEN_INT = 261,   1772     G_TOKEN_INT = 261,
1773     G_TOKEN_HEX = 262,   1773     G_TOKEN_HEX = 262,
1774     G_TOKEN_FLOAT = 263,   1774     G_TOKEN_FLOAT = 263,
1775     G_TOKEN_STRING = 264,   1775     G_TOKEN_STRING = 264,
1776     G_TOKEN_SYMBOL = 265,   1776     G_TOKEN_SYMBOL = 265,
1777     G_TOKEN_IDENTIFIER = 266,   1777     G_TOKEN_IDENTIFIER = 266,
1778     G_TOKEN_IDENTIFIER_NULL = 267,   1778     G_TOKEN_IDENTIFIER_NULL = 267,
1779     G_TOKEN_COMMENT_SINGLE = 268,   1779     G_TOKEN_COMMENT_SINGLE = 268,
1780     G_TOKEN_COMMENT_MULTI = 269,   1780     G_TOKEN_COMMENT_MULTI = 269,
1781     G_TOKEN_LAST = 270   1781     G_TOKEN_LAST = 270
1782 } ;   1782 } ;
1783 typedef enum __anonenum_GTokenType_92 GTokenType;   1783 typedef enum __anonenum_GTokenType_92 GTokenType;
1784 union _GTokenValue {   1784 union _GTokenValue {
1785    gpointer v_symbol ;   1785    gpointer v_symbol ;
1786    gchar *v_identifier ;   1786    gchar *v_identifier ;
1787    gulong v_binary ;   1787    gulong v_binary ;
1788    gulong v_octal ;   1788    gulong v_octal ;
1789    gulong v_int ;   1789    gulong v_int ;
1790    guint64 v_int64 ;   1790    guint64 v_int64 ;
1791    gdouble v_float ;   1791    gdouble v_float ;
1792    gulong v_hex ;   1792    gulong v_hex ;
1793    gchar *v_string ;   1793    gchar *v_string ;
1794    gchar *v_comment ;   1794    gchar *v_comment ;
1795    guchar v_char ;   1795    guchar v_char ;
1796    guint v_error ;   1796    guint v_error ;
1797 };   1797 };
1798 struct _GScannerConfig {   1798 struct _GScannerConfig {
1799    gchar *cset_skip_characters ;   1799    gchar *cset_skip_characters ;
1800    gchar *cset_identifier_first ;   1800    gchar *cset_identifier_first ;
1801    gchar *cset_identifier_nth ;   1801    gchar *cset_identifier_nth ;
1802    gchar *cpair_comment_single ;   1802    gchar *cpair_comment_single ;
1803    guint case_sensitive : 1 ;   1803    guint case_sensitive : 1 ;
1804    guint skip_comment_multi : 1 ;   1804    guint skip_comment_multi : 1 ;
1805    guint skip_comment_single : 1 ;   1805    guint skip_comment_single : 1 ;
1806    guint scan_comment_multi : 1 ;   1806    guint scan_comment_multi : 1 ;
1807    guint scan_identifier : 1 ;   1807    guint scan_identifier : 1 ;
1808    guint scan_identifier_1char : 1 ;   1808    guint scan_identifier_1char : 1 ;
1809    guint scan_identifier_NULL : 1 ;   1809    guint scan_identifier_NULL : 1 ;
1810    guint scan_symbols : 1 ;   1810    guint scan_symbols : 1 ;
1811    guint scan_binary : 1 ;   1811    guint scan_binary : 1 ;
1812    guint scan_octal : 1 ;   1812    guint scan_octal : 1 ;
1813    guint scan_float : 1 ;   1813    guint scan_float : 1 ;
1814    guint scan_hex : 1 ;   1814    guint scan_hex : 1 ;
1815    guint scan_hex_dollar : 1 ;   1815    guint scan_hex_dollar : 1 ;
1816    guint scan_string_sq : 1 ;   1816    guint scan_string_sq : 1 ;
1817    guint scan_string_dq : 1 ;   1817    guint scan_string_dq : 1 ;
1818    guint numbers_2_int : 1 ;   1818    guint numbers_2_int : 1 ;
1819    guint int_2_float : 1 ;   1819    guint int_2_float : 1 ;
1820    guint identifier_2_string : 1 ;   1820    guint identifier_2_string : 1 ;
1821    guint char_2_token : 1 ;   1821    guint char_2_token : 1 ;
1822    guint symbol_2_token : 1 ;   1822    guint symbol_2_token : 1 ;
1823    guint scope_0_fallback : 1 ;   1823    guint scope_0_fallback : 1 ;
1824    guint store_int64 : 1 ;   1824    guint store_int64 : 1 ;
1825    guint padding_dummy ;   1825    guint padding_dummy ;
1826 };   1826 };
1827 struct _GScanner {   1827 struct _GScanner {
1828    gpointer user_data ;   1828    gpointer user_data ;
1829    guint max_parse_errors ;   1829    guint max_parse_errors ;
1830    guint parse_errors ;   1830    guint parse_errors ;
1831    gchar const   *input_name ;   1831    gchar const   *input_name ;
1832    GData *qdata ;   1832    GData *qdata ;
1833    GScannerConfig *config ;   1833    GScannerConfig *config ;
1834    GTokenType token ;   1834    GTokenType token ;
1835    GTokenValue value ;   1835    GTokenValue value ;
1836    guint line ;   1836    guint line ;
1837    guint position ;   1837    guint position ;
1838    GTokenType next_token ;   1838    GTokenType next_token ;
1839    GTokenValue next_value ;   1839    GTokenValue next_value ;
1840    guint next_line ;   1840    guint next_line ;
1841    guint next_position ;   1841    guint next_position ;
1842    GHashTable *symbol_table ;   1842    GHashTable *symbol_table ;
1843    gint input_fd ;   1843    gint input_fd ;
1844    gchar const   *text ;   1844    gchar const   *text ;
1845    gchar const   *text_end ;   1845    gchar const   *text_end ;
1846    gchar *buffer ;   1846    gchar *buffer ;
1847    guint scope_id ;   1847    guint scope_id ;
1848    void (*msg_handler)(GScanner *scanner , gchar *message , gboolean error ) ;   1848    void (*msg_handler)(GScanner *scanner , gchar *message , gboolean error ) ;
1849 };   1849 };
1850 struct _GSequence;   1850 struct _GSequence;
1851 typedef struct _GSequence GSequence;   1851 typedef struct _GSequence GSequence;
1852 struct _GSequenceNode;   1852 struct _GSequenceNode;
1853 typedef struct _GSequenceNode GSequenceIter;   1853 typedef struct _GSequenceNode GSequenceIter;
1854 typedef gint (*GSequenceIterCompareFunc)(GSequenceIter *a , GSequenceIter *b ,   1854 typedef gint (*GSequenceIterCompareFunc)(GSequenceIter *a , GSequenceIter *b ,
1855                                          gpointer data );   1855                                          gpointer data );
1856 enum __anonenum_GShellError_93 {   1856 enum __anonenum_GShellError_93 {
1857     G_SHELL_ERROR_BAD_QUOTING = 0,   1857     G_SHELL_ERROR_BAD_QUOTING = 0,
1858     G_SHELL_ERROR_EMPTY_STRING = 1,   1858     G_SHELL_ERROR_EMPTY_STRING = 1,
1859     G_SHELL_ERROR_FAILED = 2   1859     G_SHELL_ERROR_FAILED = 2
1860 } ;   1860 } ;
1861 typedef enum __anonenum_GShellError_93 GShellError;   1861 typedef enum __anonenum_GShellError_93 GShellError;
1862 enum __anonenum_GSpawnError_94 {   1862 enum __anonenum_GSpawnError_94 {
1863     G_SPAWN_ERROR_FORK = 0,   1863     G_SPAWN_ERROR_FORK = 0,
1864     G_SPAWN_ERROR_READ = 1,   1864     G_SPAWN_ERROR_READ = 1,
1865     G_SPAWN_ERROR_CHDIR = 2,   1865     G_SPAWN_ERROR_CHDIR = 2,
1866     G_SPAWN_ERROR_ACCES = 3,   1866     G_SPAWN_ERROR_ACCES = 3,
1867     G_SPAWN_ERROR_PERM = 4,   1867     G_SPAWN_ERROR_PERM = 4,
1868     G_SPAWN_ERROR_2BIG = 5,   1868     G_SPAWN_ERROR_2BIG = 5,
1869     G_SPAWN_ERROR_NOEXEC = 6,   1869     G_SPAWN_ERROR_NOEXEC = 6,
1870     G_SPAWN_ERROR_NAMETOOLONG = 7,   1870     G_SPAWN_ERROR_NAMETOOLONG = 7,
1871     G_SPAWN_ERROR_NOENT = 8,   1871     G_SPAWN_ERROR_NOENT = 8,
1872     G_SPAWN_ERROR_NOMEM = 9,   1872     G_SPAWN_ERROR_NOMEM = 9,
1873     G_SPAWN_ERROR_NOTDIR = 10,   1873     G_SPAWN_ERROR_NOTDIR = 10,
1874     G_SPAWN_ERROR_LOOP = 11,   1874     G_SPAWN_ERROR_LOOP = 11,
1875     G_SPAWN_ERROR_TXTBUSY = 12,   1875     G_SPAWN_ERROR_TXTBUSY = 12,
1876     G_SPAWN_ERROR_IO = 13,   1876     G_SPAWN_ERROR_IO = 13,
1877     G_SPAWN_ERROR_NFILE = 14,   1877     G_SPAWN_ERROR_NFILE = 14,
1878     G_SPAWN_ERROR_MFILE = 15,   1878     G_SPAWN_ERROR_MFILE = 15,
1879     G_SPAWN_ERROR_INVAL = 16,   1879     G_SPAWN_ERROR_INVAL = 16,
1880     G_SPAWN_ERROR_ISDIR = 17,   1880     G_SPAWN_ERROR_ISDIR = 17,
1881     G_SPAWN_ERROR_LIBBAD = 18,   1881     G_SPAWN_ERROR_LIBBAD = 18,
1882     G_SPAWN_ERROR_FAILED = 19   1882     G_SPAWN_ERROR_FAILED = 19
1883 } ;   1883 } ;
1884 typedef enum __anonenum_GSpawnError_94 GSpawnError;   1884 typedef enum __anonenum_GSpawnError_94 GSpawnError;
1885 typedef void (*GSpawnChildSetupFunc)(gpointer user_data );   1885 typedef void (*GSpawnChildSetupFunc)(gpointer user_data );
1886 enum __anonenum_GSpawnFlags_95 {   1886 enum __anonenum_GSpawnFlags_95 {
1887     G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1,   1887     G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1,
1888     G_SPAWN_DO_NOT_REAP_CHILD = 2,   1888     G_SPAWN_DO_NOT_REAP_CHILD = 2,
1889     G_SPAWN_SEARCH_PATH = 4,   1889     G_SPAWN_SEARCH_PATH = 4,
1890     G_SPAWN_STDOUT_TO_DEV_NULL = 8,   1890     G_SPAWN_STDOUT_TO_DEV_NULL = 8,
1891     G_SPAWN_STDERR_TO_DEV_NULL = 16,   1891     G_SPAWN_STDERR_TO_DEV_NULL = 16,
1892     G_SPAWN_CHILD_INHERITS_STDIN = 32,   1892     G_SPAWN_CHILD_INHERITS_STDIN = 32,
1893     G_SPAWN_FILE_AND_ARGV_ZERO = 64   1893     G_SPAWN_FILE_AND_ARGV_ZERO = 64
1894 } ;   1894 } ;
1895 typedef enum __anonenum_GSpawnFlags_95 GSpawnFlags;   1895 typedef enum __anonenum_GSpawnFlags_95 GSpawnFlags;
1896 enum __anonenum_GAsciiType_96 {   1896 enum __anonenum_GAsciiType_96 {
1897     G_ASCII_ALNUM = 1,   1897     G_ASCII_ALNUM = 1,
1898     G_ASCII_ALPHA = 2,   1898     G_ASCII_ALPHA = 2,
1899     G_ASCII_CNTRL = 4,   1899     G_ASCII_CNTRL = 4,
1900     G_ASCII_DIGIT = 8,   1900     G_ASCII_DIGIT = 8,
1901     G_ASCII_GRAPH = 16,   1901     G_ASCII_GRAPH = 16,
1902     G_ASCII_LOWER = 32,   1902     G_ASCII_LOWER = 32,
1903     G_ASCII_PRINT = 64,   1903     G_ASCII_PRINT = 64,
1904     G_ASCII_PUNCT = 128,   1904     G_ASCII_PUNCT = 128,
1905     G_ASCII_SPACE = 256,   1905     G_ASCII_SPACE = 256,
1906     G_ASCII_UPPER = 512,   1906     G_ASCII_UPPER = 512,
1907     G_ASCII_XDIGIT = 1024   1907     G_ASCII_XDIGIT = 1024
1908 } ;   1908 } ;
1909 typedef enum __anonenum_GAsciiType_96 GAsciiType;   1909 typedef enum __anonenum_GAsciiType_96 GAsciiType;
1910 struct GTestCase;   1910 struct GTestCase;
1911 typedef struct GTestCase GTestCase;   1911 typedef struct GTestCase GTestCase;
1912 struct GTestSuite;   1912 struct GTestSuite;
1913 typedef struct GTestSuite GTestSuite;   1913 typedef struct GTestSuite GTestSuite;
1914 enum __anonenum_GTestTrapFlags_97 {   1914 enum __anonenum_GTestTrapFlags_97 {
1915     G_TEST_TRAP_SILENCE_STDOUT = 128,   1915     G_TEST_TRAP_SILENCE_STDOUT = 128,
1916     G_TEST_TRAP_SILENCE_STDERR = 256,   1916     G_TEST_TRAP_SILENCE_STDERR = 256,
1917     G_TEST_TRAP_INHERIT_STDIN = 512   1917     G_TEST_TRAP_INHERIT_STDIN = 512
1918 } ;   1918 } ;
1919 typedef enum __anonenum_GTestTrapFlags_97 GTestTrapFlags;   1919 typedef enum __anonenum_GTestTrapFlags_97 GTestTrapFlags;
1920 struct __anonstruct_GTestConfig_98 {   1920 struct __anonstruct_GTestConfig_98 {
1921    gboolean test_initialized ;   1921    gboolean test_initialized ;
1922    gboolean test_quick ;   1922    gboolean test_quick ;
1923    gboolean test_perf ;   1923    gboolean test_perf ;
1924    gboolean test_verbose ;   1924    gboolean test_verbose ;
1925    gboolean test_quiet ;   1925    gboolean test_quiet ;
1926 };   1926 };
1927 typedef struct __anonstruct_GTestConfig_98 GTestConfig;   1927 typedef struct __anonstruct_GTestConfig_98 GTestConfig;
1928 enum __anonenum_GTestLogType_99 {   1928 enum __anonenum_GTestLogType_99 {
1929     G_TEST_LOG_NONE = 0,   1929     G_TEST_LOG_NONE = 0,
1930     G_TEST_LOG_ERROR = 1,   1930     G_TEST_LOG_ERROR = 1,
1931     G_TEST_LOG_START_BINARY = 2,   1931     G_TEST_LOG_START_BINARY = 2,
1932     G_TEST_LOG_LIST_CASE = 3,   1932     G_TEST_LOG_LIST_CASE = 3,
1933     G_TEST_LOG_SKIP_CASE = 4,   1933     G_TEST_LOG_SKIP_CASE = 4,
1934     G_TEST_LOG_START_CASE = 5,   1934     G_TEST_LOG_START_CASE = 5,
1935     G_TEST_LOG_STOP_CASE = 6,   1935     G_TEST_LOG_STOP_CASE = 6,
1936     G_TEST_LOG_MIN_RESULT = 7,   1936     G_TEST_LOG_MIN_RESULT = 7,
1937     G_TEST_LOG_MAX_RESULT = 8,   1937     G_TEST_LOG_MAX_RESULT = 8,
1938     G_TEST_LOG_MESSAGE = 9   1938     G_TEST_LOG_MESSAGE = 9
1939 } ;   1939 } ;
1940 typedef enum __anonenum_GTestLogType_99 GTestLogType;   1940 typedef enum __anonenum_GTestLogType_99 GTestLogType;
1941 struct __anonstruct_GTestLogMsg_100 {   1941 struct __anonstruct_GTestLogMsg_100 {
1942    GTestLogType log_type ;   1942    GTestLogType log_type ;
1943    guint n_strings ;   1943    guint n_strings ;
1944    gchar **strings ;   1944    gchar **strings ;
1945    guint n_nums ;   1945    guint n_nums ;
1946    long double *nums ;   1946    long double *nums ;
1947 };   1947 };
1948 typedef struct __anonstruct_GTestLogMsg_100 GTestLogMsg;   1948 typedef struct __anonstruct_GTestLogMsg_100 GTestLogMsg;
1949 struct __anonstruct_GTestLogBuffer_101 {   1949 struct __anonstruct_GTestLogBuffer_101 {
1950    GString *data ;   1950    GString *data ;
1951    GSList *msgs ;   1951    GSList *msgs ;
1952 };   1952 };
1953 typedef struct __anonstruct_GTestLogBuffer_101 GTestLogBuffer;   1953 typedef struct __anonstruct_GTestLogBuffer_101 GTestLogBuffer;
1954 typedef gboolean (*GTestLogFatalFunc)(gchar const   *log_domain ,   1954 typedef gboolean (*GTestLogFatalFunc)(gchar const   *log_domain ,
1955                                       GLogLevelFlags log_level ,   1955                                       GLogLevelFlags log_level ,
1956                                       gchar const   *message ,   1956                                       gchar const   *message ,
1957                                       gpointer user_data );   1957                                       gpointer user_data );
1958 struct _GThreadPool;   1958 struct _GThreadPool;
1959 typedef struct _GThreadPool GThreadPool;   1959 typedef struct _GThreadPool GThreadPool;
1960 struct _GThreadPool {   1960 struct _GThreadPool {
1961    void (*func)(gpointer data , gpointer user_data ) ;   1961    void (*func)(gpointer data , gpointer user_data ) ;
1962    gpointer user_data ;   1962    gpointer user_data ;
1963    gboolean exclusive ;   1963    gboolean exclusive ;
1964 };   1964 };
1965 struct _GTimer;   1965 struct _GTimer;
1966 typedef struct _GTimer GTimer;   1966 typedef struct _GTimer GTimer;
1967 struct _GTree;   1967 struct _GTree;
1968 typedef struct _GTree GTree;   1968 typedef struct _GTree GTree;
1969 typedef gboolean (*GTraverseFunc)(gpointer key , gpointer value , gpointer data );   1969 typedef gboolean (*GTraverseFunc)(gpointer key , gpointer value , gpointer data );
1970 struct _GVariantType;   1970 struct _GVariantType;
1971 typedef struct _GVariantType GVariantType;   1971 typedef struct _GVariantType GVariantType;
1972 struct _GVariant;   1972 struct _GVariant;
1973 typedef struct _GVariant GVariant;   1973 typedef struct _GVariant GVariant;
1974 enum __anonenum_GVariantClass_102 {   1974 enum __anonenum_GVariantClass_102 {
1975     G_VARIANT_CLASS_BOOLEAN = 98,   1975     G_VARIANT_CLASS_BOOLEAN = 98,
1976     G_VARIANT_CLASS_BYTE = 121,   1976     G_VARIANT_CLASS_BYTE = 121,
1977     G_VARIANT_CLASS_INT16 = 110,   1977     G_VARIANT_CLASS_INT16 = 110,
1978     G_VARIANT_CLASS_UINT16 = 113,   1978     G_VARIANT_CLASS_UINT16 = 113,
1979     G_VARIANT_CLASS_INT32 = 105,   1979     G_VARIANT_CLASS_INT32 = 105,
1980     G_VARIANT_CLASS_UINT32 = 117,   1980     G_VARIANT_CLASS_UINT32 = 117,
1981     G_VARIANT_CLASS_INT64 = 120,   1981     G_VARIANT_CLASS_INT64 = 120,
1982     G_VARIANT_CLASS_UINT64 = 116,   1982     G_VARIANT_CLASS_UINT64 = 116,
1983     G_VARIANT_CLASS_HANDLE = 104,   1983     G_VARIANT_CLASS_HANDLE = 104,
1984     G_VARIANT_CLASS_DOUBLE = 100,   1984     G_VARIANT_CLASS_DOUBLE = 100,
1985     G_VARIANT_CLASS_STRING = 115,   1985     G_VARIANT_CLASS_STRING = 115,
1986     G_VARIANT_CLASS_OBJECT_PATH = 111,   1986     G_VARIANT_CLASS_OBJECT_PATH = 111,
1987     G_VARIANT_CLASS_SIGNATURE = 103,   1987     G_VARIANT_CLASS_SIGNATURE = 103,
1988     G_VARIANT_CLASS_VARIANT = 118,   1988     G_VARIANT_CLASS_VARIANT = 118,
1989     G_VARIANT_CLASS_MAYBE = 109,   1989     G_VARIANT_CLASS_MAYBE = 109,
1990     G_VARIANT_CLASS_ARRAY = 97,   1990     G_VARIANT_CLASS_ARRAY = 97,
1991     G_VARIANT_CLASS_TUPLE = 40,   1991     G_VARIANT_CLASS_TUPLE = 40,
1992     G_VARIANT_CLASS_DICT_ENTRY = 123   1992     G_VARIANT_CLASS_DICT_ENTRY = 123
1993 } ;   1993 } ;
1994 typedef enum __anonenum_GVariantClass_102 GVariantClass;   1994 typedef enum __anonenum_GVariantClass_102 GVariantClass;
1995 struct _GVariantIter;   1995 struct _GVariantIter;
1996 typedef struct _GVariantIter GVariantIter;   1996 typedef struct _GVariantIter GVariantIter;
1997 struct _GVariantIter {   1997 struct _GVariantIter {
1998    gsize x[16] ;   1998    gsize x[16] ;
1999 };   1999 };
2000 struct _GVariantBuilder;   2000 struct _GVariantBuilder;
2001 typedef struct _GVariantBuilder GVariantBuilder;   2001 typedef struct _GVariantBuilder GVariantBuilder;
2002 struct _GVariantBuilder {   2002 struct _GVariantBuilder {
2003    gsize x[16] ;   2003    gsize x[16] ;
2004 };   2004 };
2005 enum __anonenum_103 {   2005 enum __anonenum_103 {
2006     _ISupper = 256,   2006     _ISupper = 256,
2007     _ISlower = 512,   2007     _ISlower = 512,
2008     _ISalpha = 1024,   2008     _ISalpha = 1024,
2009     _ISdigit = 2048,   2009     _ISdigit = 2048,
2010     _ISxdigit = 4096,   2010     _ISxdigit = 4096,
2011     _ISspace = 8192,   2011     _ISspace = 8192,
2012     _ISprint = 16384,   2012     _ISprint = 16384,
2013     _ISgraph = 32768,   2013     _ISgraph = 32768,
2014     _ISblank = 1,   2014     _ISblank = 1,
2015     _IScntrl = 2,   2015     _IScntrl = 2,
2016     _ISpunct = 4,   2016     _ISpunct = 4,
2017     _ISalnum = 8   2017     _ISalnum = 8
2018 } ;   2018 } ;
2019 struct stat {   2019 struct stat {
2020    __dev_t st_dev ;   2020    __dev_t st_dev ;
2021    unsigned short __pad1 ;   2021    unsigned short __pad1 ;
2022    __ino_t __st_ino ;   2022    __ino_t __st_ino ;
2023    __mode_t st_mode ;   2023    __mode_t st_mode ;
2024    __nlink_t st_nlink ;   2024    __nlink_t st_nlink ;
2025    __uid_t st_uid ;   2025    __uid_t st_uid ;
2026    __gid_t st_gid ;   2026    __gid_t st_gid ;
2027    __dev_t st_rdev ;   2027    __dev_t st_rdev ;
2028    unsigned short __pad2 ;   2028    unsigned short __pad2 ;
2029    __off64_t st_size ;   2029    __off64_t st_size ;
2030    __blksize_t st_blksize ;   2030    __blksize_t st_blksize ;
2031    __blkcnt64_t st_blocks ;   2031    __blkcnt64_t st_blocks ;
2032    struct timespec st_atim ;   2032    struct timespec st_atim ;
2033    struct timespec st_mtim ;   2033    struct timespec st_mtim ;
2034    struct timespec st_ctim ;   2034    struct timespec st_ctim ;
2035    __ino64_t st_ino ;   2035    __ino64_t st_ino ;
2036 };   2036 };
2037 struct flock {   2037 struct flock {
2038    short l_type ;   2038    short l_type ;
2039    short l_whence ;   2039    short l_whence ;
2040    __off64_t l_start ;   2040    __off64_t l_start ;
2041    __off64_t l_len ;   2041    __off64_t l_len ;
2042    __pid_t l_pid ;   2042    __pid_t l_pid ;
2043 };   2043 };
2044 typedef __useconds_t useconds_t;   2044 typedef __useconds_t useconds_t;
2045 typedef __intptr_t intptr_t;   2045 typedef __intptr_t intptr_t;
2046 typedef __socklen_t socklen_t;   2046 typedef __socklen_t socklen_t;
2047 enum __anonenum_104 {   2047 enum __anonenum_104 {
2048     _PC_LINK_MAX = 0,   2048     _PC_LINK_MAX = 0,
2049     _PC_MAX_CANON = 1,   2049     _PC_MAX_CANON = 1,
2050     _PC_MAX_INPUT = 2,   2050     _PC_MAX_INPUT = 2,
2051     _PC_NAME_MAX = 3,   2051     _PC_NAME_MAX = 3,
2052     _PC_PATH_MAX = 4,   2052     _PC_PATH_MAX = 4,
2053     _PC_PIPE_BUF = 5,   2053     _PC_PIPE_BUF = 5,
2054     _PC_CHOWN_RESTRICTED = 6,   2054     _PC_CHOWN_RESTRICTED = 6,
2055     _PC_NO_TRUNC = 7,   2055     _PC_NO_TRUNC = 7,
2056     _PC_VDISABLE = 8,   2056     _PC_VDISABLE = 8,
2057     _PC_SYNC_IO = 9,   2057     _PC_SYNC_IO = 9,
2058     _PC_ASYNC_IO = 10,   2058     _PC_ASYNC_IO = 10,
2059     _PC_PRIO_IO = 11,   2059     _PC_PRIO_IO = 11,
2060     _PC_SOCK_MAXBUF = 12,   2060     _PC_SOCK_MAXBUF = 12,
2061     _PC_FILESIZEBITS = 13,   2061     _PC_FILESIZEBITS = 13,
2062     _PC_REC_INCR_XFER_SIZE = 14,   2062     _PC_REC_INCR_XFER_SIZE = 14,
2063     _PC_REC_MAX_XFER_SIZE = 15,   2063     _PC_REC_MAX_XFER_SIZE = 15,
2064     _PC_REC_MIN_XFER_SIZE = 16,   2064     _PC_REC_MIN_XFER_SIZE = 16,
2065     _PC_REC_XFER_ALIGN = 17,   2065     _PC_REC_XFER_ALIGN = 17,
2066     _PC_ALLOC_SIZE_MIN = 18,   2066     _PC_ALLOC_SIZE_MIN = 18,
2067     _PC_SYMLINK_MAX = 19,   2067     _PC_SYMLINK_MAX = 19,
2068     _PC_2_SYMLINKS = 20   2068     _PC_2_SYMLINKS = 20
2069 } ;   2069 } ;
2070 enum __anonenum_105 {   2070 enum __anonenum_105 {
2071     _SC_ARG_MAX = 0,   2071     _SC_ARG_MAX = 0,
2072     _SC_CHILD_MAX = 1,   2072     _SC_CHILD_MAX = 1,
2073     _SC_CLK_TCK = 2,   2073     _SC_CLK_TCK = 2,
2074     _SC_NGROUPS_MAX = 3,   2074     _SC_NGROUPS_MAX = 3,
2075     _SC_OPEN_MAX = 4,   2075     _SC_OPEN_MAX = 4,
2076     _SC_STREAM_MAX = 5,   2076     _SC_STREAM_MAX = 5,
2077     _SC_TZNAME_MAX = 6,   2077     _SC_TZNAME_MAX = 6,
2078     _SC_JOB_CONTROL = 7,   2078     _SC_JOB_CONTROL = 7,
2079     _SC_SAVED_IDS = 8,   2079     _SC_SAVED_IDS = 8,
2080     _SC_REALTIME_SIGNALS = 9,   2080     _SC_REALTIME_SIGNALS = 9,
2081     _SC_PRIORITY_SCHEDULING = 10,   2081     _SC_PRIORITY_SCHEDULING = 10,
2082     _SC_TIMERS = 11,   2082     _SC_TIMERS = 11,
2083     _SC_ASYNCHRONOUS_IO = 12,   2083     _SC_ASYNCHRONOUS_IO = 12,
2084     _SC_PRIORITIZED_IO = 13,   2084     _SC_PRIORITIZED_IO = 13,
2085     _SC_SYNCHRONIZED_IO = 14,   2085     _SC_SYNCHRONIZED_IO = 14,
2086     _SC_FSYNC = 15,   2086     _SC_FSYNC = 15,
2087     _SC_MAPPED_FILES = 16,   2087     _SC_MAPPED_FILES = 16,
2088     _SC_MEMLOCK = 17,   2088     _SC_MEMLOCK = 17,
2089     _SC_MEMLOCK_RANGE = 18,   2089     _SC_MEMLOCK_RANGE = 18,
2090     _SC_MEMORY_PROTECTION = 19,   2090     _SC_MEMORY_PROTECTION = 19,
2091     _SC_MESSAGE_PASSING = 20,   2091     _SC_MESSAGE_PASSING = 20,
2092     _SC_SEMAPHORES = 21,   2092     _SC_SEMAPHORES = 21,
2093     _SC_SHARED_MEMORY_OBJECTS = 22,   2093     _SC_SHARED_MEMORY_OBJECTS = 22,
2094     _SC_AIO_LISTIO_MAX = 23,   2094     _SC_AIO_LISTIO_MAX = 23,
2095     _SC_AIO_MAX = 24,   2095     _SC_AIO_MAX = 24,
2096     _SC_AIO_PRIO_DELTA_MAX = 25,   2096     _SC_AIO_PRIO_DELTA_MAX = 25,
2097     _SC_DELAYTIMER_MAX = 26,   2097     _SC_DELAYTIMER_MAX = 26,
2098     _SC_MQ_OPEN_MAX = 27,   2098     _SC_MQ_OPEN_MAX = 27,
2099     _SC_MQ_PRIO_MAX = 28,   2099     _SC_MQ_PRIO_MAX = 28,
2100     _SC_VERSION = 29,   2100     _SC_VERSION = 29,
2101     _SC_PAGESIZE = 30,   2101     _SC_PAGESIZE = 30,
2102     _SC_RTSIG_MAX = 31,   2102     _SC_RTSIG_MAX = 31,
2103     _SC_SEM_NSEMS_MAX = 32,   2103     _SC_SEM_NSEMS_MAX = 32,
2104     _SC_SEM_VALUE_MAX = 33,   2104     _SC_SEM_VALUE_MAX = 33,
2105     _SC_SIGQUEUE_MAX = 34,   2105     _SC_SIGQUEUE_MAX = 34,
2106     _SC_TIMER_MAX = 35,   2106     _SC_TIMER_MAX = 35,
2107     _SC_BC_BASE_MAX = 36,   2107     _SC_BC_BASE_MAX = 36,
2108     _SC_BC_DIM_MAX = 37,   2108     _SC_BC_DIM_MAX = 37,
2109     _SC_BC_SCALE_MAX = 38,   2109     _SC_BC_SCALE_MAX = 38,
2110     _SC_BC_STRING_MAX = 39,   2110     _SC_BC_STRING_MAX = 39,
2111     _SC_COLL_WEIGHTS_MAX = 40,   2111     _SC_COLL_WEIGHTS_MAX = 40,
2112     _SC_EQUIV_CLASS_MAX = 41,   2112     _SC_EQUIV_CLASS_MAX = 41,
2113     _SC_EXPR_NEST_MAX = 42,   2113     _SC_EXPR_NEST_MAX = 42,
2114     _SC_LINE_MAX = 43,   2114     _SC_LINE_MAX = 43,
2115     _SC_RE_DUP_MAX = 44,   2115     _SC_RE_DUP_MAX = 44,
2116     _SC_CHARCLASS_NAME_MAX = 45,   2116     _SC_CHARCLASS_NAME_MAX = 45,
2117     _SC_2_VERSION = 46,   2117     _SC_2_VERSION = 46,
2118     _SC_2_C_BIND = 47,   2118     _SC_2_C_BIND = 47,
2119     _SC_2_C_DEV = 48,   2119     _SC_2_C_DEV = 48,
2120     _SC_2_FORT_DEV = 49,   2120     _SC_2_FORT_DEV = 49,
2121     _SC_2_FORT_RUN = 50,   2121     _SC_2_FORT_RUN = 50,
2122     _SC_2_SW_DEV = 51,   2122     _SC_2_SW_DEV = 51,
2123     _SC_2_LOCALEDEF = 52,   2123     _SC_2_LOCALEDEF = 52,
2124     _SC_PII = 53,   2124     _SC_PII = 53,
2125     _SC_PII_XTI = 54,   2125     _SC_PII_XTI = 54,
2126     _SC_PII_SOCKET = 55,   2126     _SC_PII_SOCKET = 55,
2127     _SC_PII_INTERNET = 56,   2127     _SC_PII_INTERNET = 56,
2128     _SC_PII_OSI = 57,   2128     _SC_PII_OSI = 57,
2129     _SC_POLL = 58,   2129     _SC_POLL = 58,
2130     _SC_SELECT = 59,   2130     _SC_SELECT = 59,
2131     _SC_UIO_MAXIOV = 60,   2131     _SC_UIO_MAXIOV = 60,
2132     _SC_IOV_MAX = 60,   2132     _SC_IOV_MAX = 60,
2133     _SC_PII_INTERNET_STREAM = 61,   2133     _SC_PII_INTERNET_STREAM = 61,
2134     _SC_PII_INTERNET_DGRAM = 62,   2134     _SC_PII_INTERNET_DGRAM = 62,
2135     _SC_PII_OSI_COTS = 63,   2135     _SC_PII_OSI_COTS = 63,
2136     _SC_PII_OSI_CLTS = 64,   2136     _SC_PII_OSI_CLTS = 64,
2137     _SC_PII_OSI_M = 65,   2137     _SC_PII_OSI_M = 65,
2138     _SC_T_IOV_MAX = 66,   2138     _SC_T_IOV_MAX = 66,
2139     _SC_THREADS = 67,   2139     _SC_THREADS = 67,
2140     _SC_THREAD_SAFE_FUNCTIONS = 68,   2140     _SC_THREAD_SAFE_FUNCTIONS = 68,
2141     _SC_GETGR_R_SIZE_MAX = 69,   2141     _SC_GETGR_R_SIZE_MAX = 69,
2142     _SC_GETPW_R_SIZE_MAX = 70,   2142     _SC_GETPW_R_SIZE_MAX = 70,
2143     _SC_LOGIN_NAME_MAX = 71,   2143     _SC_LOGIN_NAME_MAX = 71,
2144     _SC_TTY_NAME_MAX = 72,   2144     _SC_TTY_NAME_MAX = 72,
2145     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,   2145     _SC_THREAD_DESTRUCTOR_ITERATIONS = 73,
2146     _SC_THREAD_KEYS_MAX = 74,   2146     _SC_THREAD_KEYS_MAX = 74,
2147     _SC_THREAD_STACK_MIN = 75,   2147     _SC_THREAD_STACK_MIN = 75,
2148     _SC_THREAD_THREADS_MAX = 76,   2148     _SC_THREAD_THREADS_MAX = 76,
2149     _SC_THREAD_ATTR_STACKADDR = 77,   2149     _SC_THREAD_ATTR_STACKADDR = 77,
2150     _SC_THREAD_ATTR_STACKSIZE = 78,   2150     _SC_THREAD_ATTR_STACKSIZE = 78,
2151     _SC_THREAD_PRIORITY_SCHEDULING = 79,   2151     _SC_THREAD_PRIORITY_SCHEDULING = 79,
2152     _SC_THREAD_PRIO_INHERIT = 80,   2152     _SC_THREAD_PRIO_INHERIT = 80,
2153     _SC_THREAD_PRIO_PROTECT = 81,   2153     _SC_THREAD_PRIO_PROTECT = 81,
2154     _SC_THREAD_PROCESS_SHARED = 82,   2154     _SC_THREAD_PROCESS_SHARED = 82,
2155     _SC_NPROCESSORS_CONF = 83,   2155     _SC_NPROCESSORS_CONF = 83,
2156     _SC_NPROCESSORS_ONLN = 84,   2156     _SC_NPROCESSORS_ONLN = 84,
2157     _SC_PHYS_PAGES = 85,   2157     _SC_PHYS_PAGES = 85,
2158     _SC_AVPHYS_PAGES = 86,   2158     _SC_AVPHYS_PAGES = 86,
2159     _SC_ATEXIT_MAX = 87,   2159     _SC_ATEXIT_MAX = 87,
2160     _SC_PASS_MAX = 88,   2160     _SC_PASS_MAX = 88,
2161     _SC_XOPEN_VERSION = 89,   2161     _SC_XOPEN_VERSION = 89,
2162     _SC_XOPEN_XCU_VERSION = 90,   2162     _SC_XOPEN_XCU_VERSION = 90,
2163     _SC_XOPEN_UNIX = 91,   2163     _SC_XOPEN_UNIX = 91,
2164     _SC_XOPEN_CRYPT = 92,   2164     _SC_XOPEN_CRYPT = 92,
2165     _SC_XOPEN_ENH_I18N = 93,   2165     _SC_XOPEN_ENH_I18N = 93,
2166     _SC_XOPEN_SHM = 94,   2166     _SC_XOPEN_SHM = 94,
2167     _SC_2_CHAR_TERM = 95,   2167     _SC_2_CHAR_TERM = 95,
2168     _SC_2_C_VERSION = 96,   2168     _SC_2_C_VERSION = 96,
2169     _SC_2_UPE = 97,   2169     _SC_2_UPE = 97,
2170     _SC_XOPEN_XPG2 = 98,   2170     _SC_XOPEN_XPG2 = 98,
2171     _SC_XOPEN_XPG3 = 99,   2171     _SC_XOPEN_XPG3 = 99,
2172     _SC_XOPEN_XPG4 = 100,   2172     _SC_XOPEN_XPG4 = 100,
2173     _SC_CHAR_BIT = 101,   2173     _SC_CHAR_BIT = 101,
2174     _SC_CHAR_MAX = 102,   2174     _SC_CHAR_MAX = 102,
2175     _SC_CHAR_MIN = 103,   2175     _SC_CHAR_MIN = 103,
2176     _SC_INT_MAX = 104,   2176     _SC_INT_MAX = 104,
2177     _SC_INT_MIN = 105,   2177     _SC_INT_MIN = 105,
2178     _SC_LONG_BIT = 106,   2178     _SC_LONG_BIT = 106,
2179     _SC_WORD_BIT = 107,   2179     _SC_WORD_BIT = 107,
2180     _SC_MB_LEN_MAX = 108,   2180     _SC_MB_LEN_MAX = 108,
2181     _SC_NZERO = 109,   2181     _SC_NZERO = 109,
2182     _SC_SSIZE_MAX = 110,   2182     _SC_SSIZE_MAX = 110,
2183     _SC_SCHAR_MAX = 111,   2183     _SC_SCHAR_MAX = 111,
2184     _SC_SCHAR_MIN = 112,   2184     _SC_SCHAR_MIN = 112,
2185     _SC_SHRT_MAX = 113,   2185     _SC_SHRT_MAX = 113,
2186     _SC_SHRT_MIN = 114,   2186     _SC_SHRT_MIN = 114,
2187     _SC_UCHAR_MAX = 115,   2187     _SC_UCHAR_MAX = 115,
2188     _SC_UINT_MAX = 116,   2188     _SC_UINT_MAX = 116,
2189     _SC_ULONG_MAX = 117,   2189     _SC_ULONG_MAX = 117,
2190     _SC_USHRT_MAX = 118,   2190     _SC_USHRT_MAX = 118,
2191     _SC_NL_ARGMAX = 119,   2191     _SC_NL_ARGMAX = 119,
2192     _SC_NL_LANGMAX = 120,   2192     _SC_NL_LANGMAX = 120,
2193     _SC_NL_MSGMAX = 121,   2193     _SC_NL_MSGMAX = 121,
2194     _SC_NL_NMAX = 122,   2194     _SC_NL_NMAX = 122,
2195     _SC_NL_SETMAX = 123,   2195     _SC_NL_SETMAX = 123,
2196     _SC_NL_TEXTMAX = 124,   2196     _SC_NL_TEXTMAX = 124,
2197     _SC_XBS5_ILP32_OFF32 = 125,   2197     _SC_XBS5_ILP32_OFF32 = 125,
2198     _SC_XBS5_ILP32_OFFBIG = 126,   2198     _SC_XBS5_ILP32_OFFBIG = 126,
2199     _SC_XBS5_LP64_OFF64 = 127,   2199     _SC_XBS5_LP64_OFF64 = 127,
2200     _SC_XBS5_LPBIG_OFFBIG = 128,   2200     _SC_XBS5_LPBIG_OFFBIG = 128,
2201     _SC_XOPEN_LEGACY = 129,   2201     _SC_XOPEN_LEGACY = 129,
2202     _SC_XOPEN_REALTIME = 130,   2202     _SC_XOPEN_REALTIME = 130,
2203     _SC_XOPEN_REALTIME_THREADS = 131,   2203     _SC_XOPEN_REALTIME_THREADS = 131,
2204     _SC_ADVISORY_INFO = 132,   2204     _SC_ADVISORY_INFO = 132,
2205     _SC_BARRIERS = 133,   2205     _SC_BARRIERS = 133,
2206     _SC_BASE = 134,   2206     _SC_BASE = 134,
2207     _SC_C_LANG_SUPPORT = 135,   2207     _SC_C_LANG_SUPPORT = 135,
2208     _SC_C_LANG_SUPPORT_R = 136,   2208     _SC_C_LANG_SUPPORT_R = 136,
2209     _SC_CLOCK_SELECTION = 137,   2209     _SC_CLOCK_SELECTION = 137,
2210     _SC_CPUTIME = 138,   2210     _SC_CPUTIME = 138,
2211     _SC_THREAD_CPUTIME = 139,   2211     _SC_THREAD_CPUTIME = 139,
2212     _SC_DEVICE_IO = 140,   2212     _SC_DEVICE_IO = 140,
2213     _SC_DEVICE_SPECIFIC = 141,   2213     _SC_DEVICE_SPECIFIC = 141,
2214     _SC_DEVICE_SPECIFIC_R = 142,   2214     _SC_DEVICE_SPECIFIC_R = 142,
2215     _SC_FD_MGMT = 143,   2215     _SC_FD_MGMT = 143,
2216     _SC_FIFO = 144,   2216     _SC_FIFO = 144,
2217     _SC_PIPE = 145,   2217     _SC_PIPE = 145,
2218     _SC_FILE_ATTRIBUTES = 146,   2218     _SC_FILE_ATTRIBUTES = 146,
2219     _SC_FILE_LOCKING = 147,   2219     _SC_FILE_LOCKING = 147,
2220     _SC_FILE_SYSTEM = 148,   2220     _SC_FILE_SYSTEM = 148,
2221     _SC_MONOTONIC_CLOCK = 149,   2221     _SC_MONOTONIC_CLOCK = 149,
2222     _SC_MULTI_PROCESS = 150,   2222     _SC_MULTI_PROCESS = 150,
2223     _SC_SINGLE_PROCESS = 151,   2223     _SC_SINGLE_PROCESS = 151,
2224     _SC_NETWORKING = 152,   2224     _SC_NETWORKING = 152,
2225     _SC_READER_WRITER_LOCKS = 153,   2225     _SC_READER_WRITER_LOCKS = 153,
2226     _SC_SPIN_LOCKS = 154,   2226     _SC_SPIN_LOCKS = 154,
2227     _SC_REGEXP = 155,   2227     _SC_REGEXP = 155,
2228     _SC_REGEX_VERSION = 156,   2228     _SC_REGEX_VERSION = 156,
2229     _SC_SHELL = 157,   2229     _SC_SHELL = 157,
2230     _SC_SIGNALS = 158,   2230     _SC_SIGNALS = 158,
2231     _SC_SPAWN = 159,   2231     _SC_SPAWN = 159,
2232     _SC_SPORADIC_SERVER = 160,   2232     _SC_SPORADIC_SERVER = 160,
2233     _SC_THREAD_SPORADIC_SERVER = 161,   2233     _SC_THREAD_SPORADIC_SERVER = 161,
2234     _SC_SYSTEM_DATABASE = 162,   2234     _SC_SYSTEM_DATABASE = 162,
2235     _SC_SYSTEM_DATABASE_R = 163,   2235     _SC_SYSTEM_DATABASE_R = 163,
2236     _SC_TIMEOUTS = 164,   2236     _SC_TIMEOUTS = 164,
2237     _SC_TYPED_MEMORY_OBJECTS = 165,   2237     _SC_TYPED_MEMORY_OBJECTS = 165,
2238     _SC_USER_GROUPS = 166,   2238     _SC_USER_GROUPS = 166,
2239     _SC_USER_GROUPS_R = 167,   2239     _SC_USER_GROUPS_R = 167,
2240     _SC_2_PBS = 168,   2240     _SC_2_PBS = 168,
2241     _SC_2_PBS_ACCOUNTING = 169,   2241     _SC_2_PBS_ACCOUNTING = 169,
2242     _SC_2_PBS_LOCATE = 170,   2242     _SC_2_PBS_LOCATE = 170,
2243     _SC_2_PBS_MESSAGE = 171,   2243     _SC_2_PBS_MESSAGE = 171,
2244     _SC_2_PBS_TRACK = 172,   2244     _SC_2_PBS_TRACK = 172,
2245     _SC_SYMLOOP_MAX = 173,   2245     _SC_SYMLOOP_MAX = 173,
2246     _SC_STREAMS = 174,   2246     _SC_STREAMS = 174,
2247     _SC_2_PBS_CHECKPOINT = 175,   2247     _SC_2_PBS_CHECKPOINT = 175,
2248     _SC_V6_ILP32_OFF32 = 176,   2248     _SC_V6_ILP32_OFF32 = 176,
2249     _SC_V6_ILP32_OFFBIG = 177,   2249     _SC_V6_ILP32_OFFBIG = 177,
2250     _SC_V6_LP64_OFF64 = 178,   2250     _SC_V6_LP64_OFF64 = 178,
2251     _SC_V6_LPBIG_OFFBIG = 179,   2251     _SC_V6_LPBIG_OFFBIG = 179,
2252     _SC_HOST_NAME_MAX = 180,   2252     _SC_HOST_NAME_MAX = 180,
2253     _SC_TRACE = 181,   2253     _SC_TRACE = 181,
2254     _SC_TRACE_EVENT_FILTER = 182,   2254     _SC_TRACE_EVENT_FILTER = 182,
2255     _SC_TRACE_INHERIT = 183,   2255     _SC_TRACE_INHERIT = 183,
2256     _SC_TRACE_LOG = 184,   2256     _SC_TRACE_LOG = 184,
2257     _SC_LEVEL1_ICACHE_SIZE = 185,   2257     _SC_LEVEL1_ICACHE_SIZE = 185,
2258     _SC_LEVEL1_ICACHE_ASSOC = 186,   2258     _SC_LEVEL1_ICACHE_ASSOC = 186,
2259     _SC_LEVEL1_ICACHE_LINESIZE = 187,   2259     _SC_LEVEL1_ICACHE_LINESIZE = 187,
2260     _SC_LEVEL1_DCACHE_SIZE = 188,   2260     _SC_LEVEL1_DCACHE_SIZE = 188,
2261     _SC_LEVEL1_DCACHE_ASSOC = 189,   2261     _SC_LEVEL1_DCACHE_ASSOC = 189,
2262     _SC_LEVEL1_DCACHE_LINESIZE = 190,   2262     _SC_LEVEL1_DCACHE_LINESIZE = 190,
2263     _SC_LEVEL2_CACHE_SIZE = 191,   2263     _SC_LEVEL2_CACHE_SIZE = 191,
2264     _SC_LEVEL2_CACHE_ASSOC = 192,   2264     _SC_LEVEL2_CACHE_ASSOC = 192,
2265     _SC_LEVEL2_CACHE_LINESIZE = 193,   2265     _SC_LEVEL2_CACHE_LINESIZE = 193,
2266     _SC_LEVEL3_CACHE_SIZE = 194,   2266     _SC_LEVEL3_CACHE_SIZE = 194,
2267     _SC_LEVEL3_CACHE_ASSOC = 195,   2267     _SC_LEVEL3_CACHE_ASSOC = 195,
2268     _SC_LEVEL3_CACHE_LINESIZE = 196,   2268     _SC_LEVEL3_CACHE_LINESIZE = 196,
2269     _SC_LEVEL4_CACHE_SIZE = 197,   2269     _SC_LEVEL4_CACHE_SIZE = 197,
2270     _SC_LEVEL4_CACHE_ASSOC = 198,   2270     _SC_LEVEL4_CACHE_ASSOC = 198,
2271     _SC_LEVEL4_CACHE_LINESIZE = 199,   2271     _SC_LEVEL4_CACHE_LINESIZE = 199,
2272     _SC_IPV6 = 235,   2272     _SC_IPV6 = 235,
2273     _SC_RAW_SOCKETS = 236,   2273     _SC_RAW_SOCKETS = 236,
2274     _SC_V7_ILP32_OFF32 = 237,   2274     _SC_V7_ILP32_OFF32 = 237,
2275     _SC_V7_ILP32_OFFBIG = 238,   2275     _SC_V7_ILP32_OFFBIG = 238,
2276     _SC_V7_LP64_OFF64 = 239,   2276     _SC_V7_LP64_OFF64 = 239,
2277     _SC_V7_LPBIG_OFFBIG = 240,   2277     _SC_V7_LPBIG_OFFBIG = 240,
2278     _SC_SS_REPL_MAX = 241,   2278     _SC_SS_REPL_MAX = 241,
2279     _SC_TRACE_EVENT_NAME_MAX = 242,   2279     _SC_TRACE_EVENT_NAME_MAX = 242,
2280     _SC_TRACE_NAME_MAX = 243,   2280     _SC_TRACE_NAME_MAX = 243,
2281     _SC_TRACE_SYS_MAX = 244,   2281     _SC_TRACE_SYS_MAX = 244,
2282     _SC_TRACE_USER_EVENT_MAX = 245,   2282     _SC_TRACE_USER_EVENT_MAX = 245,
2283     _SC_XOPEN_STREAMS = 246,   2283     _SC_XOPEN_STREAMS = 246,
2284     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,   2284     _SC_THREAD_ROBUST_PRIO_INHERIT = 247,
2285     _SC_THREAD_ROBUST_PRIO_PROTECT = 248   2285     _SC_THREAD_ROBUST_PRIO_PROTECT = 248
2286 } ;   2286 } ;
2287 enum __anonenum_106 {   2287 enum __anonenum_106 {
2288     _CS_PATH = 0,   2288     _CS_PATH = 0,
2289     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,   2289     _CS_V6_WIDTH_RESTRICTED_ENVS = 1,
2290     _CS_GNU_LIBC_VERSION = 2,   2290     _CS_GNU_LIBC_VERSION = 2,
2291     _CS_GNU_LIBPTHREAD_VERSION = 3,   2291     _CS_GNU_LIBPTHREAD_VERSION = 3,
2292     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,   2292     _CS_V5_WIDTH_RESTRICTED_ENVS = 4,
2293     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,   2293     _CS_V7_WIDTH_RESTRICTED_ENVS = 5,
2294     _CS_LFS_CFLAGS = 1000,   2294     _CS_LFS_CFLAGS = 1000,
2295     _CS_LFS_LDFLAGS = 1001,   2295     _CS_LFS_LDFLAGS = 1001,
2296     _CS_LFS_LIBS = 1002,   2296     _CS_LFS_LIBS = 1002,
2297     _CS_LFS_LINTFLAGS = 1003,   2297     _CS_LFS_LINTFLAGS = 1003,
2298     _CS_LFS64_CFLAGS = 1004,   2298     _CS_LFS64_CFLAGS = 1004,
2299     _CS_LFS64_LDFLAGS = 1005,   2299     _CS_LFS64_LDFLAGS = 1005,
2300     _CS_LFS64_LIBS = 1006,   2300     _CS_LFS64_LIBS = 1006,
2301     _CS_LFS64_LINTFLAGS = 1007,   2301     _CS_LFS64_LINTFLAGS = 1007,
2302     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,   2302     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
2303     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,   2303     _CS_XBS5_ILP32_OFF32_LDFLAGS = 1101,
2304     _CS_XBS5_ILP32_OFF32_LIBS = 1102,   2304     _CS_XBS5_ILP32_OFF32_LIBS = 1102,
2305     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,   2305     _CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103,
2306     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,   2306     _CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104,
2307     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,   2307     _CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105,
2308     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,   2308     _CS_XBS5_ILP32_OFFBIG_LIBS = 1106,
2309     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,   2309     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107,
2310     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,   2310     _CS_XBS5_LP64_OFF64_CFLAGS = 1108,
2311     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,   2311     _CS_XBS5_LP64_OFF64_LDFLAGS = 1109,
2312     _CS_XBS5_LP64_OFF64_LIBS = 1110,   2312     _CS_XBS5_LP64_OFF64_LIBS = 1110,
2313     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,   2313     _CS_XBS5_LP64_OFF64_LINTFLAGS = 1111,
2314     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,   2314     _CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112,
2315     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,   2315     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113,
2316     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,   2316     _CS_XBS5_LPBIG_OFFBIG_LIBS = 1114,
2317     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,   2317     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115,
2318     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,   2318     _CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116,
2319     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,   2319     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117,
2320     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,   2320     _CS_POSIX_V6_ILP32_OFF32_LIBS = 1118,
2321     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,   2321     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119,
2322     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,   2322     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120,
2323     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,   2323     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121,
2324     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,   2324     _CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122,
2325     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,   2325     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123,
2326     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,   2326     _CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124,
2327     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,   2327     _CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125,
2328     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,   2328     _CS_POSIX_V6_LP64_OFF64_LIBS = 1126,
2329     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,   2329     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127,
2330     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,   2330     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128,
2331     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,   2331     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129,
2332     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,   2332     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130,
2333     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,   2333     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131,
2334     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,   2334     _CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132,
2335     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,   2335     _CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133,
2336     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,   2336     _CS_POSIX_V7_ILP32_OFF32_LIBS = 1134,
2337     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,   2337     _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135,
2338     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,   2338     _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136,
2339     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,   2339     _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137,
2340     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,   2340     _CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138,
2341     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,   2341     _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139,
2342     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,   2342     _CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140,
2343     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,   2343     _CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141,
2344     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,   2344     _CS_POSIX_V7_LP64_OFF64_LIBS = 1142,
2345     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,   2345     _CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143,
2346     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,   2346     _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144,
2347     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,   2347     _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145,
2348     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,   2348     _CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146,
2349     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,   2349     _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147,
2350     _CS_V6_ENV = 1148,   2350     _CS_V6_ENV = 1148,
2351     _CS_V7_ENV = 1149   2351     _CS_V7_ENV = 1149
2352 } ;   2352 } ;
2353 typedef unsigned char uint8_t;   2353 typedef unsigned char uint8_t;
2354 typedef unsigned short uint16_t;   2354 typedef unsigned short uint16_t;
2355 typedef unsigned int uint32_t;   2355 typedef unsigned int uint32_t;
2356 typedef unsigned long long uint64_t;   2356 typedef unsigned long long uint64_t;
2357 typedef signed char int_least8_t;   2357 typedef signed char int_least8_t;
2358 typedef short int_least16_t;   2358 typedef short int_least16_t;
2359 typedef int int_least32_t;   2359 typedef int int_least32_t;
2360 typedef long long int_least64_t;   2360 typedef long long int_least64_t;
2361 typedef unsigned char uint_least8_t;   2361 typedef unsigned char uint_least8_t;
2362 typedef unsigned short uint_least16_t;   2362 typedef unsigned short uint_least16_t;
2363 typedef unsigned int uint_least32_t;   2363 typedef unsigned int uint_least32_t;
2364 typedef unsigned long long uint_least64_t;   2364 typedef unsigned long long uint_least64_t;
2365 typedef signed char int_fast8_t;   2365 typedef signed char int_fast8_t;
2366 typedef int int_fast16_t;   2366 typedef int int_fast16_t;
2367 typedef int int_fast32_t;   2367 typedef int int_fast32_t;
2368 typedef long long int_fast64_t;   2368 typedef long long int_fast64_t;
2369 typedef unsigned char uint_fast8_t;   2369 typedef unsigned char uint_fast8_t;
2370 typedef unsigned int uint_fast16_t;   2370 typedef unsigned int uint_fast16_t;
2371 typedef unsigned int uint_fast32_t;   2371 typedef unsigned int uint_fast32_t;
2372 typedef unsigned long long uint_fast64_t;   2372 typedef unsigned long long uint_fast64_t;
2373 typedef unsigned int uintptr_t;   2373 typedef unsigned int uintptr_t;
2374 typedef long long intmax_t;   2374 typedef long long intmax_t;
2375 typedef unsigned long long uintmax_t;   2375 typedef unsigned long long uintmax_t;
2376 struct iovec {   2376 struct iovec {
2377    void *iov_base ;   2377    void *iov_base ;
2378    size_t iov_len ;   2378    size_t iov_len ;
2379 };   2379 };
2380 enum __socket_type {   2380 enum __socket_type {
2381     SOCK_STREAM = 1,   2381     SOCK_STREAM = 1,
2382     SOCK_DGRAM = 2,   2382     SOCK_DGRAM = 2,
2383     SOCK_RAW = 3,   2383     SOCK_RAW = 3,
2384     SOCK_RDM = 4,   2384     SOCK_RDM = 4,
2385     SOCK_SEQPACKET = 5,   2385     SOCK_SEQPACKET = 5,
2386     SOCK_DCCP = 6,   2386     SOCK_DCCP = 6,
2387     SOCK_PACKET = 10,   2387     SOCK_PACKET = 10,
2388     SOCK_CLOEXEC = 524288,   2388     SOCK_CLOEXEC = 524288,
2389     SOCK_NONBLOCK = 2048   2389     SOCK_NONBLOCK = 2048
2390 } ;   2390 } ;
2391 typedef unsigned short sa_family_t;   2391 typedef unsigned short sa_family_t;
2392 struct sockaddr {   2392 struct sockaddr {
2393    sa_family_t sa_family ;   2393    sa_family_t sa_family ;
2394    char sa_data[14] ;   2394    char sa_data[14] ;
2395 };   2395 };
2396 struct sockaddr_storage {   2396 struct sockaddr_storage {
2397    sa_family_t ss_family ;   2397    sa_family_t ss_family ;
2398    unsigned long __ss_align ;   2398    unsigned long __ss_align ;
2399    char __ss_padding[128U - 2U * sizeof(unsigned long )] ;   2399    char __ss_padding[128U - 2U * sizeof(unsigned long )] ;
2400 };   2400 };
2401 enum __anonenum_107 {   2401 enum __anonenum_107 {
2402     MSG_OOB = 1,   2402     MSG_OOB = 1,
2403     MSG_PEEK = 2,   2403     MSG_PEEK = 2,
2404     MSG_DONTROUTE = 4,   2404     MSG_DONTROUTE = 4,
2405     MSG_CTRUNC = 8,   2405     MSG_CTRUNC = 8,
2406     MSG_PROXY = 16,   2406     MSG_PROXY = 16,
2407     MSG_TRUNC = 32,   2407     MSG_TRUNC = 32,
2408     MSG_DONTWAIT = 64,   2408     MSG_DONTWAIT = 64,
2409     MSG_EOR = 128,   2409     MSG_EOR = 128,
2410     MSG_WAITALL = 256,   2410     MSG_WAITALL = 256,
2411     MSG_FIN = 512,   2411     MSG_FIN = 512,
2412     MSG_SYN = 1024,   2412     MSG_SYN = 1024,
2413     MSG_CONFIRM = 2048,   2413     MSG_CONFIRM = 2048,
2414     MSG_RST = 4096,   2414     MSG_RST = 4096,
2415     MSG_ERRQUEUE = 8192,   2415     MSG_ERRQUEUE = 8192,
2416     MSG_NOSIGNAL = 16384,   2416     MSG_NOSIGNAL = 16384,
2417     MSG_MORE = 32768,   2417     MSG_MORE = 32768,
2418     MSG_WAITFORONE = 65536,   2418     MSG_WAITFORONE = 65536,
2419     MSG_CMSG_CLOEXEC = 1073741824   2419     MSG_CMSG_CLOEXEC = 1073741824
2420 } ;   2420 } ;
2421 struct msghdr {   2421 struct msghdr {
2422    void *msg_name ;   2422    void *msg_name ;
2423    socklen_t msg_namelen ;   2423    socklen_t msg_namelen ;
2424    struct iovec *msg_iov ;   2424    struct iovec *msg_iov ;
2425    size_t msg_iovlen ;   2425    size_t msg_iovlen ;
2426    void *msg_control ;   2426    void *msg_control ;
2427    size_t msg_controllen ;   2427    size_t msg_controllen ;
2428    int msg_flags ;   2428    int msg_flags ;
2429 };   2429 };
2430 struct cmsghdr {   2430 struct cmsghdr {
2431    size_t cmsg_len ;   2431    size_t cmsg_len ;
2432    int cmsg_level ;   2432    int cmsg_level ;
2433    int cmsg_type ;   2433    int cmsg_type ;
2434    unsigned char __cmsg_data[] ;   2434    unsigned char __cmsg_data[] ;
2435 };   2435 };
2436 enum __anonenum_108 {   2436 enum __anonenum_108 {
2437     SCM_RIGHTS = 1   2437     SCM_RIGHTS = 1
2438 } ;   2438 } ;
2439 struct linger {   2439 struct linger {
2440    int l_onoff ;   2440    int l_onoff ;
2441    int l_linger ;   2441    int l_linger ;
2442 };   2442 };
2443 struct mmsghdr;   2443 struct mmsghdr;
2444 struct osockaddr {   2444 struct osockaddr {
2445    unsigned short sa_family ;   2445    unsigned short sa_family ;
2446    unsigned char sa_data[14] ;   2446    unsigned char sa_data[14] ;
2447 };   2447 };
2448 enum __anonenum_109 {   2448 enum __anonenum_109 {
2449     SHUT_RD = 0,   2449     SHUT_RD = 0,
2450     SHUT_WR = 1,   2450     SHUT_WR = 1,
2451     SHUT_RDWR = 2   2451     SHUT_RDWR = 2
2452 } ;   2452 } ;
2453 enum __anonenum_110 {   2453 enum __anonenum_110 {
2454     IPPROTO_IP = 0,   2454     IPPROTO_IP = 0,
2455     IPPROTO_HOPOPTS = 0,   2455     IPPROTO_HOPOPTS = 0,
2456     IPPROTO_ICMP = 1,   2456     IPPROTO_ICMP = 1,
2457     IPPROTO_IGMP = 2,   2457     IPPROTO_IGMP = 2,
2458     IPPROTO_IPIP = 4,   2458     IPPROTO_IPIP = 4,
2459     IPPROTO_TCP = 6,   2459     IPPROTO_TCP = 6,
2460     IPPROTO_EGP = 8,   2460     IPPROTO_EGP = 8,
2461     IPPROTO_PUP = 12,   2461     IPPROTO_PUP = 12,
2462     IPPROTO_UDP = 17,   2462     IPPROTO_UDP = 17,
2463     IPPROTO_IDP = 22,   2463     IPPROTO_IDP = 22,
2464     IPPROTO_TP = 29,   2464     IPPROTO_TP = 29,
2465     IPPROTO_DCCP = 33,   2465     IPPROTO_DCCP = 33,
2466     IPPROTO_IPV6 = 41,   2466     IPPROTO_IPV6 = 41,
2467     IPPROTO_ROUTING = 43,   2467     IPPROTO_ROUTING = 43,
2468     IPPROTO_FRAGMENT = 44,   2468     IPPROTO_FRAGMENT = 44,
2469     IPPROTO_RSVP = 46,   2469     IPPROTO_RSVP = 46,
2470     IPPROTO_GRE = 47,   2470     IPPROTO_GRE = 47,
2471     IPPROTO_ESP = 50,   2471     IPPROTO_ESP = 50,
2472     IPPROTO_AH = 51,   2472     IPPROTO_AH = 51,
2473     IPPROTO_ICMPV6 = 58,   2473     IPPROTO_ICMPV6 = 58,
2474     IPPROTO_NONE = 59,   2474     IPPROTO_NONE = 59,
2475     IPPROTO_DSTOPTS = 60,   2475     IPPROTO_DSTOPTS = 60,
2476     IPPROTO_MTP = 92,   2476     IPPROTO_MTP = 92,
2477     IPPROTO_ENCAP = 98,   2477     IPPROTO_ENCAP = 98,
2478     IPPROTO_PIM = 103,   2478     IPPROTO_PIM = 103,
2479     IPPROTO_COMP = 108,   2479     IPPROTO_COMP = 108,
2480     IPPROTO_SCTP = 132,   2480     IPPROTO_SCTP = 132,
2481     IPPROTO_UDPLITE = 136,   2481     IPPROTO_UDPLITE = 136,
2482     IPPROTO_RAW = 255,   2482     IPPROTO_RAW = 255,
2483     IPPROTO_MAX = 256   2483     IPPROTO_MAX = 256
2484 } ;   2484 } ;
2485 typedef uint16_t in_port_t;   2485 typedef uint16_t in_port_t;
2486 enum __anonenum_111 {   2486 enum __anonenum_111 {
2487     IPPORT_ECHO = 7,   2487     IPPORT_ECHO = 7,
2488     IPPORT_DISCARD = 9,   2488     IPPORT_DISCARD = 9,
2489     IPPORT_SYSTAT = 11,   2489     IPPORT_SYSTAT = 11,
2490     IPPORT_DAYTIME = 13,   2490     IPPORT_DAYTIME = 13,
2491     IPPORT_NETSTAT = 15,   2491     IPPORT_NETSTAT = 15,
2492     IPPORT_FTP = 21,   2492     IPPORT_FTP = 21,
2493     IPPORT_TELNET = 23,   2493     IPPORT_TELNET = 23,
2494     IPPORT_SMTP = 25,   2494     IPPORT_SMTP = 25,
2495     IPPORT_TIMESERVER = 37,   2495     IPPORT_TIMESERVER = 37,
2496     IPPORT_NAMESERVER = 42,   2496     IPPORT_NAMESERVER = 42,
2497     IPPORT_WHOIS = 43,   2497     IPPORT_WHOIS = 43,
2498     IPPORT_MTP = 57,   2498     IPPORT_MTP = 57,
2499     IPPORT_TFTP = 69,   2499     IPPORT_TFTP = 69,
2500     IPPORT_RJE = 77,   2500     IPPORT_RJE = 77,
2501     IPPORT_FINGER = 79,   2501     IPPORT_FINGER = 79,
2502     IPPORT_TTYLINK = 87,   2502     IPPORT_TTYLINK = 87,
2503     IPPORT_SUPDUP = 95,   2503     IPPORT_SUPDUP = 95,
2504     IPPORT_EXECSERVER = 512,   2504     IPPORT_EXECSERVER = 512,
2505     IPPORT_LOGINSERVER = 513,   2505     IPPORT_LOGINSERVER = 513,
2506     IPPORT_CMDSERVER = 514,   2506     IPPORT_CMDSERVER = 514,
2507     IPPORT_EFSSERVER = 520,   2507     IPPORT_EFSSERVER = 520,
2508     IPPORT_BIFFUDP = 512,   2508     IPPORT_BIFFUDP = 512,
2509     IPPORT_WHOSERVER = 513,   2509     IPPORT_WHOSERVER = 513,
2510     IPPORT_ROUTESERVER = 520,   2510     IPPORT_ROUTESERVER = 520,
2511     IPPORT_RESERVED = 1024,   2511     IPPORT_RESERVED = 1024,
2512     IPPORT_USERRESERVED = 5000   2512     IPPORT_USERRESERVED = 5000
2513 } ;   2513 } ;
2514 typedef uint32_t in_addr_t;   2514 typedef uint32_t in_addr_t;
2515 struct in_addr {   2515 struct in_addr {
2516    in_addr_t s_addr ;   2516    in_addr_t s_addr ;
2517 };   2517 };
2518 union __anonunion___in6_u_112 {   2518 union __anonunion___in6_u_112 {
2519    uint8_t __u6_addr8[16] ;   2519    uint8_t __u6_addr8[16] ;
2520    uint16_t __u6_addr16[8] ;   2520    uint16_t __u6_addr16[8] ;
2521    uint32_t __u6_addr32[4] ;   2521    uint32_t __u6_addr32[4] ;
2522 };   2522 };
2523 struct in6_addr {   2523 struct in6_addr {
2524    union __anonunion___in6_u_112 __in6_u ;   2524    union __anonunion___in6_u_112 __in6_u ;
2525 };   2525 };
2526 struct sockaddr_in {   2526 struct sockaddr_in {
2527    sa_family_t sin_family ;   2527    sa_family_t sin_family ;
2528    in_port_t sin_port ;   2528    in_port_t sin_port ;
2529    struct in_addr sin_addr ;   2529    struct in_addr sin_addr ;
2530    unsigned char sin_zero[((sizeof(struct sockaddr ) - sizeof(unsigned short )) - sizeof(in_port_t )) - sizeof(struct in_addr )] ;   2530    unsigned char sin_zero[((sizeof(struct sockaddr ) - sizeof(unsigned short )) - sizeof(in_port_t )) - sizeof(struct in_addr )] ;
2531 };   2531 };
2532 struct sockaddr_in6 {   2532 struct sockaddr_in6 {
2533    sa_family_t sin6_family ;   2533    sa_family_t sin6_family ;
2534    in_port_t sin6_port ;   2534    in_port_t sin6_port ;
2535    uint32_t sin6_flowinfo ;   2535    uint32_t sin6_flowinfo ;
2536    struct in6_addr sin6_addr ;   2536    struct in6_addr sin6_addr ;
2537    uint32_t sin6_scope_id ;   2537    uint32_t sin6_scope_id ;
2538 };   2538 };
2539 struct ip_mreq {   2539 struct ip_mreq {
2540    struct in_addr imr_multiaddr ;   2540    struct in_addr imr_multiaddr ;
2541    struct in_addr imr_interface ;   2541    struct in_addr imr_interface ;
2542 };   2542 };
2543 struct ip_mreq_source {   2543 struct ip_mreq_source {
2544    struct in_addr imr_multiaddr ;   2544    struct in_addr imr_multiaddr ;
2545    struct in_addr imr_interface ;   2545    struct in_addr imr_interface ;
2546    struct in_addr imr_sourceaddr ;   2546    struct in_addr imr_sourceaddr ;
2547 };   2547 };
2548 struct ipv6_mreq {   2548 struct ipv6_mreq {
2549    struct in6_addr ipv6mr_multiaddr ;   2549    struct in6_addr ipv6mr_multiaddr ;
2550    unsigned int ipv6mr_interface ;   2550    unsigned int ipv6mr_interface ;
2551 };   2551 };
2552 struct group_req {   2552 struct group_req {
2553    uint32_t gr_interface ;   2553    uint32_t gr_interface ;
2554    struct sockaddr_storage gr_group ;   2554    struct sockaddr_storage gr_group ;
2555 };   2555 };
2556 struct group_source_req {   2556 struct group_source_req {
2557    uint32_t gsr_interface ;   2557    uint32_t gsr_interface ;
2558    struct sockaddr_storage gsr_group ;   2558    struct sockaddr_storage gsr_group ;
2559    struct sockaddr_storage gsr_source ;   2559    struct sockaddr_storage gsr_source ;
2560 };   2560 };
2561 struct ip_msfilter {   2561 struct ip_msfilter {
2562    struct in_addr imsf_multiaddr ;   2562    struct in_addr imsf_multiaddr ;
2563    struct in_addr imsf_interface ;   2563    struct in_addr imsf_interface ;
2564    uint32_t imsf_fmode ;   2564    uint32_t imsf_fmode ;
2565    uint32_t imsf_numsrc ;   2565    uint32_t imsf_numsrc ;
2566    struct in_addr imsf_slist[1] ;   2566    struct in_addr imsf_slist[1] ;
2567 };   2567 };
2568 struct group_filter {   2568 struct group_filter {
2569    uint32_t gf_interface ;   2569    uint32_t gf_interface ;
2570    struct sockaddr_storage gf_group ;   2570    struct sockaddr_storage gf_group ;
2571    uint32_t gf_fmode ;   2571    uint32_t gf_fmode ;
2572    uint32_t gf_numsrc ;   2572    uint32_t gf_numsrc ;
2573    struct sockaddr_storage gf_slist[1] ;   2573    struct sockaddr_storage gf_slist[1] ;
2574 };   2574 };
2575 struct ip_opts {   2575 struct ip_opts {
2576    struct in_addr ip_dst ;   2576    struct in_addr ip_dst ;
2577    char ip_opts[40] ;   2577    char ip_opts[40] ;
2578 };   2578 };
2579 struct ip_mreqn {   2579 struct ip_mreqn {
2580    struct in_addr imr_multiaddr ;   2580    struct in_addr imr_multiaddr ;
2581    struct in_addr imr_address ;   2581    struct in_addr imr_address ;
2582    int imr_ifindex ;   2582    int imr_ifindex ;
2583 };   2583 };
2584 struct in_pktinfo {   2584 struct in_pktinfo {
2585    int ipi_ifindex ;   2585    int ipi_ifindex ;
2586    struct in_addr ipi_spec_dst ;   2586    struct in_addr ipi_spec_dst ;
2587    struct in_addr ipi_addr ;   2587    struct in_addr ipi_addr ;
2588 };   2588 };
2589 struct option {   2589 struct option {
2590    char const   *name ;   2590    char const   *name ;
2591    int has_arg ;   2591    int has_arg ;
2592    int *flag ;   2592    int *flag ;
2593    int val ;   2593    int val ;
2594 };   2594 };
2595 struct rpcent {   2595 struct rpcent {
2596    char *r_name ;   2596    char *r_name ;
2597    char **r_aliases ;   2597    char **r_aliases ;
2598    int r_number ;   2598    int r_number ;
2599 };   2599 };
2600 struct netent {   2600 struct netent {
2601    char *n_name ;   2601    char *n_name ;
2602    char **n_aliases ;   2602    char **n_aliases ;
2603    int n_addrtype ;   2603    int n_addrtype ;
2604    uint32_t n_net ;   2604    uint32_t n_net ;
2605 };   2605 };
2606 struct hostent {   2606 struct hostent {
2607    char *h_name ;   2607    char *h_name ;
2608    char **h_aliases ;   2608    char **h_aliases ;
2609    int h_addrtype ;   2609    int h_addrtype ;
2610    int h_length ;   2610    int h_length ;
2611    char **h_addr_list ;   2611    char **h_addr_list ;
2612 };   2612 };
2613 struct servent {   2613 struct servent {
2614    char *s_name ;   2614    char *s_name ;
2615    char **s_aliases ;   2615    char **s_aliases ;
2616    int s_port ;   2616    int s_port ;
2617    char *s_proto ;   2617    char *s_proto ;
2618 };   2618 };
2619 struct protoent {   2619 struct protoent {
2620    char *p_name ;   2620    char *p_name ;
2621    char **p_aliases ;   2621    char **p_aliases ;
2622    int p_proto ;   2622    int p_proto ;
2623 };   2623 };
2624 struct addrinfo {   2624 struct addrinfo {
2625    int ai_flags ;   2625    int ai_flags ;
2626    int ai_family ;   2626    int ai_family ;
2627    int ai_socktype ;   2627    int ai_socktype ;
2628    int ai_protocol ;   2628    int ai_protocol ;
2629    socklen_t ai_addrlen ;   2629    socklen_t ai_addrlen ;
2630    struct sockaddr *ai_addr ;   2630    struct sockaddr *ai_addr ;
2631    char *ai_canonname ;   2631    char *ai_canonname ;
2632    struct addrinfo *ai_next ;   2632    struct addrinfo *ai_next ;
2633 };   2633 };
2634 struct __anonstruct_col_expr_t_113 {   2634 struct __anonstruct_col_expr_t_113 {
2635    gchar const   **col_expr ;   2635    gchar const   **col_expr ;
2636    gchar **col_expr_val ;   2636    gchar **col_expr_val ;
2637 };   2637 };
2638 typedef struct __anonstruct_col_expr_t_113 col_expr_t;   2638 typedef struct __anonstruct_col_expr_t_113 col_expr_t;
2639 struct _dfilter_t;   2639 struct _dfilter_t;
2640 struct _column_info {   2640 struct _column_info {
2641    gint num_cols ;   2641    gint num_cols ;
2642    gint *col_fmt ;   2642    gint *col_fmt ;
2643    gboolean **fmt_matx ;   2643    gboolean **fmt_matx ;
2644    gint *col_first ;   2644    gint *col_first ;
2645    gint *col_last ;   2645    gint *col_last ;
2646    gchar **col_title ;   2646    gchar **col_title ;
2647    gchar **col_custom_field ;   2647    gchar **col_custom_field ;
2648    gint *col_custom_occurrence ;   2648    gint *col_custom_occurrence ;
2649    gint *col_custom_field_id ;   2649    gint *col_custom_field_id ;
2650    struct _dfilter_t **col_custom_dfilter ;   2650    struct _dfilter_t **col_custom_dfilter ;
2651    gchar const   **col_data ;   2651    gchar const   **col_data ;
2652    gchar **col_buf ;   2652    gchar **col_buf ;
2653    int *col_fence ;   2653    int *col_fence ;
2654    col_expr_t col_expr ;   2654    col_expr_t col_expr ;
2655    gboolean writable ;   2655    gboolean writable ;
2656    gboolean columns_changed ;   2656    gboolean columns_changed ;
2657 };   2657 };
2658 typedef struct _column_info column_info;   2658 typedef struct _column_info column_info;
2659 enum __anonenum_114 {   2659 enum __anonenum_114 {
2660     COL_8021Q_VLAN_ID = 0,   2660     COL_8021Q_VLAN_ID = 0,
2661     COL_ABS_DATE_TIME = 1,   2661     COL_ABS_DATE_TIME = 1,
2662     COL_ABS_TIME = 2,   2662     COL_ABS_TIME = 2,
2663     COL_CIRCUIT_ID = 3,   2663     COL_CIRCUIT_ID = 3,
2664     COL_DSTIDX = 4,   2664     COL_DSTIDX = 4,
2665     COL_SRCIDX = 5,   2665     COL_SRCIDX = 5,
2666     COL_VSAN = 6,   2666     COL_VSAN = 6,
2667     COL_CUMULATIVE_BYTES = 7,   2667     COL_CUMULATIVE_BYTES = 7,
2668     COL_CUSTOM = 8,   2668     COL_CUSTOM = 8,
2669     COL_DCE_CALL = 9,   2669     COL_DCE_CALL = 9,
2670     COL_DCE_CTX = 10,   2670     COL_DCE_CTX = 10,
2671     COL_DELTA_TIME = 11,   2671     COL_DELTA_TIME = 11,
2672     COL_DELTA_CONV_TIME = 12,   2672     COL_DELTA_CONV_TIME = 12,
2673     COL_DELTA_TIME_DIS = 13,   2673     COL_DELTA_TIME_DIS = 13,
2674     COL_RES_DST = 14,   2674     COL_RES_DST = 14,
2675     COL_UNRES_DST = 15,   2675     COL_UNRES_DST = 15,
2676     COL_RES_DST_PORT = 16,   2676     COL_RES_DST_PORT = 16,
2677     COL_UNRES_DST_PORT = 17,   2677     COL_UNRES_DST_PORT = 17,
2678     COL_DEF_DST = 18,   2678     COL_DEF_DST = 18,
2679     COL_DEF_DST_PORT = 19,   2679     COL_DEF_DST_PORT = 19,
2680     COL_EXPERT = 20,   2680     COL_EXPERT = 20,
2681     COL_IF_DIR = 21,   2681     COL_IF_DIR = 21,
2682     COL_OXID = 22,   2682     COL_OXID = 22,
2683     COL_RXID = 23,   2683     COL_RXID = 23,
2684     COL_FR_DLCI = 24,   2684     COL_FR_DLCI = 24,
2685     COL_FREQ_CHAN = 25,   2685     COL_FREQ_CHAN = 25,
2686     COL_BSSGP_TLLI = 26,   2686     COL_BSSGP_TLLI = 26,
2687     COL_HPUX_DEVID = 27,   2687     COL_HPUX_DEVID = 27,
2688     COL_HPUX_SUBSYS = 28,   2688     COL_HPUX_SUBSYS = 28,
2689     COL_DEF_DL_DST = 29,   2689     COL_DEF_DL_DST = 29,
2690     COL_DEF_DL_SRC = 30,   2690     COL_DEF_DL_SRC = 30,
2691     COL_RES_DL_DST = 31,   2691     COL_RES_DL_DST = 31,
2692     COL_UNRES_DL_DST = 32,   2692     COL_UNRES_DL_DST = 32,
2693     COL_RES_DL_SRC = 33,   2693     COL_RES_DL_SRC = 33,
2694     COL_UNRES_DL_SRC = 34,   2694     COL_UNRES_DL_SRC = 34,
2695     COL_RSSI = 35,   2695     COL_RSSI = 35,
2696     COL_TX_RATE = 36,   2696     COL_TX_RATE = 36,
2697     COL_DSCP_VALUE = 37,   2697     COL_DSCP_VALUE = 37,
2698     COL_INFO = 38,   2698     COL_INFO = 38,
2699     COL_COS_VALUE = 39,   2699     COL_COS_VALUE = 39,
2700     COL_RES_NET_DST = 40,   2700     COL_RES_NET_DST = 40,
2701     COL_UNRES_NET_DST = 41,   2701     COL_UNRES_NET_DST = 41,
2702     COL_RES_NET_SRC = 42,   2702     COL_RES_NET_SRC = 42,
2703     COL_UNRES_NET_SRC = 43,   2703     COL_UNRES_NET_SRC = 43,
2704     COL_DEF_NET_DST = 44,   2704     COL_DEF_NET_DST = 44,
2705     COL_DEF_NET_SRC = 45,   2705     COL_DEF_NET_SRC = 45,
2706     COL_NUMBER = 46,   2706     COL_NUMBER = 46,
2707     COL_PACKET_LENGTH = 47,   2707     COL_PACKET_LENGTH = 47,
2708     COL_PROTOCOL = 48,   2708     COL_PROTOCOL = 48,
2709     COL_REL_TIME = 49,   2709     COL_REL_TIME = 49,
2710     COL_REL_CONV_TIME = 50,   2710     COL_REL_CONV_TIME = 50,
2711     COL_DEF_SRC = 51,   2711     COL_DEF_SRC = 51,
2712     COL_DEF_SRC_PORT = 52,   2712     COL_DEF_SRC_PORT = 52,
2713     COL_RES_SRC = 53,   2713     COL_RES_SRC = 53,
2714     COL_UNRES_SRC = 54,   2714     COL_UNRES_SRC = 54,
2715     COL_RES_SRC_PORT = 55,   2715     COL_RES_SRC_PORT = 55,
2716     COL_UNRES_SRC_PORT = 56,   2716     COL_UNRES_SRC_PORT = 56,
2717     COL_TEI = 57,   2717     COL_TEI = 57,
2718     COL_CLS_TIME = 58,   2718     COL_CLS_TIME = 58,
2719     NUM_COL_FMTS = 59   2719     NUM_COL_FMTS = 59
2720 } ;   2720 } ;
2721 struct e_in6_addr {   2721 struct e_in6_addr {
2722    guint8 bytes[16] ;   2722    guint8 bytes[16] ;
2723 };   2723 };
2724 struct _e_guid_t {   2724 struct _e_guid_t {
2725    guint32 data1 ;   2725    guint32 data1 ;
2726    guint16 data2 ;   2726    guint16 data2 ;
2727    guint16 data3 ;   2727    guint16 data3 ;
2728    guint8 data4[8] ;   2728    guint8 data4[8] ;
2729 };   2729 };
2730 typedef struct _e_guid_t e_guid_t;   2730 typedef struct _e_guid_t e_guid_t;
2731 typedef int __jmp_buf[6];   2731 typedef int __jmp_buf[6];
2732 struct __jmp_buf_tag {   2732 struct __jmp_buf_tag {
2733    __jmp_buf __jmpbuf ;   2733    __jmp_buf __jmpbuf ;
2734    int __mask_was_saved ;   2734    int __mask_was_saved ;
2735    __sigset_t __saved_mask ;   2735    __sigset_t __saved_mask ;
2736 };   2736 };
2737 typedef struct __jmp_buf_tag jmp_buf[1];   2737 typedef struct __jmp_buf_tag jmp_buf[1];
2738 typedef struct __jmp_buf_tag sigjmp_buf[1];   2738 typedef struct __jmp_buf_tag sigjmp_buf[1];
2739 enum __anonenum_115 {   2739 enum __anonenum_115 {
2740     except_no_call = 0,   2740     except_no_call = 0,
2741     except_call = 1   2741     except_call = 1
2742 } ;   2742 } ;
2743 struct __anonstruct_except_id_t_116 {   2743 struct __anonstruct_except_id_t_116 {
2744    unsigned long except_group ;   2744    unsigned long except_group ;
2745    unsigned long except_code ;   2745    unsigned long except_code ;
2746 };   2746 };
2747 typedef struct __anonstruct_except_id_t_116 except_id_t;   2747 typedef struct __anonstruct_except_id_t_116 except_id_t;
2748 struct __anonstruct_except_t_117 {   2748 struct __anonstruct_except_t_117 {
2749    except_id_t volatile   except_id ;   2749    except_id_t volatile   except_id ;
2750    char const   * volatile  except_message ;   2750    char const   * volatile  except_message ;
2751    void * volatile  except_dyndata ;   2751    void * volatile  except_dyndata ;
2752 };   2752 };
2753 typedef struct __anonstruct_except_t_117 except_t;   2753 typedef struct __anonstruct_except_t_117 except_t;
2754 struct except_cleanup {   2754 struct except_cleanup {
2755    void (*except_func)(void * ) ;   2755    void (*except_func)(void * ) ;
2756    void *except_context ;   2756    void *except_context ;
2757 };   2757 };
2758 struct except_catch {   2758 struct except_catch {
2759    except_id_t const   *except_id ;   2759    except_id_t const   *except_id ;
2760    size_t except_size ;   2760    size_t except_size ;
2761    except_t except_obj ;   2761    except_t except_obj ;
2762    jmp_buf except_jmp ;   2762    jmp_buf except_jmp ;
2763 };   2763 };
2764 enum except_stacktype {   2764 enum except_stacktype {
2765     XCEPT_CLEANUP = 0,   2765     XCEPT_CLEANUP = 0,
2766     XCEPT_CATCHER = 1   2766     XCEPT_CATCHER = 1
2767 } ;   2767 } ;
2768 union __anonunion_except_info_118 {   2768 union __anonunion_except_info_118 {
2769    struct except_catch *except_catcher ;   2769    struct except_catch *except_catcher ;
2770    struct except_cleanup *except_cleanup ;   2770    struct except_cleanup *except_cleanup ;
2771 };   2771 };
2772 struct except_stacknode {   2772 struct except_stacknode {
2773    struct except_stacknode *except_down ;   2773    struct except_stacknode *except_down ;
2774    enum except_stacktype except_type ;   2774    enum except_stacktype except_type ;
2775    union __anonunion_except_info_118 except_info ;   2775    union __anonunion_except_info_118 except_info ;
2776 };   2776 };
2777 enum __anonenum_tvbuff_type_119 {   2777 enum __anonenum_tvbuff_type_119 {
2778     TVBUFF_REAL_DATA = 0,   2778     TVBUFF_REAL_DATA = 0,
2779     TVBUFF_SUBSET = 1,   2779     TVBUFF_SUBSET = 1,
2780     TVBUFF_COMPOSITE = 2   2780     TVBUFF_COMPOSITE = 2
2781 } ;   2781 } ;
2782 typedef enum __anonenum_tvbuff_type_119 tvbuff_type;   2782 typedef enum __anonenum_tvbuff_type_119 tvbuff_type;
2783 struct tvbuff;   2783 struct tvbuff;
2784 struct __anonstruct_tvb_backing_t_120 {   2784 struct __anonstruct_tvb_backing_t_120 {
2785    struct tvbuff *tvb ;   2785    struct tvbuff *tvb ;
2786    guint offset ;   2786    guint offset ;
2787    guint length ;   2787    guint length ;
2788 };   2788 };
2789 typedef struct __anonstruct_tvb_backing_t_120 tvb_backing_t;   2789 typedef struct __anonstruct_tvb_backing_t_120 tvb_backing_t;
2790 struct __anonstruct_tvb_comp_t_121 {   2790 struct __anonstruct_tvb_comp_t_121 {
2791    GSList *tvbs ;   2791    GSList *tvbs ;
2792    guint *start_offsets ;   2792    guint *start_offsets ;
2793    guint *end_offsets ;   2793    guint *end_offsets ;
2794 };   2794 };
2795 typedef struct __anonstruct_tvb_comp_t_121 tvb_comp_t;   2795 typedef struct __anonstruct_tvb_comp_t_121 tvb_comp_t;
2796 typedef void (*tvbuff_free_cb_t)(void * );   2796 typedef void (*tvbuff_free_cb_t)(void * );
2797 union __anonunion_tvbuffs_122 {   2797 union __anonunion_tvbuffs_122 {
2798    tvb_backing_t subset ;   2798    tvb_backing_t subset ;
2799    tvb_comp_t composite ;   2799    tvb_comp_t composite ;
2800 };   2800 };
2801 struct tvbuff {   2801 struct tvbuff {
2802    tvbuff_type type ;   2802    tvbuff_type type ;
2803    gboolean initialized ;   2803    gboolean initialized ;
2804    guint usage_count ;   2804    guint usage_count ;
2805    struct tvbuff *ds_tvb ;   2805    struct tvbuff *ds_tvb ;
2806    GSList *used_in ;   2806    GSList *used_in ;
2807    union __anonunion_tvbuffs_122 tvbuffs ;   2807    union __anonunion_tvbuffs_122 tvbuffs ;
2808    guint8 const   *real_data ;   2808    guint8 const   *real_data ;
2809    guint length ;   2809    guint length ;
2810    guint reported_length ;   2810    guint reported_length ;
2811    gint raw_offset ;   2811    gint raw_offset ;
2812    void (*free_cb)(void * ) ;   2812    void (*free_cb)(void * ) ;
2813 };   2813 };
2814 typedef struct tvbuff tvbuff_t;   2814 typedef struct tvbuff tvbuff_t;
2815 struct dgt_set_t {   2815 struct dgt_set_t {
2816    unsigned char const   out[15] ;   2816    unsigned char const   out[15] ;
2817 };   2817 };
2818 typedef struct dgt_set_t dgt_set_t;   2818 typedef struct dgt_set_t dgt_set_t;
2819 struct timezone {   2819 struct timezone {
2820    int tz_minuteswest ;   2820    int tz_minuteswest ;
2821    int tz_dsttime ;   2821    int tz_dsttime ;
2822 };   2822 };
2823 typedef struct timezone * __restrict  __timezone_ptr_t;   2823 typedef struct timezone * __restrict  __timezone_ptr_t;
2824 enum __itimer_which {   2824 enum __itimer_which {
2825     ITIMER_REAL = 0,   2825     ITIMER_REAL = 0,
2826     ITIMER_VIRTUAL = 1,   2826     ITIMER_VIRTUAL = 1,
2827     ITIMER_PROF = 2   2827     ITIMER_PROF = 2
2828 } ;   2828 } ;
2829 struct itimerval {   2829 struct itimerval {
2830    struct timeval it_interval ;   2830    struct timeval it_interval ;
2831    struct timeval it_value ;   2831    struct timeval it_value ;
2832 };   2832 };
2833 typedef int __itimer_which_t;   2833 typedef int __itimer_which_t;
2834 struct nstr_phdr {   2834 struct nstr_phdr {
2835    gint64 rec_offset ;   2835    gint64 rec_offset ;
2836    gint32 rec_len ;   2836    gint32 rec_len ;
2837    guint8 nicno_offset ;   2837    guint8 nicno_offset ;
2838    guint8 nicno_len ;   2838    guint8 nicno_len ;
2839    guint8 dir_offset ;   2839    guint8 dir_offset ;
2840    guint8 dir_len ;   2840    guint8 dir_len ;
2841    guint8 eth_offset ;   2841    guint8 eth_offset ;
2842    guint8 pcb_offset ;   2842    guint8 pcb_offset ;
2843    guint8 l_pcb_offset ;   2843    guint8 l_pcb_offset ;
2844    guint8 rec_type ;   2844    guint8 rec_type ;
2845    guint8 vlantag_offset ;   2845    guint8 vlantag_offset ;
2846    guint8 coreid_offset ;   2846    guint8 coreid_offset ;
2847 };   2847 };
2848 struct eth_phdr {   2848 struct eth_phdr {
2849    gint fcs_len ;   2849    gint fcs_len ;
2850 };   2850 };
2851 struct x25_phdr {   2851 struct x25_phdr {
2852    guint8 flags ;   2852    guint8 flags ;
2853 };   2853 };
2854 struct isdn_phdr {   2854 struct isdn_phdr {
2855    gboolean uton ;   2855    gboolean uton ;
2856    guint8 channel ;   2856    guint8 channel ;
2857 };   2857 };
2858 struct atm_phdr {   2858 struct atm_phdr {
2859    guint32 flags ;   2859    guint32 flags ;
2860    guint8 aal ;   2860    guint8 aal ;
2861    guint8 type ;   2861    guint8 type ;
2862    guint8 subtype ;   2862    guint8 subtype ;
2863    guint16 vpi ;   2863    guint16 vpi ;
2864    guint16 vci ;   2864    guint16 vci ;
2865    guint8 aal2_cid ;   2865    guint8 aal2_cid ;
2866    guint16 channel ;   2866    guint16 channel ;
2867    guint16 cells ;   2867    guint16 cells ;
2868    guint16 aal5t_u2u ;   2868    guint16 aal5t_u2u ;
2869    guint16 aal5t_len ;   2869    guint16 aal5t_len ;
2870    guint32 aal5t_chksum ;   2870    guint32 aal5t_chksum ;
2871 };   2871 };
2872 struct ascend_phdr {   2872 struct ascend_phdr {
2873    guint16 type ;   2873    guint16 type ;
2874    char user[64] ;   2874    char user[64] ;
2875    guint32 sess ;   2875    guint32 sess ;
2876    char call_num[64] ;   2876    char call_num[64] ;
2877    guint32 chunk ;   2877    guint32 chunk ;
2878    guint32 task ;   2878    guint32 task ;
2879 };   2879 };
2880 struct p2p_phdr {   2880 struct p2p_phdr {
2881    int sent ;   2881    int sent ;
2882 };   2882 };
2883 struct ieee_802_11_phdr {   2883 struct ieee_802_11_phdr {
2884    gint fcs_len ;   2884    gint fcs_len ;
2885    guint8 channel ;   2885    guint8 channel ;
2886    guint8 data_rate ;   2886    guint8 data_rate ;
2887    guint8 signal_level ;   2887    guint8 signal_level ;
2888 };   2888 };
2889 struct cosine_phdr {   2889 struct cosine_phdr {
2890    guint8 encap ;   2890    guint8 encap ;
2891    guint8 direction ;   2891    guint8 direction ;
2892    char if_name[128] ;   2892    char if_name[128] ;
2893    guint16 pro ;   2893    guint16 pro ;
2894    guint16 off ;   2894    guint16 off ;
2895    guint16 pri ;   2895    guint16 pri ;
2896    guint16 rm ;   2896    guint16 rm ;
2897    guint16 err ;   2897    guint16 err ;
2898 };   2898 };
2899 struct irda_phdr {   2899 struct irda_phdr {
2900    guint16 pkttype ;   2900    guint16 pkttype ;
2901 };   2901 };
2902 struct nettl_phdr {   2902 struct nettl_phdr {
2903    guint16 subsys ;   2903    guint16 subsys ;
2904    guint32 devid ;   2904    guint32 devid ;
2905    guint32 kind ;   2905    guint32 kind ;
2906    gint32 pid ;   2906    gint32 pid ;
2907    guint16 uid ;   2907    guint16 uid ;
2908 };   2908 };
2909 struct mtp2_phdr {   2909 struct mtp2_phdr {
2910    guint8 sent ;   2910    guint8 sent ;
2911    guint8 annex_a_used ;   2911    guint8 annex_a_used ;
2912    guint16 link_number ;   2912    guint16 link_number ;
2913 };   2913 };
2914 struct __anonstruct_atm_124 {   2914 struct __anonstruct_atm_124 {
2915    guint16 vp ;   2915    guint16 vp ;
2916    guint16 vc ;   2916    guint16 vc ;
2917    guint16 cid ;   2917    guint16 cid ;
2918 };   2918 };
2919 union __anonunion_k12_input_info_t_123 {   2919 union __anonunion_k12_input_info_t_123 {
2920    struct __anonstruct_atm_124 atm ;   2920    struct __anonstruct_atm_124 atm ;
2921    guint32 ds0mask ;   2921    guint32 ds0mask ;
2922 };   2922 };
2923 typedef union __anonunion_k12_input_info_t_123 k12_input_info_t;   2923 typedef union __anonunion_k12_input_info_t_123 k12_input_info_t;
2924 struct k12_phdr {   2924 struct k12_phdr {
2925    guint32 input ;   2925    guint32 input ;
2926    gchar const   *input_name ;   2926    gchar const   *input_name ;
2927    gchar const   *stack_file ;   2927    gchar const   *stack_file ;
2928    guint32 input_type ;   2928    guint32 input_type ;
2929    k12_input_info_t input_info ;   2929    k12_input_info_t input_info ;
2930    guchar *extra_info ;   2930    guchar *extra_info ;
2931    guint32 extra_length ;   2931    guint32 extra_length ;
2932    void *stuff ;   2932    void *stuff ;
2933 };   2933 };
2934 struct lapd_phdr {   2934 struct lapd_phdr {
2935    guint16 pkttype ;   2935    guint16 pkttype ;
2936    guint8 we_network ;   2936    guint8 we_network ;
2937 };   2937 };
2938 struct wtap;   2938 struct wtap;
2939 struct wtap;   2939 struct wtap;
2940 union __anonunion_inner_pseudo_header_125 {   2940 union __anonunion_inner_pseudo_header_125 {
2941    struct isdn_phdr isdn ;   2941    struct isdn_phdr isdn ;
2942    struct atm_phdr atm ;   2942    struct atm_phdr atm ;
2943    struct p2p_phdr p2p ;   2943    struct p2p_phdr p2p ;
2944 };   2944 };
2945 struct catapult_dct2000_phdr {   2945 struct catapult_dct2000_phdr {
2946    union __anonunion_inner_pseudo_header_125 inner_pseudo_header ;   2946    union __anonunion_inner_pseudo_header_125 inner_pseudo_header ;
2947    gint64 seek_off ;   2947    gint64 seek_off ;
2948    struct wtap *wth ;   2948    struct wtap *wth ;
2949 };   2949 };
2950 struct libpcap_bt_phdr {   2950 struct libpcap_bt_phdr {
2951    guint32 direction ;   2951    guint32 direction ;
2952 };   2952 };
2953 struct libpcap_ppp_phdr {   2953 struct libpcap_ppp_phdr {
2954    guint8 direction ;   2954    guint8 direction ;
2955 };   2955 };
2956 struct erf_phdr {   2956 struct erf_phdr {
2957    guint64 ts ;   2957    guint64 ts ;
2958    guint8 type ;   2958    guint8 type ;
2959    guint8 flags ;   2959    guint8 flags ;
2960    guint16 rlen ;   2960    guint16 rlen ;
2961    guint16 lctr ;   2961    guint16 lctr ;
2962    guint16 wlen ;   2962    guint16 wlen ;
2963 };   2963 };
2964 struct erf_ehdr {   2964 struct erf_ehdr {
2965    guint64 ehdr ;   2965    guint64 ehdr ;
2966 };   2966 };
2967 union __anonunion_subhdr_126 {   2967 union __anonunion_subhdr_126 {
2968    guint16 eth_hdr ;   2968    guint16 eth_hdr ;
2969    guint32 mc_hdr ;   2969    guint32 mc_hdr ;
2970 };   2970 };
2971 struct erf_mc_phdr {   2971 struct erf_mc_phdr {
2972    struct erf_phdr phdr ;   2972    struct erf_phdr phdr ;
2973    struct erf_ehdr ehdr_list[8] ;   2973    struct erf_ehdr ehdr_list[8] ;
2974    union __anonunion_subhdr_126 subhdr ;   2974    union __anonunion_subhdr_126 subhdr ;
2975 };   2975 };
2976 struct sita_phdr {   2976 struct sita_phdr {
2977    guint8 flags ;   2977    guint8 flags ;
2978    guint8 signals ;   2978    guint8 signals ;
2979    guint8 errors1 ;   2979    guint8 errors1 ;
2980    guint8 errors2 ;   2980    guint8 errors2 ;
2981    guint8 proto ;   2981    guint8 proto ;
2982 };   2982 };
2983 struct bthci_phdr {   2983 struct bthci_phdr {
2984    gboolean sent ;   2984    gboolean sent ;
2985    guint8 channel ;   2985    guint8 channel ;
2986 };   2986 };
2987 struct l1event_phdr {   2987 struct l1event_phdr {
2988    gboolean uton ;   2988    gboolean uton ;
2989 };   2989 };
2990 struct i2c_phdr {   2990 struct i2c_phdr {
2991    guint8 is_event ;   2991    guint8 is_event ;
2992    guint8 bus ;   2992    guint8 bus ;
2993    guint32 flags ;   2993    guint32 flags ;
2994 };   2994 };
2995 struct gsm_um_phdr {   2995 struct gsm_um_phdr {
2996    gboolean uplink ;   2996    gboolean uplink ;
2997    guint8 channel ;   2997    guint8 channel ;
2998    guint8 bsic ;   2998    guint8 bsic ;
2999    guint16 arfcn ;   2999    guint16 arfcn ;
3000    guint32 tdma_frame ;   3000    guint32 tdma_frame ;
3001    guint8 error ;   3001    guint8 error ;
3002    guint16 timeshift ;   3002    guint16 timeshift ;
3003 };   3003 };
3004 union wtap_pseudo_header {   3004 union wtap_pseudo_header {
3005    struct eth_phdr eth ;   3005    struct eth_phdr eth ;
3006    struct x25_phdr x25 ;   3006    struct x25_phdr x25 ;
3007    struct isdn_phdr isdn ;   3007    struct isdn_phdr isdn ;
3008    struct atm_phdr atm ;   3008    struct atm_phdr atm ;
3009    struct ascend_phdr ascend ;   3009    struct ascend_phdr ascend ;
3010    struct p2p_phdr p2p ;   3010    struct p2p_phdr p2p ;
3011    struct ieee_802_11_phdr ieee_802_11 ;   3011    struct ieee_802_11_phdr ieee_802_11 ;
3012    struct cosine_phdr cosine ;   3012    struct cosine_phdr cosine ;
3013    struct irda_phdr irda ;   3013    struct irda_phdr irda ;
3014    struct nettl_phdr nettl ;   3014    struct nettl_phdr nettl ;
3015    struct mtp2_phdr mtp2 ;   3015    struct mtp2_phdr mtp2 ;
3016    struct k12_phdr k12 ;   3016    struct k12_phdr k12 ;
3017    struct lapd_phdr lapd ;   3017    struct lapd_phdr lapd ;
3018    struct catapult_dct2000_phdr dct2000 ;   3018    struct catapult_dct2000_phdr dct2000 ;
3019    struct erf_mc_phdr erf ;   3019    struct erf_mc_phdr erf ;
3020    struct sita_phdr sita ;   3020    struct sita_phdr sita ;
3021    struct bthci_phdr bthci ;   3021    struct bthci_phdr bthci ;
3022    struct l1event_phdr l1event ;   3022    struct l1event_phdr l1event ;
3023    struct i2c_phdr i2c ;   3023    struct i2c_phdr i2c ;
3024    struct gsm_um_phdr gsm_um ;   3024    struct gsm_um_phdr gsm_um ;
3025    struct nstr_phdr nstr ;   3025    struct nstr_phdr nstr ;
3026 };   3026 };
3027 struct wtap_nstime {   3027 struct wtap_nstime {
3028    time_t secs ;   3028    time_t secs ;
3029    int nsecs ;   3029    int nsecs ;
3030 };   3030 };
3031 struct wtap_pkthdr {   3031 struct wtap_pkthdr {
3032    struct wtap_nstime ts ;   3032    struct wtap_nstime ts ;
3033    guint32 caplen ;   3033    guint32 caplen ;
3034    guint32 len ;   3034    guint32 len ;
3035    int pkt_encap ;   3035    int pkt_encap ;
3036 };   3036 };
3037 struct Buffer;   3037 struct Buffer;
3038 struct Buffer;   3038 struct Buffer;
3039 struct wtap_dumper;   3039 struct wtap_dumper;
3040 struct wtap_dumper;   3040 struct wtap_dumper;
3041 typedef struct wtap wtap;   3041 typedef struct wtap wtap;
3042 typedef struct wtap_dumper wtap_dumper;   3042 typedef struct wtap_dumper wtap_dumper;
3043 struct file_type_info {   3043 struct file_type_info {
3044    char const   *name ;   3044    char const   *name ;
3045    char const   *short_name ;   3045    char const   *short_name ;
3046    char const   *file_extensions ;   3046    char const   *file_extensions ;
3047    char const   *file_extension_default ;   3047    char const   *file_extension_default ;
3048    gboolean writing_must_seek ;   3048    gboolean writing_must_seek ;
3049    gboolean has_name_resolution ;   3049    gboolean has_name_resolution ;
3050    int (*can_write_encap)(int  ) ;   3050    int (*can_write_encap)(int  ) ;
3051    int (*dump_open)(wtap_dumper * , int * ) ;   3051    int (*dump_open)(wtap_dumper * , int * ) ;
3052 };   3052 };
3053 typedef int (*wtap_open_routine_t)(struct wtap * , int * , char ** );   3053 typedef int (*wtap_open_routine_t)(struct wtap * , int * , char ** );
3054 typedef void (*wtap_new_ipv4_callback_t)(guint const   addr ,   3054 typedef void (*wtap_new_ipv4_callback_t)(guint const   addr ,
3055                                          gchar const   *name );   3055                                          gchar const   *name );
3056 typedef void (*wtap_new_ipv6_callback_t)(void const   *addrp ,   3056 typedef void (*wtap_new_ipv6_callback_t)(void const   *addrp ,
3057                                          gchar const   *name );   3057                                          gchar const   *name );
3058 struct addrinfo;   3058 struct addrinfo;
3059 struct __anonstruct_nstime_t_127 {   3059 struct __anonstruct_nstime_t_127 {
3060    time_t secs ;   3060    time_t secs ;
3061    int nsecs ;   3061    int nsecs ;
3062 };   3062 };
3063 typedef struct __anonstruct_nstime_t_127 nstime_t;   3063 typedef struct __anonstruct_nstime_t_127 nstime_t;
3064 struct __anonstruct_flags_128 {   3064 struct __anonstruct_flags_128 {
3065    unsigned int passed_dfilter : 1 ;   3065    unsigned int passed_dfilter : 1 ;
3066    unsigned int encoding : 2 ;   3066    unsigned int encoding : 2 ;
3067    unsigned int visited : 1 ;   3067    unsigned int visited : 1 ;
3068    unsigned int marked : 1 ;   3068    unsigned int marked : 1 ;
3069    unsigned int ref_time : 1 ;   3069    unsigned int ref_time : 1 ;
3070    unsigned int ignored : 1 ;   3070    unsigned int ignored : 1 ;
3071 };   3071 };
3072 struct _frame_data {   3072 struct _frame_data {
3073    GSList *pfd ;   3073    GSList *pfd ;
3074    guint32 num ;   3074    guint32 num ;
3075    guint32 pkt_len ;   3075    guint32 pkt_len ;
3076    guint32 cap_len ;   3076    guint32 cap_len ;
3077    guint32 cum_bytes ;   3077    guint32 cum_bytes ;
3078    gint64 file_off ;   3078    gint64 file_off ;
3079    guint16 subnum ;   3079    guint16 subnum ;
3080    gint16 lnk_t ;   3080    gint16 lnk_t ;
3081    struct __anonstruct_flags_128 flags ;   3081    struct __anonstruct_flags_128 flags ;
3082    void const   *color_filter ;   3082    void const   *color_filter ;
3083    nstime_t abs_ts ;   3083    nstime_t abs_ts ;
3084    nstime_t rel_ts ;   3084    nstime_t rel_ts ;
3085    nstime_t del_dis_ts ;   3085    nstime_t del_dis_ts ;
3086    nstime_t del_cap_ts ;   3086    nstime_t del_cap_ts ;
3087 };   3087 };
3088 typedef struct _frame_data frame_data;   3088 typedef struct _frame_data frame_data;
3089 struct __anonstruct_data_source_129 {   3089 struct __anonstruct_data_source_129 {
3090    tvbuff_t *tvb ;   3090    tvbuff_t *tvb ;
3091    gboolean name_initialized ;   3091    gboolean name_initialized ;
3092    char const   *name ;   3092    char const   *name ;
3093 };   3093 };
3094 typedef struct __anonstruct_data_source_129 data_source;   3094 typedef struct __anonstruct_data_source_129 data_source;
3095 struct range_admin_tag {   3095 struct range_admin_tag {
3096    guint32 low ;   3096    guint32 low ;
3097    guint32 high ;   3097    guint32 high ;
3098 };   3098 };
3099 typedef struct range_admin_tag range_admin_t;   3099 typedef struct range_admin_tag range_admin_t;
3100 struct range {   3100 struct range {
3101    guint nranges ;   3101    guint nranges ;
3102    range_admin_t ranges[1] ;   3102    range_admin_t ranges[1] ;
3103 };   3103 };
3104 typedef struct range range_t;   3104 typedef struct range range_t;
3105 enum __anonenum_convert_ret_t_130 {   3105 enum __anonenum_convert_ret_t_130 {
3106     CVT_NO_ERROR = 0,   3106     CVT_NO_ERROR = 0,
3107     CVT_SYNTAX_ERROR = 1,   3107     CVT_SYNTAX_ERROR = 1,
3108     CVT_NUMBER_TOO_BIG = 2   3108     CVT_NUMBER_TOO_BIG = 2
3109 } ;   3109 } ;
3110 typedef enum __anonenum_convert_ret_t_130 convert_ret_t;   3110 typedef enum __anonenum_convert_ret_t_130 convert_ret_t;
3111 enum __anonenum_packet_range_e_131 {   3111 enum __anonenum_packet_range_e_131 {
3112     range_process_all = 0,   3112     range_process_all = 0,
3113     range_process_selected = 1,   3113     range_process_selected = 1,
3114     range_process_marked = 2,   3114     range_process_marked = 2,
3115     range_process_marked_range = 3,   3115     range_process_marked_range = 3,
3116     range_process_user_range = 4   3116     range_process_user_range = 4
3117 } ;   3117 } ;
3118 typedef enum __anonenum_packet_range_e_131 packet_range_e;   3118 typedef enum __anonenum_packet_range_e_131 packet_range_e;
3119 struct packet_range_tag {   3119 struct packet_range_tag {
3120    packet_range_e process ;   3120    packet_range_e process ;
3121    gboolean process_filtered ;   3121    gboolean process_filtered ;
3122    gboolean remove_ignored ;   3122    gboolean remove_ignored ;
3123    range_t *user_range ;   3123    range_t *user_range ;
3124    convert_ret_t user_range_status ;   3124    convert_ret_t user_range_status ;
3125    guint32 selected_packet ;   3125    guint32 selected_packet ;
3126    guint32 mark_range_cnt ;   3126    guint32 mark_range_cnt ;
3127    guint32 user_range_cnt ;   3127    guint32 user_range_cnt ;
3128    guint32 ignored_cnt ;   3128    guint32 ignored_cnt ;
3129    guint32 ignored_marked_cnt ;   3129    guint32 ignored_marked_cnt ;
3130    guint32 ignored_mark_range_cnt ;   3130    guint32 ignored_mark_range_cnt ;
3131    guint32 ignored_user_range_cnt ;   3131    guint32 ignored_user_range_cnt ;
3132    guint32 displayed_cnt ;   3132    guint32 displayed_cnt ;
3133    guint32 displayed_marked_cnt ;   3133    guint32 displayed_marked_cnt ;
3134    guint32 displayed_mark_range_cnt ;   3134    guint32 displayed_mark_range_cnt ;
3135    guint32 displayed_user_range_cnt ;   3135    guint32 displayed_user_range_cnt ;
3136    guint32 displayed_ignored_cnt ;   3136    guint32 displayed_ignored_cnt ;
3137    guint32 displayed_ignored_marked_cnt ;   3137    guint32 displayed_ignored_marked_cnt ;
3138    guint32 displayed_ignored_mark_range_cnt ;   3138    guint32 displayed_ignored_mark_range_cnt ;
3139    guint32 displayed_ignored_user_range_cnt ;   3139    guint32 displayed_ignored_user_range_cnt ;
3140    gboolean marked_range_active ;   3140    gboolean marked_range_active ;
3141    guint32 marked_range_left ;   3141    guint32 marked_range_left ;
3142    gboolean selected_done ;   3142    gboolean selected_done ;
3143 };   3143 };
3144 typedef struct packet_range_tag packet_range_t;   3144 typedef struct packet_range_tag packet_range_t;
3145 enum __anonenum_range_process_e_132 {   3145 enum __anonenum_range_process_e_132 {
3146     range_process_this = 0,   3146     range_process_this = 0,
3147     range_process_next = 1,   3147     range_process_next = 1,
3148     range_processing_finished = 2   3148     range_processing_finished = 2
3149 } ;   3149 } ;
3150 typedef enum __anonenum_range_process_e_132 range_process_e;   3150 typedef enum __anonenum_range_process_e_132 range_process_e;
3151 typedef struct _dfilter_t dfilter_t;   3151 typedef struct _dfilter_t dfilter_t;
3152 enum __anonenum_register_action_e_133 {   3152 enum __anonenum_register_action_e_133 {
3153     RA_NONE = 0,   3153     RA_NONE = 0,
3154     RA_DISSECTORS = 1,   3154     RA_DISSECTORS = 1,
3155     RA_LISTENERS = 2,   3155     RA_LISTENERS = 2,
3156     RA_REGISTER = 3,   3156     RA_REGISTER = 3,
3157     RA_PLUGIN_REGISTER = 4,   3157     RA_PLUGIN_REGISTER = 4,
3158     RA_HANDOFF = 5,   3158     RA_HANDOFF = 5,
3159     RA_PLUGIN_HANDOFF = 6,   3159     RA_PLUGIN_HANDOFF = 6,
3160     RA_PREFERENCES = 7,   3160     RA_PREFERENCES = 7,
3161     RA_CONFIGURATION = 8   3161     RA_CONFIGURATION = 8
3162 } ;   3162 } ;
3163 typedef enum __anonenum_register_action_e_133 register_action_e;   3163 typedef enum __anonenum_register_action_e_133 register_action_e;
3164 typedef void (*register_cb)(register_action_e action , char const   *message ,   3164 typedef void (*register_cb)(register_action_e action , char const   *message ,
3165                             gpointer client_data );   3165                             gpointer client_data );
3166 struct _epan_dissect_t;   3166 struct _epan_dissect_t;
3167 typedef struct _epan_dissect_t epan_dissect_t;   3167 typedef struct _epan_dissect_t epan_dissect_t;
3168 struct epan_session;   3168 struct epan_session;
3169 typedef struct epan_session epan_t;   3169 typedef struct epan_session epan_t;
3170 struct __anonstruct_ipv4_addr_134 {   3170 struct __anonstruct_ipv4_addr_134 {
3171    guint32 addr ;   3171    guint32 addr ;
3172    guint32 nmask ;   3172    guint32 nmask ;
3173 };   3173 };
3174 typedef struct __anonstruct_ipv4_addr_134 ipv4_addr;   3174 typedef struct __anonstruct_ipv4_addr_134 ipv4_addr;
3175 enum __anonenum_to_str_time_res_t_135 {   3175 enum __anonenum_to_str_time_res_t_135 {
3176     TO_STR_TIME_RES_T_SECS = 0,   3176     TO_STR_TIME_RES_T_SECS = 0,
3177     TO_STR_TIME_RES_T_DSECS = 1,   3177     TO_STR_TIME_RES_T_DSECS = 1,
3178     TO_STR_TIME_RES_T_CSECS = 2,   3178     TO_STR_TIME_RES_T_CSECS = 2,
3179     TO_STR_TIME_RES_T_MSECS = 3,   3179     TO_STR_TIME_RES_T_MSECS = 3,
3180     TO_STR_TIME_RES_T_USECS = 4,   3180     TO_STR_TIME_RES_T_USECS = 4,
3181     TO_STR_TIME_RES_T_NSECS = 5   3181     TO_STR_TIME_RES_T_NSECS = 5
3182 } ;   3182 } ;
3183 typedef enum __anonenum_to_str_time_res_t_135 to_str_time_res_t;   3183 typedef enum __anonenum_to_str_time_res_t_135 to_str_time_res_t;
3184 enum __anonenum_absolute_time_display_e_136 {   3184 enum __anonenum_absolute_time_display_e_136 {
3185     ABSOLUTE_TIME_LOCAL = 1000,   3185     ABSOLUTE_TIME_LOCAL = 1000,
3186     ABSOLUTE_TIME_UTC = 1001,   3186     ABSOLUTE_TIME_UTC = 1001,
3187     ABSOLUTE_TIME_DOY_UTC = 1002   3187     ABSOLUTE_TIME_DOY_UTC = 1002
3188 } ;   3188 } ;
3189 typedef enum __anonenum_absolute_time_display_e_136 absolute_time_display_e;   3189 typedef enum __anonenum_absolute_time_display_e_136 absolute_time_display_e;
3190 struct _ep_stack_frame_t;   3190 struct _ep_stack_frame_t;
3191 typedef struct _ep_stack_frame_t **ep_stack_t;   3191 typedef struct _ep_stack_frame_t **ep_stack_t;
3192 struct _ep_stack_frame_t {   3192 struct _ep_stack_frame_t {
3193    void *payload ;   3193    void *payload ;
3194    struct _ep_stack_frame_t *below ;   3194    struct _ep_stack_frame_t *below ;
3195    struct _ep_stack_frame_t *above ;   3195    struct _ep_stack_frame_t *above ;
3196 };   3196 };
3197 struct _emem_chunk_t;   3197 struct _emem_chunk_t;
3198 struct _emem_chunk_t;   3198 struct _emem_chunk_t;
3199 struct ws_memory_slab {   3199 struct ws_memory_slab {
3200    gint const   item_size ;   3200    gint const   item_size ;
3201    gint const   count ;   3201    gint const   count ;
3202    struct _emem_chunk_t *chunk_list ;   3202    struct _emem_chunk_t *chunk_list ;
3203    void *freed ;   3203    void *freed ;
3204 };   3204 };
3205 struct __anonstruct_u_137 {   3205 struct __anonstruct_u_137 {
3206    guint32 rb_color : 1 ;   3206    guint32 rb_color : 1 ;
3207    guint32 is_subtree : 1 ;   3207    guint32 is_subtree : 1 ;
3208 };   3208 };
3209 struct _emem_tree_node_t {   3209 struct _emem_tree_node_t {
3210    struct _emem_tree_node_t *parent ;   3210    struct _emem_tree_node_t *parent ;
3211    struct _emem_tree_node_t *left ;   3211    struct _emem_tree_node_t *left ;
3212    struct _emem_tree_node_t *right ;   3212    struct _emem_tree_node_t *right ;
3213    struct __anonstruct_u_137 u ;   3213    struct __anonstruct_u_137 u ;
3214    guint32 key32 ;   3214    guint32 key32 ;
3215    void *data ;   3215    void *data ;
3216 };   3216 };
3217 typedef struct _emem_tree_node_t emem_tree_node_t;   3217 typedef struct _emem_tree_node_t emem_tree_node_t;
3218 struct _emem_tree_t {   3218 struct _emem_tree_t {
3219    struct _emem_tree_t *next ;   3219    struct _emem_tree_t *next ;
3220    int type ;   3220    int type ;
3221    char const   *name ;   3221    char const   *name ;
3222    emem_tree_node_t *tree ;   3222    emem_tree_node_t *tree ;
3223    void *(*malloc)(size_t  ) ;   3223    void *(*malloc)(size_t  ) ;
3224 };   3224 };
3225 typedef struct _emem_tree_t emem_tree_t;   3225 typedef struct _emem_tree_t emem_tree_t;
3226 struct _emem_tree_key_t {   3226 struct _emem_tree_key_t {
3227    guint32 length ;   3227    guint32 length ;
3228    guint32 *key ;   3228    guint32 *key ;
3229 };   3229 };
3230 typedef struct _emem_tree_key_t emem_tree_key_t;   3230 typedef struct _emem_tree_key_t emem_tree_key_t;
3231 typedef gboolean (*tree_foreach_func)(void *value , void *userdata );   3231 typedef gboolean (*tree_foreach_func)(void *value , void *userdata );
3232 struct _emem_strbuf_t {   3232 struct _emem_strbuf_t {
3233    gchar *str ;   3233    gchar *str ;
3234    gsize len ;   3234    gsize len ;
3235    gsize alloc_len ;   3235    gsize alloc_len ;
3236    gsize max_alloc_len ;   3236    gsize max_alloc_len ;
3237 };   3237 };
3238 typedef struct _emem_strbuf_t emem_strbuf_t;   3238 typedef struct _emem_strbuf_t emem_strbuf_t;
3239 enum ftenum {   3239 enum ftenum {
3240     FT_NONE = 0,   3240     FT_NONE = 0,
3241     FT_PROTOCOL = 1,   3241     FT_PROTOCOL = 1,
3242     FT_BOOLEAN = 2,   3242     FT_BOOLEAN = 2,
3243     FT_UINT8 = 3,   3243     FT_UINT8 = 3,
3244     FT_UINT16 = 4,   3244     FT_UINT16 = 4,
3245     FT_UINT24 = 5,   3245     FT_UINT24 = 5,
3246     FT_UINT32 = 6,   3246     FT_UINT32 = 6,
3247     FT_UINT64 = 7,   3247     FT_UINT64 = 7,
3248     FT_INT8 = 8,   3248     FT_INT8 = 8,
3249     FT_INT16 = 9,   3249     FT_INT16 = 9,
3250     FT_INT24 = 10,   3250     FT_INT24 = 10,
3251     FT_INT32 = 11,   3251     FT_INT32 = 11,
3252     FT_INT64 = 12,   3252     FT_INT64 = 12,
3253     FT_FLOAT = 13,   3253     FT_FLOAT = 13,
3254     FT_DOUBLE = 14,   3254     FT_DOUBLE = 14,
3255     FT_ABSOLUTE_TIME = 15,   3255     FT_ABSOLUTE_TIME = 15,
3256     FT_RELATIVE_TIME = 16,   3256     FT_RELATIVE_TIME = 16,
3257     FT_STRING = 17,   3257     FT_STRING = 17,
3258     FT_STRINGZ = 18,   3258     FT_STRINGZ = 18,
3259     FT_EBCDIC = 19,   3259     FT_EBCDIC = 19,
3260     FT_UINT_STRING = 20,   3260     FT_UINT_STRING = 20,
3261     FT_ETHER = 21,   3261     FT_ETHER = 21,
3262     FT_BYTES = 22,   3262     FT_BYTES = 22,
3263     FT_UINT_BYTES = 23,   3263     FT_UINT_BYTES = 23,
3264     FT_IPv4 = 24,   3264     FT_IPv4 = 24,
3265     FT_IPv6 = 25,   3265     FT_IPv6 = 25,
3266     FT_IPXNET = 26,   3266     FT_IPXNET = 26,
3267     FT_FRAMENUM = 27,   3267     FT_FRAMENUM = 27,
3268     FT_PCRE = 28,   3268     FT_PCRE = 28,
3269     FT_GUID = 29,   3269     FT_GUID = 29,
3270     FT_OID = 30,   3270     FT_OID = 30,
3271     FT_EUI64 = 31,   3271     FT_EUI64 = 31,
3272     FT_NUM_TYPES = 32   3272     FT_NUM_TYPES = 32
3273 } ;   3273 } ;
3274 typedef enum ftenum ftenum_t;   3274 typedef enum ftenum ftenum_t;
3275 struct _ftype_t;   3275 struct _ftype_t;
3276 typedef struct _ftype_t ftype_t;   3276 typedef struct _ftype_t ftype_t;
3277 enum ftrepr {   3277 enum ftrepr {
3278     FTREPR_DISPLAY = 0,   3278     FTREPR_DISPLAY = 0,
3279     FTREPR_DFILTER = 1   3279     FTREPR_DFILTER = 1
3280 } ;   3280 } ;
3281 typedef enum ftrepr ftrepr_t;   3281 typedef enum ftrepr ftrepr_t;
3282 enum __anonenum_drange_node_end_t_138 {   3282 enum __anonenum_drange_node_end_t_138 {
3283     DRANGE_NODE_END_T_UNINITIALIZED = 0,   3283     DRANGE_NODE_END_T_UNINITIALIZED = 0,
3284     DRANGE_NODE_END_T_LENGTH = 1,   3284     DRANGE_NODE_END_T_LENGTH = 1,
3285     DRANGE_NODE_END_T_OFFSET = 2,   3285     DRANGE_NODE_END_T_OFFSET = 2,
3286     DRANGE_NODE_END_T_TO_THE_END = 3   3286     DRANGE_NODE_END_T_TO_THE_END = 3
3287 } ;   3287 } ;
3288 typedef enum __anonenum_drange_node_end_t_138 drange_node_end_t;   3288 typedef enum __anonenum_drange_node_end_t_138 drange_node_end_t;
3289 struct _drange_node {   3289 struct _drange_node {
3290    gint start_offset ;   3290    gint start_offset ;
3291    gint length ;   3291    gint length ;
3292    gint end_offset ;   3292    gint end_offset ;
3293    drange_node_end_t ending ;   3293    drange_node_end_t ending ;
3294 };   3294 };
3295 typedef struct _drange_node drange_node;   3295 typedef struct _drange_node drange_node;
3296 struct _drange {   3296 struct _drange {
3297    GSList *range_list ;   3297    GSList *range_list ;
3298    gboolean has_total_length ;   3298    gboolean has_total_length ;
3299    gint total_length ;   3299    gint total_length ;
3300    gint min_start_offset ;   3300    gint min_start_offset ;
3301    gint max_start_offset ;   3301    gint max_start_offset ;
3302 };   3302 };
3303 typedef struct _drange drange;   3303 typedef struct _drange drange;
3304 union __anonunion_value_139 {   3304 union __anonunion_value_139 {
3305    guint32 uinteger ;   3305    guint32 uinteger ;
3306    gint32 sinteger ;   3306    gint32 sinteger ;
3307    guint64 integer64 ;   3307    guint64 integer64 ;
3308    gdouble floating ;   3308    gdouble floating ;
3309    gchar *string ;   3309    gchar *string ;
3310    guchar *ustring ;   3310    guchar *ustring ;
3311    GByteArray *bytes ;   3311    GByteArray *bytes ;
3312    ipv4_addr ipv4 ;   3312    ipv4_addr ipv4 ;
3313    e_guid_t guid ;   3313    e_guid_t guid ;
3314    nstime_t time ;   3314    nstime_t time ;
3315    tvbuff_t *tvb ;   3315    tvbuff_t *tvb ;
3316    GRegex *re ;   3316    GRegex *re ;
3317 };   3317 };
3318 struct _fvalue_t {   3318 struct _fvalue_t {
3319    ftype_t *ftype ;   3319    ftype_t *ftype ;
3320    union __anonunion_value_139 value ;   3320    union __anonunion_value_139 value ;
3321    gboolean fvalue_gboolean1 ;   3321    gboolean fvalue_gboolean1 ;
3322 };   3322 };
3323 typedef struct _fvalue_t fvalue_t;   3323 typedef struct _fvalue_t fvalue_t;
3324 typedef void (*FvalueNewFunc)(fvalue_t * );   3324 typedef void (*FvalueNewFunc)(fvalue_t * );
3325 typedef void (*FvalueFreeFunc)(fvalue_t * );   3325 typedef void (*FvalueFreeFunc)(fvalue_t * );
3326 typedef void (*LogFunc)(char const   *  , ...);   3326 typedef void (*LogFunc)(char const   *  , ...);
3327 typedef gboolean (*FvalueFromUnparsed)(fvalue_t * , char * , gboolean  ,   3327 typedef gboolean (*FvalueFromUnparsed)(fvalue_t * , char * , gboolean  ,
3328                                        void (*)(char const   *  , ...) );   3328                                        void (*)(char const   *  , ...) );
3329 typedef gboolean (*FvalueFromString)(fvalue_t * , char * ,   3329 typedef gboolean (*FvalueFromString)(fvalue_t * , char * ,
3330                                      void (*)(char const   *  , ...) );   3330                                      void (*)(char const   *  , ...) );
3331 typedef void (*FvalueToStringRepr)(fvalue_t * , ftrepr_t  , char * );   3331 typedef void (*FvalueToStringRepr)(fvalue_t * , ftrepr_t  , char * );
3332 typedef int (*FvalueStringReprLen)(fvalue_t * , ftrepr_t  );   3332 typedef int (*FvalueStringReprLen)(fvalue_t * , ftrepr_t  );
3333 typedef void (*FvalueSetFunc)(fvalue_t * , gpointer  , gboolean  );   3333 typedef void (*FvalueSetFunc)(fvalue_t * , gpointer  , gboolean  );
3334 typedef void (*FvalueSetUnsignedIntegerFunc)(fvalue_t * , guint32  );   3334 typedef void (*FvalueSetUnsignedIntegerFunc)(fvalue_t * , guint32  );
3335 typedef void (*FvalueSetSignedIntegerFunc)(fvalue_t * , gint32  );   3335 typedef void (*FvalueSetSignedIntegerFunc)(fvalue_t * , gint32  );
3336 typedef void (*FvalueSetInteger64Func)(fvalue_t * , guint64  );   3336 typedef void (*FvalueSetInteger64Func)(fvalue_t * , guint64  );
3337 typedef void (*FvalueSetFloatingFunc)(fvalue_t * , gdouble  );   3337 typedef void (*FvalueSetFloatingFunc)(fvalue_t * , gdouble  );
3338 typedef gpointer (*FvalueGetFunc)(fvalue_t * );   3338 typedef gpointer (*FvalueGetFunc)(fvalue_t * );
3339 typedef guint32 (*FvalueGetUnsignedIntegerFunc)(fvalue_t * );   3339 typedef guint32 (*FvalueGetUnsignedIntegerFunc)(fvalue_t * );
3340 typedef gint32 (*FvalueGetSignedIntegerFunc)(fvalue_t * );   3340 typedef gint32 (*FvalueGetSignedIntegerFunc)(fvalue_t * );
3341 typedef guint64 (*FvalueGetInteger64Func)(fvalue_t * );   3341 typedef guint64 (*FvalueGetInteger64Func)(fvalue_t * );
3342 typedef double (*FvalueGetFloatingFunc)(fvalue_t * );   3342 typedef double (*FvalueGetFloatingFunc)(fvalue_t * );
3343 typedef gboolean (*FvalueCmp)(fvalue_t * , fvalue_t * );   3343 typedef gboolean (*FvalueCmp)(fvalue_t * , fvalue_t * );
3344 typedef guint (*FvalueLen)(fvalue_t * );   3344 typedef guint (*FvalueLen)(fvalue_t * );
3345 typedef void (*FvalueSlice)(fvalue_t * , GByteArray * , guint offset ,   3345 typedef void (*FvalueSlice)(fvalue_t * , GByteArray * , guint offset ,
3346                             guint length );   3346                             guint length );
3347 struct _ftype_t {   3347 struct _ftype_t {
3348    ftenum_t ftype ;   3348    ftenum_t ftype ;
3349    char const   *name ;   3349    char const   *name ;
3350    char const   *pretty_name ;   3350    char const   *pretty_name ;
3351    int wire_size ;   3351    int wire_size ;
3352    void (*new_value)(fvalue_t * ) ;   3352    void (*new_value)(fvalue_t * ) ;
3353    void (*free_value)(fvalue_t * ) ;   3353    void (*free_value)(fvalue_t * ) ;
3354    gboolean (*val_from_unparsed)(fvalue_t * , char * , gboolean  ,   3354    gboolean (*val_from_unparsed)(fvalue_t * , char * , gboolean  ,
3355                                  void (*)(char const   *  , ...) ) ;   3355                                  void (*)(char const   *  , ...) ) ;
3356    gboolean (*val_from_string)(fvalue_t * , char * ,   3356    gboolean (*val_from_string)(fvalue_t * , char * ,
3357                                void (*)(char const   *  , ...) ) ;   3357                                void (*)(char const   *  , ...) ) ;
3358    void (*val_to_string_repr)(fvalue_t * , ftrepr_t  , char * ) ;   3358    void (*val_to_string_repr)(fvalue_t * , ftrepr_t  , char * ) ;
3359    int (*len_string_repr)(fvalue_t * , ftrepr_t  ) ;   3359    int (*len_string_repr)(fvalue_t * , ftrepr_t  ) ;
3360    void (*set_value)(fvalue_t * , gpointer  , gboolean  ) ;   3360    void (*set_value)(fvalue_t * , gpointer  , gboolean  ) ;
3361    void (*set_value_uinteger)(fvalue_t * , guint32  ) ;   3361    void (*set_value_uinteger)(fvalue_t * , guint32  ) ;
3362    void (*set_value_sinteger)(fvalue_t * , gint32  ) ;   3362    void (*set_value_sinteger)(fvalue_t * , gint32  ) ;
3363    void (*set_value_integer64)(fvalue_t * , guint64  ) ;   3363    void (*set_value_integer64)(fvalue_t * , guint64  ) ;
3364    void (*set_value_floating)(fvalue_t * , gdouble  ) ;   3364    void (*set_value_floating)(fvalue_t * , gdouble  ) ;
3365    gpointer (*get_value)(fvalue_t * ) ;   3365    gpointer (*get_value)(fvalue_t * ) ;
3366    guint32 (*get_value_uinteger)(fvalue_t * ) ;   3366    guint32 (*get_value_uinteger)(fvalue_t * ) ;
3367    gint32 (*get_value_sinteger)(fvalue_t * ) ;   3367    gint32 (*get_value_sinteger)(fvalue_t * ) ;
3368    guint64 (*get_value_integer64)(fvalue_t * ) ;   3368    guint64 (*get_value_integer64)(fvalue_t * ) ;
3369    double (*get_value_floating)(fvalue_t * ) ;   3369    double (*get_value_floating)(fvalue_t * ) ;
3370    gboolean (*cmp_eq)(fvalue_t * , fvalue_t * ) ;   3370    gboolean (*cmp_eq)(fvalue_t * , fvalue_t * ) ;
3371    gboolean (*cmp_ne)(fvalue_t * , fvalue_t * ) ;   3371    gboolean (*cmp_ne)(fvalue_t * , fvalue_t * ) ;
3372    gboolean (*cmp_gt)(fvalue_t * , fvalue_t * ) ;   3372    gboolean (*cmp_gt)(fvalue_t * , fvalue_t * ) ;
3373    gboolean (*cmp_ge)(fvalue_t * , fvalue_t * ) ;   3373    gboolean (*cmp_ge)(fvalue_t * , fvalue_t * ) ;
3374    gboolean (*cmp_lt)(fvalue_t * , fvalue_t * ) ;   3374    gboolean (*cmp_lt)(fvalue_t * , fvalue_t * ) ;
3375    gboolean (*cmp_le)(fvalue_t * , fvalue_t * ) ;   3375    gboolean (*cmp_le)(fvalue_t * , fvalue_t * ) ;
3376    gboolean (*cmp_bitwise_and)(fvalue_t * , fvalue_t * ) ;   3376    gboolean (*cmp_bitwise_and)(fvalue_t * , fvalue_t * ) ;
3377    gboolean (*cmp_contains)(fvalue_t * , fvalue_t * ) ;   3377    gboolean (*cmp_contains)(fvalue_t * , fvalue_t * ) ;
3378    gboolean (*cmp_matches)(fvalue_t * , fvalue_t * ) ;   3378    gboolean (*cmp_matches)(fvalue_t * , fvalue_t * ) ;
3379    guint (*len)(fvalue_t * ) ;   3379    guint (*len)(fvalue_t * ) ;
3380    void (*slice)(fvalue_t * , GByteArray * , guint offset , guint length ) ;   3380    void (*slice)(fvalue_t * , GByteArray * , guint offset , guint length ) ;
3381 };   3381 };
3382 struct _value_string;   3382 struct _value_string;
3383 struct _value_string;   3383 struct _value_string;
3384 typedef void (*custom_fmt_func_t)(gchar * , guint32  );   3384 typedef void (*custom_fmt_func_t)(gchar * , guint32  );
3385 struct _protocol;   3385 struct _protocol;
3386 struct _protocol;   3386 struct _protocol;
3387 typedef struct _protocol protocol_t;   3387 typedef struct _protocol protocol_t;
3388 enum __anonenum_base_display_e_140 {   3388 enum __anonenum_base_display_e_140 {
3389     BASE_NONE = 0,   3389     BASE_NONE = 0,
3390     BASE_DEC = 1,   3390     BASE_DEC = 1,
3391     BASE_HEX = 2,   3391     BASE_HEX = 2,
3392     BASE_OCT = 3,   3392     BASE_OCT = 3,
3393     BASE_DEC_HEX = 4,   3393     BASE_DEC_HEX = 4,
3394     BASE_HEX_DEC = 5,   3394     BASE_HEX_DEC = 5,
3395     BASE_CUSTOM = 6   3395     BASE_CUSTOM = 6
3396 } ;   3396 } ;
3397 typedef enum __anonenum_base_display_e_140 base_display_e;   3397 typedef enum __anonenum_base_display_e_140 base_display_e;
3398 enum __anonenum_hf_ref_type_141 {   3398 enum __anonenum_hf_ref_type_141 {
3399     HF_REF_TYPE_NONE = 0,   3399     HF_REF_TYPE_NONE = 0,
3400     HF_REF_TYPE_INDIRECT = 1,   3400     HF_REF_TYPE_INDIRECT = 1,
3401     HF_REF_TYPE_DIRECT = 2   3401     HF_REF_TYPE_DIRECT = 2
3402 } ;   3402 } ;
3403 typedef enum __anonenum_hf_ref_type_141 hf_ref_type;   3403 typedef enum __anonenum_hf_ref_type_141 hf_ref_type;
3404 struct _header_field_info;   3404 struct _header_field_info;
3405 typedef struct _header_field_info header_field_info;   3405 typedef struct _header_field_info header_field_info;
3406 struct _header_field_info {   3406 struct _header_field_info {
3407    char const   *name ;   3407    char const   *name ;
3408    char const   *abbrev ;   3408    char const   *abbrev ;
3409    enum ftenum type ;   3409    enum ftenum type ;
3410    int display ;   3410    int display ;
3411    void const   *strings ;   3411    void const   *strings ;
3412    guint32 bitmask ;   3412    guint32 bitmask ;
3413    char const   *blurb ;   3413    char const   *blurb ;
3414    int id ;   3414    int id ;
3415    int parent ;   3415    int parent ;
3416    hf_ref_type ref_type ;   3416    hf_ref_type ref_type ;
3417    int bitshift ;   3417    int bitshift ;
3418    header_field_info *same_name_next ;   3418    header_field_info *same_name_next ;
3419    header_field_info *same_name_prev ;   3419    header_field_info *same_name_prev ;
3420 };   3420 };
3421 struct hf_register_info {   3421 struct hf_register_info {
3422    int *p_id ;   3422    int *p_id ;
3423    header_field_info hfinfo ;   3423    header_field_info hfinfo ;
3424 };   3424 };
3425 typedef struct hf_register_info hf_register_info;   3425 typedef struct hf_register_info hf_register_info;
3426 struct _item_label_t {   3426 struct _item_label_t {
3427    char representation[240] ;   3427    char representation[240] ;
3428 };   3428 };
3429 typedef struct _item_label_t item_label_t;   3429 typedef struct _item_label_t item_label_t;
3430 struct field_info {   3430 struct field_info {
3431    header_field_info *hfinfo ;   3431    header_field_info *hfinfo ;
3432    gint start ;   3432    gint start ;
3433    gint length ;   3433    gint length ;
3434    gint appendix_start ;   3434    gint appendix_start ;
3435    gint appendix_length ;   3435    gint appendix_length ;
3436    gint tree_type ;   3436    gint tree_type ;
3437    item_label_t *rep ;   3437    item_label_t *rep ;
3438    guint32 flags ;   3438    guint32 flags ;
3439    tvbuff_t *ds_tvb ;   3439    tvbuff_t *ds_tvb ;
3440    fvalue_t value ;   3440    fvalue_t value ;
3441 };   3441 };
3442 typedef struct field_info field_info;   3442 typedef struct field_info field_info;
3443 struct __anonstruct_tree_data_t_142 {   3443 struct __anonstruct_tree_data_t_142 {
3444    GHashTable *interesting_hfids ;   3444    GHashTable *interesting_hfids ;
3445    gboolean visible ;   3445    gboolean visible ;
3446    gboolean fake_protocols ;   3446    gboolean fake_protocols ;
3447    gint count ;   3447    gint count ;
3448 };   3448 };
3449 typedef struct __anonstruct_tree_data_t_142 tree_data_t;   3449 typedef struct __anonstruct_tree_data_t_142 tree_data_t;
3450 struct _proto_node {   3450 struct _proto_node {
3451    struct _proto_node *first_child ;   3451    struct _proto_node *first_child ;
3452    struct _proto_node *last_child ;   3452    struct _proto_node *last_child ;
3453    struct _proto_node *next ;   3453    struct _proto_node *next ;
3454    struct _proto_node *parent ;   3454    struct _proto_node *parent ;
3455    field_info *finfo ;   3455    field_info *finfo ;
3456    tree_data_t *tree_data ;   3456    tree_data_t *tree_data ;
3457 };   3457 };
3458 typedef struct _proto_node proto_node;   3458 typedef struct _proto_node proto_node;
3459 typedef proto_node proto_tree;   3459 typedef proto_node proto_tree;
3460 typedef proto_node proto_item;   3460 typedef proto_node proto_item;
3461 typedef void (*proto_tree_foreach_func)(proto_node * , gpointer  );   3461 typedef void (*proto_tree_foreach_func)(proto_node * , gpointer  );
3462 typedef gboolean (*proto_tree_traverse_func)(proto_node * , gpointer  );   3462 typedef gboolean (*proto_tree_traverse_func)(proto_node * , gpointer  );
3463 typedef void (*prefix_initializer_t)(char const   *match );   3463 typedef void (*prefix_initializer_t)(char const   *match );
3464 enum __anonenum_address_type_143 {   3464 enum __anonenum_address_type_143 {
3465     AT_NONE = 0,   3465     AT_NONE = 0,
3466     AT_ETHER = 1,   3466     AT_ETHER = 1,
3467     AT_IPv4 = 2,   3467     AT_IPv4 = 2,
3468     AT_IPv6 = 3,   3468     AT_IPv6 = 3,
3469     AT_IPX = 4,   3469     AT_IPX = 4,
3470     AT_SNA = 5,   3470     AT_SNA = 5,
3471     AT_ATALK = 6,   3471     AT_ATALK = 6,
3472     AT_VINES = 7,   3472     AT_VINES = 7,
3473     AT_OSI = 8,   3473     AT_OSI = 8,
3474     AT_ARCNET = 9,   3474     AT_ARCNET = 9,
3475     AT_FC = 10,   3475     AT_FC = 10,
3476     AT_SS7PC = 11,   3476     AT_SS7PC = 11,
3477     AT_STRINGZ = 12,   3477     AT_STRINGZ = 12,
3478     AT_EUI64 = 13,   3478     AT_EUI64 = 13,
3479     AT_URI = 14,   3479     AT_URI = 14,
3480     AT_TIPC = 15,   3480     AT_TIPC = 15,
3481     AT_IB = 16,   3481     AT_IB = 16,
3482     AT_USB = 17   3482     AT_USB = 17
3483 } ;   3483 } ;
3484 typedef enum __anonenum_address_type_143 address_type;   3484 typedef enum __anonenum_address_type_143 address_type;
3485 struct _address {   3485 struct _address {
3486    address_type type ;   3486    address_type type ;
3487    int len ;   3487    int len ;
3488    void const   *data ;   3488    void const   *data ;
3489 };   3489 };
3490 typedef struct _address address;   3490 typedef struct _address address;
3491 enum __anonenum_port_type_144 {   3491 enum __anonenum_port_type_144 {
3492     PT_NONE = 0,   3492     PT_NONE = 0,
3493     PT_SCTP = 1,   3493     PT_SCTP = 1,
3494     PT_TCP = 2,   3494     PT_TCP = 2,
3495     PT_UDP = 3,   3495     PT_UDP = 3,
3496     PT_DCCP = 4,   3496     PT_DCCP = 4,
3497     PT_IPX = 5,   3497     PT_IPX = 5,
3498     PT_NCP = 6,   3498     PT_NCP = 6,
3499     PT_EXCHG = 7,   3499     PT_EXCHG = 7,
3500     PT_DDP = 8,   3500     PT_DDP = 8,
3501     PT_SBCCS = 9,   3501     PT_SBCCS = 9,
3502     PT_IDP = 10,   3502     PT_IDP = 10,
3503     PT_TIPC = 11,   3503     PT_TIPC = 11,
3504     PT_USB = 12,   3504     PT_USB = 12,
3505     PT_I2C = 13,   3505     PT_I2C = 13,
3506     PT_IBQP = 14   3506     PT_IBQP = 14
3507 } ;   3507 } ;
3508 typedef enum __anonenum_port_type_144 port_type;   3508 typedef enum __anonenum_port_type_144 port_type;
3509 enum __anonenum_circuit_type_145 {   3509 enum __anonenum_circuit_type_145 {
3510     CT_NONE = 0,   3510     CT_NONE = 0,
3511     CT_DLCI = 1,   3511     CT_DLCI = 1,
3512     CT_ISDN = 2,   3512     CT_ISDN = 2,
3513     CT_X25 = 3,   3513     CT_X25 = 3,
3514     CT_ISUP = 4,   3514     CT_ISUP = 4,
3515     CT_IAX2 = 5,   3515     CT_IAX2 = 5,
3516     CT_H223 = 6,   3516     CT_H223 = 6,
3517     CT_BICC = 7   3517     CT_BICC = 7
3518 } ;   3518 } ;
3519 typedef enum __anonenum_circuit_type_145 circuit_type;   3519 typedef enum __anonenum_circuit_type_145 circuit_type;
3520 struct _sccp_msg_info_t;   3520 struct _sccp_msg_info_t;
3521 struct _packet_info {   3521 struct _packet_info {
3522    char const   *current_proto ;   3522    char const   *current_proto ;
3523    column_info *cinfo ;   3523    column_info *cinfo ;
3524    frame_data *fd ;   3524    frame_data *fd ;
3525    union wtap_pseudo_header *pseudo_header ;   3525    union wtap_pseudo_header *pseudo_header ;
3526    GSList *data_src ;   3526    GSList *data_src ;
3527    address dl_src ;   3527    address dl_src ;
3528    address dl_dst ;   3528    address dl_dst ;
3529    address net_src ;   3529    address net_src ;
3530    address net_dst ;   3530    address net_dst ;
3531    address src ;   3531    address src ;
3532    address dst ;   3532    address dst ;
3533    guint32 ethertype ;   3533    guint32 ethertype ;
3534    guint32 ipproto ;   3534    guint32 ipproto ;
3535    guint32 ipxptype ;   3535    guint32 ipxptype ;
3536    guint32 mpls_label ;   3536    guint32 mpls_label ;
3537    circuit_type ctype ;   3537    circuit_type ctype ;
3538    guint32 circuit_id ;   3538    guint32 circuit_id ;
3539    char const   *noreassembly_reason ;   3539    char const   *noreassembly_reason ;
3540    gboolean fragmented ;   3540    gboolean fragmented ;
3541    gboolean in_error_pkt ;   3541    gboolean in_error_pkt ;
3542    port_type ptype ;   3542    port_type ptype ;
3543    guint32 srcport ;   3543    guint32 srcport ;
3544    guint32 destport ;   3544    guint32 destport ;
3545    guint32 match_uint ;   3545    guint32 match_uint ;
3546    char const   *match_string ;   3546    char const   *match_string ;
3547    guint16 can_desegment ;   3547    guint16 can_desegment ;
3548    guint16 saved_can_desegment ;   3548    guint16 saved_can_desegment ;
3549    int desegment_offset ;   3549    int desegment_offset ;
3550    guint32 desegment_len ;   3550    guint32 desegment_len ;
3551    guint16 want_pdu_tracking ;   3551    guint16 want_pdu_tracking ;
3552    guint32 bytes_until_next_pdu ;   3552    guint32 bytes_until_next_pdu ;
3553    int iplen ;   3553    int iplen ;
3554    int iphdrlen ;   3554    int iphdrlen ;
3555    guint8 ip_ttl ;   3555    guint8 ip_ttl ;
3556    int p2p_dir ;   3556    int p2p_dir ;
3557    guint16 oxid ;   3557    guint16 oxid ;
3558    guint16 rxid ;   3558    guint16 rxid ;
3559    guint8 r_ctl ;   3559    guint8 r_ctl ;
3560    guint8 sof_eof ;   3560    guint8 sof_eof ;
3561    guint16 src_idx ;   3561    guint16 src_idx ;
3562    guint16 dst_idx ;   3562    guint16 dst_idx ;
3563    guint16 vsan ;   3563    guint16 vsan ;
3564    guint16 dcectxid ;   3564    guint16 dcectxid ;
3565    int dcetransporttype ;   3565    int dcetransporttype ;
3566    guint16 dcetransportsalt ;   3566    guint16 dcetransportsalt ;
3567    guint16 decrypt_gssapi_tvb ;   3567    guint16 decrypt_gssapi_tvb ;
3568    tvbuff_t *gssapi_wrap_tvb ;   3568    tvbuff_t *gssapi_wrap_tvb ;
3569    tvbuff_t *gssapi_encrypted_tvb ;   3569    tvbuff_t *gssapi_encrypted_tvb ;
3570    tvbuff_t *gssapi_decrypted_tvb ;   3570    tvbuff_t *gssapi_decrypted_tvb ;
3571    gboolean gssapi_data_encrypted ;   3571    gboolean gssapi_data_encrypted ;
3572    guint32 ppid ;   3572    guint32 ppid ;
3573    guint32 ppids[2] ;   3573    guint32 ppids[2] ;
3574    void *private_data ;   3574    void *private_data ;
3575    GString *layer_names ;   3575    GString *layer_names ;
3576    guint16 link_number ;   3576    guint16 link_number ;
3577    guint8 annex_a_used ;   3577    guint8 annex_a_used ;
3578    guint16 profinet_type ;   3578    guint16 profinet_type ;
3579    void *profinet_conv ;   3579    void *profinet_conv ;
3580    void *usb_conv_info ;   3580    void *usb_conv_info ;
3581    void *tcp_tree ;   3581    void *tcp_tree ;
3582    char const   *dcerpc_procedure_name ;   3582    char const   *dcerpc_procedure_name ;
3583    struct _sccp_msg_info_t *sccp_info ;   3583    struct _sccp_msg_info_t *sccp_info ;
3584    guint16 clnp_srcref ;   3584    guint16 clnp_srcref ;
3585    guint16 clnp_dstref ;   3585    guint16 clnp_dstref ;
3586    guint16 zbee_cluster_id ;   3586    guint16 zbee_cluster_id ;
3587    guint8 zbee_stack_vers ;   3587    guint8 zbee_stack_vers ;
3588    int link_dir ;   3588    int link_dir ;
3589 };   3589 };
3590 typedef struct _packet_info packet_info;   3590 typedef struct _packet_info packet_info;
3591 struct e_in6_addr;   3591 struct e_in6_addr;
3592 struct _value_string {   3592 struct _value_string {
3593    guint32 value ;   3593    guint32 value ;
3594    gchar const   *strptr ;   3594    gchar const   *strptr ;
3595 };   3595 };
3596 typedef struct _value_string value_string;   3596 typedef struct _value_string value_string;
3597 struct _string_string {   3597 struct _string_string {
3598    gchar const   *value ;   3598    gchar const   *value ;
3599    gchar const   *strptr ;   3599    gchar const   *strptr ;
3600 };   3600 };
3601 typedef struct _string_string string_string;   3601 typedef struct _string_string string_string;
3602 struct _range_string {   3602 struct _range_string {
3603    guint32 value_min ;   3603    guint32 value_min ;
3604    guint32 value_max ;   3604    guint32 value_max ;
3605    gchar const   *strptr ;   3605    gchar const   *strptr ;
3606 };   3606 };
3607 typedef struct _range_string range_string;   3607 typedef struct _range_string range_string;
3608 struct _value_string_ext;   3608 struct _value_string_ext;
3609 struct _value_string_ext;   3609 struct _value_string_ext;
3610 typedef value_string const   *(*_value_string_match2_t)(guint32 const    ,   3610 typedef value_string const   *(*_value_string_match2_t)(guint32 const    ,
3611                                                         struct _value_string_ext  const  * );   3611                                                         struct _value_string_ext  const  * );
3612 struct _value_string_ext {   3612 struct _value_string_ext {
3613    value_string const   *(*_vs_match2)(guint32 const    ,   3613    value_string const   *(*_vs_match2)(guint32 const    ,
3614                                        struct _value_string_ext  const  * ) ;   3614                                        struct _value_string_ext  const  * ) ;
3615    guint32 _vs_first_value ;   3615    guint32 _vs_first_value ;
3616    guint _vs_num_entries ;   3616    guint _vs_num_entries ;
3617    value_string const   *_vs_p ;   3617    value_string const   *_vs_p ;
3618    gchar const   *_vs_name ;   3618    gchar const   *_vs_name ;
3619 };   3619 };
3620 typedef struct _value_string_ext value_string_ext;   3620 typedef struct _value_string_ext value_string_ext;
3621 struct true_false_string {   3621 struct true_false_string {
3622    char const   *true_string ;   3622    char const   *true_string ;
3623    char const   *false_string ;   3623    char const   *false_string ;
3624 };   3624 };
3625 typedef struct true_false_string true_false_string;   3625 typedef struct true_false_string true_false_string;
3626 struct _packet_counts {   3626 struct _packet_counts {
3627    gint sctp ;   3627    gint sctp ;
3628    gint tcp ;   3628    gint tcp ;
3629    gint udp ;   3629    gint udp ;
3630    gint icmp ;   3630    gint icmp ;
3631    gint ospf ;   3631    gint ospf ;
3632    gint gre ;   3632    gint gre ;
3633    gint netbios ;   3633    gint netbios ;
3634    gint ipx ;   3634    gint ipx ;
3635    gint vines ;   3635    gint vines ;
3636    gint other ;   3636    gint other ;
3637    gint total ;   3637    gint total ;
3638    gint arp ;   3638    gint arp ;
3639    gint i2c_event ;   3639    gint i2c_event ;
3640    gint i2c_data ;   3640    gint i2c_data ;
3641 };   3641 };
3642 typedef struct _packet_counts packet_counts;   3642 typedef struct _packet_counts packet_counts;
3643 enum __anonenum_packet_char_enc_146 {   3643 enum __anonenum_packet_char_enc_146 {
3644     PACKET_CHAR_ENC_CHAR_ASCII = 0,   3644     PACKET_CHAR_ENC_CHAR_ASCII = 0,
3645     PACKET_CHAR_ENC_CHAR_EBCDIC = 1   3645     PACKET_CHAR_ENC_CHAR_EBCDIC = 1
3646 } ;   3646 } ;
3647 typedef enum __anonenum_packet_char_enc_146 packet_char_enc;   3647 typedef enum __anonenum_packet_char_enc_146 packet_char_enc;
3648 struct dissector_handle;   3648 struct dissector_handle;
3649 struct dissector_handle;   3649 struct dissector_handle;
3650 typedef struct dissector_handle *dissector_handle_t;   3650 typedef struct dissector_handle *dissector_handle_t;
3651 struct dissector_table;   3651 struct dissector_table;
3652 struct dissector_table;   3652 struct dissector_table;
3653 typedef struct dissector_table *dissector_table_t;   3653 typedef struct dissector_table *dissector_table_t;
3654 typedef void (*dissector_t)(tvbuff_t * , packet_info * , proto_tree * );   3654 typedef void (*dissector_t)(tvbuff_t * , packet_info * , proto_tree * );
3655 typedef int (*new_dissector_t)(tvbuff_t * , packet_info * , proto_tree * );   3655 typedef int (*new_dissector_t)(tvbuff_t * , packet_info * , proto_tree * );
3656 typedef gboolean (*heur_dissector_t)(tvbuff_t *tvb , packet_info *pinfo ,   3656 typedef gboolean (*heur_dissector_t)(tvbuff_t *tvb , packet_info *pinfo ,
3657                                      proto_tree *tree );   3657                                      proto_tree *tree );
3658 typedef void (*DATFunc)(gchar const   *table_name , ftenum_t selector_type ,   3658 typedef void (*DATFunc)(gchar const   *table_name , ftenum_t selector_type ,
3659                         gpointer key , gpointer value , gpointer user_data );   3659                         gpointer key , gpointer value , gpointer user_data );
3660 typedef void (*DATFunc_handle)(gchar const   *table_name , gpointer value ,   3660 typedef void (*DATFunc_handle)(gchar const   *table_name , gpointer value ,
3661                                gpointer user_data );   3661                                gpointer user_data );
3662 typedef void (*DATFunc_table)(gchar const   *table_name ,   3662 typedef void (*DATFunc_table)(gchar const   *table_name ,
3663                               gchar const   *ui_name , gpointer user_data );   3663                               gchar const   *ui_name , gpointer user_data );
3664 struct dtbl_entry;   3664 struct dtbl_entry;
3665 typedef struct dtbl_entry dtbl_entry_t;   3665 typedef struct dtbl_entry dtbl_entry_t;
3666 typedef GSList *heur_dissector_list_t;   3666 typedef GSList *heur_dissector_list_t;
3667 struct print_stream;   3667 struct print_stream;
3668 struct print_stream;   3668 struct print_stream;
3669 struct print_stream_ops {   3669 struct print_stream_ops {
3670    gboolean (*print_preamble)(struct print_stream *self , gchar *filename ) ;   3670    gboolean (*print_preamble)(struct print_stream *self , gchar *filename ) ;
3671    gboolean (*print_line)(struct print_stream *self , int indent ,   3671    gboolean (*print_line)(struct print_stream *self , int indent ,
3672                           char const   *line ) ;   3672                           char const   *line ) ;
3673    gboolean (*print_bookmark)(struct print_stream *self , gchar const   *name ,   3673    gboolean (*print_bookmark)(struct print_stream *self , gchar const   *name ,
3674                               gchar const   *title ) ;   3674                               gchar const   *title ) ;
3675    gboolean (*new_page)(struct print_stream *self ) ;   3675    gboolean (*new_page)(struct print_stream *self ) ;
3676    gboolean (*print_finale)(struct print_stream *self ) ;   3676    gboolean (*print_finale)(struct print_stream *self ) ;
3677    gboolean (*destroy)(struct print_stream *self ) ;   3677    gboolean (*destroy)(struct print_stream *self ) ;
3678 };   3678 };
3679 typedef struct print_stream_ops print_stream_ops_t;   3679 typedef struct print_stream_ops print_stream_ops_t;
3680 struct print_stream {   3680 struct print_stream {
3681    print_stream_ops_t const   *ops ;   3681    print_stream_ops_t const   *ops ;
3682    void *data ;   3682    void *data ;
3683 };   3683 };
3684 typedef struct print_stream print_stream_t;   3684 typedef struct print_stream print_stream_t;
3685 enum __anonenum_print_format_e_147 {   3685 enum __anonenum_print_format_e_147 {
3686     PR_FMT_TEXT = 0,   3686     PR_FMT_TEXT = 0,
3687     PR_FMT_PS = 1   3687     PR_FMT_PS = 1
3688 } ;   3688 } ;
3689 typedef enum __anonenum_print_format_e_147 print_format_e;   3689 typedef enum __anonenum_print_format_e_147 print_format_e;
3690 enum __anonenum_print_range_e_148 {   3690 enum __anonenum_print_range_e_148 {
3691     print_range_selected_only = 0,   3691     print_range_selected_only = 0,
3692     print_range_marked_only = 1,   3692     print_range_marked_only = 1,
3693     print_range_all_displayed = 2,   3693     print_range_all_displayed = 2,
3694     print_range_all_captured = 3   3694     print_range_all_captured = 3
3695 } ;   3695 } ;
3696 typedef enum __anonenum_print_range_e_148 print_range_e;   3696 typedef enum __anonenum_print_range_e_148 print_range_e;
3697 enum __anonenum_print_dissections_e_149 {   3697 enum __anonenum_print_dissections_e_149 {
3698     print_dissections_none = 0,   3698     print_dissections_none = 0,
3699     print_dissections_collapsed = 1,   3699     print_dissections_collapsed = 1,
3700     print_dissections_as_displayed = 2,   3700     print_dissections_as_displayed = 2,
3701     print_dissections_expanded = 3   3701     print_dissections_expanded = 3
3702 } ;   3702 } ;
3703 typedef enum __anonenum_print_dissections_e_149 print_dissections_e;   3703 typedef enum __anonenum_print_dissections_e_149 print_dissections_e;
3704 struct __anonstruct_print_args_t_150 {   3704 struct __anonstruct_print_args_t_150 {
3705    print_stream_t *stream ;   3705    print_stream_t *stream ;
3706    print_format_e format ;   3706    print_format_e format ;
3707    gboolean to_file ;   3707    gboolean to_file ;
3708    char *file ;   3708    char *file ;
3709    char *cmd ;   3709    char *cmd ;
3710    packet_range_t range ;   3710    packet_range_t range ;
3711    gboolean print_summary ;   3711    gboolean print_summary ;
3712    print_dissections_e print_dissections ;   3712    print_dissections_e print_dissections ;
3713    gboolean print_hex ;   3713    gboolean print_hex ;
3714    gboolean print_formfeed ;   3714    gboolean print_formfeed ;
3715 };   3715 };
3716 typedef struct __anonstruct_print_args_t_150 print_args_t;   3716 typedef struct __anonstruct_print_args_t_150 print_args_t;
3717 struct _output_fields;   3717 struct _output_fields;
3718 struct _output_fields;   3718 struct _output_fields;
3719 typedef struct _output_fields output_fields_t;   3719 typedef struct _output_fields output_fields_t;
3720 struct _frame_data_sequence;   3720 struct _frame_data_sequence;
3721 typedef struct _frame_data_sequence frame_data_sequence;   3721 typedef struct _frame_data_sequence frame_data_sequence;
3722 enum __anonenum_file_state_151 {   3722 enum __anonenum_file_state_151 {
3723     FILE_CLOSED = 0,   3723     FILE_CLOSED = 0,
3724     FILE_READ_IN_PROGRESS = 1,   3724     FILE_READ_IN_PROGRESS = 1,
3725     FILE_READ_ABORTED = 2,   3725     FILE_READ_ABORTED = 2,
3726     FILE_READ_DONE = 3   3726     FILE_READ_DONE = 3
3727 } ;   3727 } ;
3728 typedef enum __anonenum_file_state_151 file_state;   3728 typedef enum __anonenum_file_state_151 file_state;
3729 enum __anonenum_search_charset_t_152 {   3729 enum __anonenum_search_charset_t_152 {
3730     SCS_ASCII_AND_UNICODE = 0,   3730     SCS_ASCII_AND_UNICODE = 0,
3731     SCS_ASCII = 1,   3731     SCS_ASCII = 1,
3732     SCS_UNICODE = 2   3732     SCS_UNICODE = 2
3733 } ;   3733 } ;
3734 typedef enum __anonenum_search_charset_t_152 search_charset_t;   3734 typedef enum __anonenum_search_charset_t_152 search_charset_t;
3735 enum __anonenum_search_direction_153 {   3735 enum __anonenum_search_direction_153 {
3736     SD_FORWARD = 0,   3736     SD_FORWARD = 0,
3737     SD_BACKWARD = 1   3737     SD_BACKWARD = 1
3738 } ;   3738 } ;
3739 typedef enum __anonenum_search_direction_153 search_direction;   3739 typedef enum __anonenum_search_direction_153 search_direction;
3740 struct _capture_file {   3740 struct _capture_file {
3741    file_state state ;   3741    file_state state ;
3742    gchar *filename ;   3742    gchar *filename ;
3743    gchar *source ;   3743    gchar *source ;
3744    gboolean is_tempfile ;   3744    gboolean is_tempfile ;
3745    gboolean user_saved ;   3745    gboolean user_saved ;
3746    gint64 f_datalen ;   3746    gint64 f_datalen ;
3747    guint16 cd_t ;   3747    guint16 cd_t ;
3748    int lnk_t ;   3748    int lnk_t ;
3749    guint32 count ;   3749    guint32 count ;
3750    guint32 displayed_count ;   3750    guint32 displayed_count ;
3751    guint32 marked_count ;   3751    guint32 marked_count ;
3752    guint32 ignored_count ;   3752    guint32 ignored_count ;
3753    guint32 ref_time_count ;   3753    guint32 ref_time_count ;
3754    gboolean drops_known ;   3754    gboolean drops_known ;
3755    guint32 drops ;   3755    guint32 drops ;
3756    nstime_t elapsed_time ;   3756    nstime_t elapsed_time ;
3757    gboolean has_snap ;   3757    gboolean has_snap ;
3758    int snap ;   3758    int snap ;
3759    wtap *wth ;   3759    wtap *wth ;
3760    dfilter_t *rfcode ;   3760    dfilter_t *rfcode ;
3761    gchar *dfilter ;   3761    gchar *dfilter ;
3762    gboolean redissecting ;   3762    gboolean redissecting ;
3763    gchar *sfilter ;   3763    gchar *sfilter ;
3764    gboolean hex ;   3764    gboolean hex ;
3765    gboolean string ;   3765    gboolean string ;
3766    gboolean summary_data ;   3766    gboolean summary_data ;
3767    gboolean decode_data ;   3767    gboolean decode_data ;
3768    gboolean packet_data ;   3768    gboolean packet_data ;
3769    guint32 search_pos ;   3769    guint32 search_pos ;
3770    gboolean case_type ;   3770    gboolean case_type ;
3771    search_charset_t scs_type ;   3771    search_charset_t scs_type ;
3772    search_direction dir ;   3772    search_direction dir ;
3773    gboolean search_in_progress ;   3773    gboolean search_in_progress ;
3774    union wtap_pseudo_header pseudo_header ;   3774    union wtap_pseudo_header pseudo_header ;
3775    guint8 pd[65535] ;   3775    guint8 pd[65535] ;
3776    frame_data_sequence *frames ;   3776    frame_data_sequence *frames ;
3777    guint32 first_displayed ;   3777    guint32 first_displayed ;
3778    guint32 last_displayed ;   3778    guint32 last_displayed ;
3779    column_info cinfo ;   3779    column_info cinfo ;
3780    frame_data *current_frame ;   3780    frame_data *current_frame ;
3781    gint current_row ;   3781    gint current_row ;
3782    epan_dissect_t *edt ;   3782    epan_dissect_t *edt ;
3783    field_info *finfo_selected ;   3783    field_info *finfo_selected ;
3784 };   3784 };
3785 typedef struct _capture_file capture_file;   3785 typedef struct _capture_file capture_file;
3786 enum __anonenum_cf_status_t_154 {   3786 enum __anonenum_cf_status_t_154 {
3787     CF_OK = 0,   3787     CF_OK = 0,
3788     CF_ERROR = 1   3788     CF_ERROR = 1
3789 } ;   3789 } ;
3790 typedef enum __anonenum_cf_status_t_154 cf_status_t;   3790 typedef enum __anonenum_cf_status_t_154 cf_status_t;
3791 enum __anonenum_cf_read_status_t_155 {   3791 enum __anonenum_cf_read_status_t_155 {
3792     CF_READ_OK = 0,   3792     CF_READ_OK = 0,
3793     CF_READ_ERROR = 1,   3793     CF_READ_ERROR = 1,
3794     CF_READ_ABORTED = 2   3794     CF_READ_ABORTED = 2
3795 } ;   3795 } ;
3796 typedef enum __anonenum_cf_read_status_t_155 cf_read_status_t;   3796 typedef enum __anonenum_cf_read_status_t_155 cf_read_status_t;
3797 enum __anonenum_cf_print_status_t_156 {   3797 enum __anonenum_cf_print_status_t_156 {
3798     CF_PRINT_OK = 0,   3798     CF_PRINT_OK = 0,
3799     CF_PRINT_OPEN_ERROR = 1,   3799     CF_PRINT_OPEN_ERROR = 1,
3800     CF_PRINT_WRITE_ERROR = 2   3800     CF_PRINT_WRITE_ERROR = 2
3801 } ;   3801 } ;
3802 typedef enum __anonenum_cf_print_status_t_156 cf_print_status_t;   3802 typedef enum __anonenum_cf_print_status_t_156 cf_print_status_t;
3803 enum __anonenum_cf_cbs_157 {   3803 enum __anonenum_cf_cbs_157 {
3804     cf_cb_file_closing = 0,   3804     cf_cb_file_closing = 0,
3805     cf_cb_file_closed = 1,   3805     cf_cb_file_closed = 1,
3806     cf_cb_file_read_started = 2,   3806     cf_cb_file_read_started = 2,
3807     cf_cb_file_read_finished = 3,   3807     cf_cb_file_read_finished = 3,
3808     cf_cb_packet_selected = 4,   3808     cf_cb_packet_selected = 4,
3809     cf_cb_packet_unselected = 5,   3809     cf_cb_packet_unselected = 5,
3810     cf_cb_field_unselected = 6,   3810     cf_cb_field_unselected = 6,
3811     cf_cb_file_save_started = 7,   3811     cf_cb_file_save_started = 7,
3812     cf_cb_file_save_finished = 8,   3812     cf_cb_file_save_finished = 8,
3813     cf_cb_file_save_reload_finished = 9,   3813     cf_cb_file_save_reload_finished = 9,
3814     cf_cb_file_save_failed = 10   3814     cf_cb_file_save_failed = 10
3815 } ;   3815 } ;
3816 typedef enum __anonenum_cf_cbs_157 cf_cbs;   3816 typedef enum __anonenum_cf_cbs_157 cf_cbs;
3817 typedef void (*cf_callback_t)(gint event , gpointer data , gpointer user_data );   3817 typedef void (*cf_callback_t)(gint event , gpointer data , gpointer user_data );
3818 struct __anonstruct_match_data_158 {   3818 struct __anonstruct_match_data_158 {
3819    char const   *string ;   3819    char const   *string ;
3820    size_t string_len ;   3820    size_t string_len ;
3821    capture_file *cf ;   3821    capture_file *cf ;
3822    gboolean frame_matched ;   3822    gboolean frame_matched ;
3823    field_info *finfo ;   3823    field_info *finfo ;
3824 };   3824 };
3825 typedef struct __anonstruct_match_data_158 match_data;   3825 typedef struct __anonstruct_match_data_158 match_data;
3826 typedef int bpf_int32;   3826 typedef int bpf_int32;
3827 typedef u_int bpf_u_int32;   3827 typedef u_int bpf_u_int32;
3828 struct bpf_insn;   3828 struct bpf_insn;
3829 struct bpf_program {   3829 struct bpf_program {
3830    u_int bf_len ;   3830    u_int bf_len ;
3831    struct bpf_insn *bf_insns ;   3831    struct bpf_insn *bf_insns ;
3832 };   3832 };
3833 struct bpf_version {   3833 struct bpf_version {
3834    u_short bv_major ;   3834    u_short bv_major ;
3835    u_short bv_minor ;   3835    u_short bv_minor ;
3836 };   3836 };
3837 struct bpf_insn {   3837 struct bpf_insn {
3838    u_short code ;   3838    u_short code ;
3839    u_char jt ;   3839    u_char jt ;
3840    u_char jf ;   3840    u_char jf ;
3841    bpf_u_int32 k ;   3841    bpf_u_int32 k ;
3842 };   3842 };
3843 struct pcap;   3843 struct pcap;
3844 typedef struct pcap pcap_t;   3844 typedef struct pcap pcap_t;
3845 struct pcap_dumper;   3845 struct pcap_dumper;
3846 typedef struct pcap_dumper pcap_dumper_t;   3846 typedef struct pcap_dumper pcap_dumper_t;
3847 struct pcap_if;   3847 struct pcap_if;
3848 typedef struct pcap_if pcap_if_t;   3848 typedef struct pcap_if pcap_if_t;
3849 struct pcap_addr;   3849 struct pcap_addr;
3850 typedef struct pcap_addr pcap_addr_t;   3850 typedef struct pcap_addr pcap_addr_t;
3851 struct pcap_file_header {   3851 struct pcap_file_header {
3852    bpf_u_int32 magic ;   3852    bpf_u_int32 magic ;
3853    u_short version_major ;   3853    u_short version_major ;
3854    u_short version_minor ;   3854    u_short version_minor ;
3855    bpf_int32 thiszone ;   3855    bpf_int32 thiszone ;
3856    bpf_u_int32 sigfigs ;   3856    bpf_u_int32 sigfigs ;
3857    bpf_u_int32 snaplen ;   3857    bpf_u_int32 snaplen ;
3858    bpf_u_int32 linktype ;   3858    bpf_u_int32 linktype ;
3859 };   3859 };
3860 enum __anonenum_pcap_direction_t_159 {   3860 enum __anonenum_pcap_direction_t_159 {
3861     PCAP_D_INOUT = 0,   3861     PCAP_D_INOUT = 0,
3862     PCAP_D_IN = 1,   3862     PCAP_D_IN = 1,
3863     PCAP_D_OUT = 2   3863     PCAP_D_OUT = 2
3864 } ;   3864 } ;
3865 typedef enum __anonenum_pcap_direction_t_159 pcap_direction_t;   3865 typedef enum __anonenum_pcap_direction_t_159 pcap_direction_t;
3866 struct pcap_pkthdr {   3866 struct pcap_pkthdr {
3867    struct timeval ts ;   3867    struct timeval ts ;
3868    bpf_u_int32 caplen ;   3868    bpf_u_int32 caplen ;
3869    bpf_u_int32 len ;   3869    bpf_u_int32 len ;
3870 };   3870 };
3871 struct pcap_stat {   3871 struct pcap_stat {
3872    u_int ps_recv ;   3872    u_int ps_recv ;
3873    u_int ps_drop ;   3873    u_int ps_drop ;
3874    u_int ps_ifdrop ;   3874    u_int ps_ifdrop ;
3875 };   3875 };
3876 struct pcap_if {   3876 struct pcap_if {
3877    struct pcap_if *next ;   3877    struct pcap_if *next ;
3878    char *name ;   3878    char *name ;
3879    char *description ;   3879    char *description ;
3880    struct pcap_addr *addresses ;   3880    struct pcap_addr *addresses ;
3881    bpf_u_int32 flags ;   3881    bpf_u_int32 flags ;
3882 };   3882 };
3883 struct pcap_addr {   3883 struct pcap_addr {
3884    struct pcap_addr *next ;   3884    struct pcap_addr *next ;
3885    struct sockaddr *addr ;   3885    struct sockaddr *addr ;
3886    struct sockaddr *netmask ;   3886    struct sockaddr *netmask ;
3887    struct sockaddr *broadaddr ;   3887    struct sockaddr *broadaddr ;
3888    struct sockaddr *dstaddr ;   3888    struct sockaddr *dstaddr ;
3889 };   3889 };
3890 typedef void (*pcap_handler)(u_char * , struct pcap_pkthdr  const  * ,   3890 typedef void (*pcap_handler)(u_char * , struct pcap_pkthdr  const  * ,
3891                              u_char const   * );   3891                              u_char const   * );
3892 struct sockaddr_un {   3892 struct sockaddr_un {
3893    sa_family_t sun_family ;   3893    sa_family_t sun_family ;
3894    char sun_path[108] ;   3894    char sun_path[108] ;
3895 };   3895 };
3896 struct __anonstruct_if_info_t_160 {   3896 struct __anonstruct_if_info_t_160 {
3897    char *name ;   3897    char *name ;
3898    char *description ;   3898    char *description ;
3899    GSList *addrs ;   3899    GSList *addrs ;
3900    gboolean loopback ;   3900    gboolean loopback ;
3901 };   3901 };
3902 typedef struct __anonstruct_if_info_t_160 if_info_t;   3902 typedef struct __anonstruct_if_info_t_160 if_info_t;
3903 enum __anonenum_if_address_type_161 {   3903 enum __anonenum_if_address_type_161 {
3904     IF_AT_IPv4 = 0,   3904     IF_AT_IPv4 = 0,
3905     IF_AT_IPv6 = 1   3905     IF_AT_IPv6 = 1
3906 } ;   3906 } ;
3907 typedef enum __anonenum_if_address_type_161 if_address_type;   3907 typedef enum __anonenum_if_address_type_161 if_address_type;
3908 union __anonunion_addr_163 {   3908 union __anonunion_addr_163 {
3909    guint32 ip4_addr ;   3909    guint32 ip4_addr ;
3910    guint8 ip6_addr[16] ;   3910    guint8 ip6_addr[16] ;
3911 };   3911 };
3912 struct __anonstruct_if_addr_t_162 {   3912 struct __anonstruct_if_addr_t_162 {
3913    if_address_type ifat_type ;   3913    if_address_type ifat_type ;
3914    union __anonunion_addr_163 addr ;   3914    union __anonunion_addr_163 addr ;
3915 };   3915 };
3916 typedef struct __anonstruct_if_addr_t_162 if_addr_t;   3916 typedef struct __anonstruct_if_addr_t_162 if_addr_t;
3917 struct __anonstruct_if_capabilities_t_164 {   3917 struct __anonstruct_if_capabilities_t_164 {
3918    gboolean can_set_rfmon ;   3918    gboolean can_set_rfmon ;
3919    GList *data_link_types ;   3919    GList *data_link_types ;
3920 };   3920 };
3921 typedef struct __anonstruct_if_capabilities_t_164 if_capabilities_t;   3921 typedef struct __anonstruct_if_capabilities_t_164 if_capabilities_t;
3922 struct __anonstruct_data_link_info_t_165 {   3922 struct __anonstruct_data_link_info_t_165 {
3923    int dlt ;   3923    int dlt ;
3924    char *name ;   3924    char *name ;
3925    char *description ;   3925    char *description ;
3926 };   3926 };
3927 typedef struct __anonstruct_data_link_info_t_165 data_link_info_t;   3927 typedef struct __anonstruct_data_link_info_t_165 data_link_info_t;
3928 enum __anonenum_capture_state_166 {   3928 enum __anonenum_capture_state_166 {
3929     CAPTURE_STOPPED = 0,   3929     CAPTURE_STOPPED = 0,
3930     CAPTURE_PREPARING = 1,   3930     CAPTURE_PREPARING = 1,
3931     CAPTURE_RUNNING = 2   3931     CAPTURE_RUNNING = 2
3932 } ;   3932 } ;
3933 typedef enum __anonenum_capture_state_166 capture_state;   3933 typedef enum __anonenum_capture_state_166 capture_state;
3934 struct interface_options_tag {   3934 struct interface_options_tag {
3935    gchar *name ;   3935    gchar *name ;
3936    gchar *descr ;   3936    gchar *descr ;
3937    gchar *cfilter ;   3937    gchar *cfilter ;
3938    int snaplen ;   3938    int snaplen ;
3939    int linktype ;   3939    int linktype ;
3940    gboolean promisc_mode ;   3940    gboolean promisc_mode ;
3941    int buffer_size ;   3941    int buffer_size ;
3942    gboolean monitor_mode ;   3942    gboolean monitor_mode ;
3943 };   3943 };
3944 typedef struct interface_options_tag interface_options;   3944 typedef struct interface_options_tag interface_options;
3945 struct capture_options_tag {   3945 struct capture_options_tag {
3946    void *cf ;   3946    void *cf ;
3947    gboolean has_cfilter ;   3947    gboolean has_cfilter ;
3948    gchar *cfilter ;   3948    gchar *cfilter ;
3949    gchar *iface ;   3949    gchar *iface ;
3950    gchar *iface_descr ;   3950    gchar *iface_descr ;
3951    GArray *ifaces ;   3951    GArray *ifaces ;
3952    interface_options default_options ;   3952    interface_options default_options ;
3953    int buffer_size ;   3953    int buffer_size ;
3954    gboolean has_snaplen ;   3954    gboolean has_snaplen ;
3955    int snaplen ;   3955    int snaplen ;
3956    gboolean promisc_mode ;   3956    gboolean promisc_mode ;
3957    int linktype ;   3957    int linktype ;
3958    gboolean monitor_mode ;   3958    gboolean monitor_mode ;
3959    gboolean saving_to_file ;   3959    gboolean saving_to_file ;
3960    gchar *save_file ;   3960    gchar *save_file ;
3961    gboolean group_read_access ;   3961    gboolean group_read_access ;
3962    gboolean use_pcapng ;   3962    gboolean use_pcapng ;
3963    gboolean real_time_mode ;   3963    gboolean real_time_mode ;
3964    gboolean show_info ;   3964    gboolean show_info ;
3965    gboolean quit_after_cap ;   3965    gboolean quit_after_cap ;
3966    gboolean restart ;   3966    gboolean restart ;
3967    gboolean multi_files_on ;   3967    gboolean multi_files_on ;
3968    gboolean has_file_duration ;   3968    gboolean has_file_duration ;
3969    gint32 file_duration ;   3969    gint32 file_duration ;
3970    gboolean has_ring_num_files ;   3970    gboolean has_ring_num_files ;
3971    guint32 ring_num_files ;   3971    guint32 ring_num_files ;
3972    gboolean has_autostop_files ;   3972    gboolean has_autostop_files ;
3973    gint32 autostop_files ;   3973    gint32 autostop_files ;
3974    gboolean has_autostop_packets ;   3974    gboolean has_autostop_packets ;
3975    int autostop_packets ;   3975    int autostop_packets ;
3976    gboolean has_autostop_filesize ;   3976    gboolean has_autostop_filesize ;
3977    gint32 autostop_filesize ;   3977    gint32 autostop_filesize ;
3978    gboolean has_autostop_duration ;   3978    gboolean has_autostop_duration ;
3979    gint32 autostop_duration ;   3979    gint32 autostop_duration ;
3980    int fork_child ;   3980    int fork_child ;
3981    int fork_child_status ;   3981    int fork_child_status ;
3982    capture_state state ;   3982    capture_state state ;
3983    gboolean output_to_pipe ;   3983    gboolean output_to_pipe ;
3984    uid_t owner ;   3984    uid_t owner ;
3985    gid_t group ;   3985    gid_t group ;
3986 };   3986 };
3987 typedef struct capture_options_tag capture_options;   3987 typedef struct capture_options_tag capture_options;
3988 struct condition;   3988 struct condition;
3989 typedef struct condition condition;   3989 typedef struct condition condition;
3990 typedef gboolean (*_cnd_eval)(condition * , va_list  );   3990 typedef gboolean (*_cnd_eval)(condition * , va_list  );
3991 typedef void (*_cnd_reset)(condition * );   3991 typedef void (*_cnd_reset)(condition * );
3992 typedef condition *(*_cnd_constr)(condition * , va_list  );   3992 typedef condition *(*_cnd_constr)(condition * , va_list  );
3993 typedef void (*_cnd_destr)(condition * );   3993 typedef void (*_cnd_destr)(condition * );
3994 struct pcap_hdr {   3994 struct pcap_hdr {
3995    guint16 version_major ;   3995    guint16 version_major ;
3996    guint16 version_minor ;   3996    guint16 version_minor ;
3997    gint32 thiszone ;   3997    gint32 thiszone ;
3998    guint32 sigfigs ;   3998    guint32 sigfigs ;
3999    guint32 snaplen ;   3999    guint32 snaplen ;
4000    guint32 network ;   4000    guint32 network ;
4001 };   4001 };
4002 struct pcaprec_hdr {   4002 struct pcaprec_hdr {
4003    guint32 ts_sec ;   4003    guint32 ts_sec ;
4004    guint32 ts_usec ;   4004    guint32 ts_usec ;
4005    guint32 incl_len ;   4005    guint32 incl_len ;
4006    guint32 orig_len ;   4006    guint32 orig_len ;
4007 };   4007 };
4008 struct pcaprec_modified_hdr {   4008 struct pcaprec_modified_hdr {
4009    struct pcaprec_hdr hdr ;   4009    struct pcaprec_hdr hdr ;
4010    guint32 ifindex ;   4010    guint32 ifindex ;
4011    guint16 protocol ;   4011    guint16 protocol ;
4012    guint8 pkt_type ;   4012    guint8 pkt_type ;
4013    guint8 pad ;   4013    guint8 pad ;
4014 };   4014 };
4015 struct pcaprec_ss990915_hdr {   4015 struct pcaprec_ss990915_hdr {
4016    struct pcaprec_hdr hdr ;   4016    struct pcaprec_hdr hdr ;
4017    guint32 ifindex ;   4017    guint32 ifindex ;
4018    guint16 protocol ;   4018    guint16 protocol ;
4019    guint8 pkt_type ;   4019    guint8 pkt_type ;
4020    guint8 cpu1 ;   4020    guint8 cpu1 ;
4021    guint8 cpu2 ;   4021    guint8 cpu2 ;
4022    guint8 pad[3] ;   4022    guint8 pad[3] ;
4023 };   4023 };
4024 struct pcaprec_nokia_hdr {   4024 struct pcaprec_nokia_hdr {
4025    struct pcaprec_hdr hdr ;   4025    struct pcaprec_hdr hdr ;
4026    guint8 stuff[4] ;   4026    guint8 stuff[4] ;
4027 };   4027 };
4028 enum __anonenum_initfilter_status_t_167 {   4028 enum __anonenum_initfilter_status_t_167 {
4029     INITFILTER_NO_ERROR = 0,   4029     INITFILTER_NO_ERROR = 0,
4030     INITFILTER_BAD_FILTER = 1,   4030     INITFILTER_BAD_FILTER = 1,
4031     INITFILTER_OTHER_ERROR = 2   4031     INITFILTER_OTHER_ERROR = 2
4032 } ;   4032 } ;
4033 typedef enum __anonenum_initfilter_status_t_167 initfilter_status_t;   4033 typedef enum __anonenum_initfilter_status_t_167 initfilter_status_t;
4034 struct _pcap_queue_element {   4034 struct _pcap_queue_element {
4035    guint interface_id ;   4035    guint interface_id ;
4036    struct pcap_pkthdr phdr ;   4036    struct pcap_pkthdr phdr ;
4037    u_char *pd ;   4037    u_char *pd ;
4038 };   4038 };
4039 typedef struct _pcap_queue_element pcap_queue_element;   4039 typedef struct _pcap_queue_element pcap_queue_element;
4040 enum __anonenum_cap_pipe_state_168 {   4040 enum __anonenum_cap_pipe_state_168 {
4041     STATE_EXPECT_REC_HDR = 0,   4041     STATE_EXPECT_REC_HDR = 0,
4042     STATE_READ_REC_HDR = 1,   4042     STATE_READ_REC_HDR = 1,
4043     STATE_EXPECT_DATA = 2,   4043     STATE_EXPECT_DATA = 2,
4044     STATE_READ_DATA = 3   4044     STATE_READ_DATA = 3
4045 } ;   4045 } ;
4046 enum __anonenum_cap_pipe_err_169 {   4046 enum __anonenum_cap_pipe_err_169 {
4047     PIPOK = 0,   4047     PIPOK = 0,
4048     PIPEOF = 1,   4048     PIPEOF = 1,
4049     PIPERR = 2,   4049     PIPERR = 2,
4050     PIPNEXIST = 3   4050     PIPNEXIST = 3
4051 } ;   4051 } ;
4052 struct _pcap_options {   4052 struct _pcap_options {
4053    pcap_t *pcap_h ;   4053    pcap_t *pcap_h ;
4054    int pcap_fd ;   4054    int pcap_fd ;
4055    gboolean pcap_err ;   4055    gboolean pcap_err ;
4056    guint interface_id ;   4056    guint interface_id ;
4057    GThread *tid ;   4057    GThread *tid ;
4058    int snaplen ;   4058    int snaplen ;
4059    int linktype ;   4059    int linktype ;
4060    gboolean from_cap_pipe ;   4060    gboolean from_cap_pipe ;
4061    struct pcap_hdr cap_pipe_hdr ;   4061    struct pcap_hdr cap_pipe_hdr ;
4062    struct pcaprec_modified_hdr cap_pipe_rechdr ;   4062    struct pcaprec_modified_hdr cap_pipe_rechdr ;
4063    int cap_pipe_fd ;   4063    int cap_pipe_fd ;
4064    gboolean cap_pipe_modified ;   4064    gboolean cap_pipe_modified ;
4065    gboolean cap_pipe_byte_swapped ;   4065    gboolean cap_pipe_byte_swapped ;
4066    int cap_pipe_bytes_to_read ;   4066    int cap_pipe_bytes_to_read ;
4067    int cap_pipe_bytes_read ;   4067    int cap_pipe_bytes_read ;
4068    enum __anonenum_cap_pipe_state_168 cap_pipe_state ;   4068    enum __anonenum_cap_pipe_state_168 cap_pipe_state ;
4069    enum __anonenum_cap_pipe_err_169 cap_pipe_err ;   4069    enum __anonenum_cap_pipe_err_169 cap_pipe_err ;
4070 };   4070 };
4071 typedef struct _pcap_options pcap_options;   4071 typedef struct _pcap_options pcap_options;
4072 struct _loop_data {   4072 struct _loop_data {
4073    gboolean go ;   4073    gboolean go ;
4074    int err ;   4074    int err ;
4075    gint packet_count ;   4075    gint packet_count ;
4076    gint packet_max ;   4076    gint packet_max ;
4077    gint inpkts_to_sync_pipe ;   4077    gint inpkts_to_sync_pipe ;
4078    GArray *pcaps ;   4078    GArray *pcaps ;
4079    FILE *pdh ;   4079    FILE *pdh ;
4080    int save_file_fd ;   4080    int save_file_fd ;
4081    long bytes_written ;   4081    long bytes_written ;
4082    guint32 autostop_files ;   4082    guint32 autostop_files ;
4083 };   4083 };
4084 typedef struct _loop_data loop_data;   4084 typedef struct _loop_data loop_data;
4085 struct __anonstruct_if_stat_t_170 {   4085 struct __anonstruct_if_stat_t_170 {
4086    char *name ;   4086    char *name ;
4087    pcap_t *pch ;   4087    pcap_t *pch ;
4088 };   4088 };
4089 typedef struct __anonstruct_if_stat_t_170 if_stat_t;   4089 typedef struct __anonstruct_if_stat_t_170 if_stat_t;
4090 enum __anonenum_result_171 {   4090 enum __anonenum_result_171 {
4091     PD_REC_HDR_READ = 0,   4091     PD_REC_HDR_READ = 0,
4092     PD_DATA_READ = 1,   4092     PD_DATA_READ = 1,
4093     PD_PIPE_EOF = 2,   4093     PD_PIPE_EOF = 2,
4094     PD_PIPE_ERR = 3,   4094     PD_PIPE_ERR = 3,
4095     PD_ERR = 4   4095     PD_ERR = 4
4096 } ;   4096 } ;
4097 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;   4097 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
4098 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;   4098 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
4099 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;   4099 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
4100 extern int __underflow(_IO_FILE * ) ;   4100 extern int __underflow(_IO_FILE * ) ;
4101 extern int __uflow(_IO_FILE * ) ;   4101 extern int __uflow(_IO_FILE * ) ;
4102 extern int __overflow(_IO_FILE * , int  ) ;   4102 extern int __overflow(_IO_FILE * , int  ) ;
4103 extern int _IO_getc(_IO_FILE *__fp ) ;   4103 extern int _IO_getc(_IO_FILE *__fp ) ;
4104 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;   4104 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
4105 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;   4105 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
4106 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;   4106 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
4107 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;   4107 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
4108 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;   4108 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
4109 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;   4109 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
4110 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;   4110 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
4111 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,   4111 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,
4112                        __gnuc_va_list  , int * __restrict   ) ;   4112                        __gnuc_va_list  , int * __restrict   ) ;
4113 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,   4113 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,
4114                         __gnuc_va_list  ) ;   4114                         __gnuc_va_list  ) ;
4115 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;   4115 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
4116 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;   4116 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
4117 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;   4117 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
4118 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;   4118 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
4119 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;   4119 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
4120 extern struct _IO_FILE *stdin ;   4120 extern struct _IO_FILE *stdin ;
4121 extern struct _IO_FILE *stdout ;   4121 extern struct _IO_FILE *stdout ;
4122 extern struct _IO_FILE *stderr ;   4122 extern struct _IO_FILE *stderr ;
4123 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;   4123 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
4124 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,   4124 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,
4125                                                 char const   *__new ) ;   4125                                                 char const   *__new ) ;
4126 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,   4126 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,
4127                                                   char const   *__old ,   4127                                                   char const   *__old ,
4128                                                   int __newfd ,   4128                                                   int __newfd ,
4129                                                   char const   *__new ) ;   4129                                                   char const   *__new ) ;
4130 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;   4130 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;
4131 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;   4131 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
4132 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;   4132 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
4133 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,   4133 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,
4134                                                    char const   *__pfx )  __attribute__((__malloc__)) ;   4134                                                    char const   *__pfx )  __attribute__((__malloc__)) ;
4135 extern int fclose(FILE *__stream ) ;   4135 extern int fclose(FILE *__stream ) ;
4136 extern int fflush(FILE *__stream ) ;   4136 extern int fflush(FILE *__stream ) ;
4137 extern int fflush_unlocked(FILE *__stream ) ;   4137 extern int fflush_unlocked(FILE *__stream ) ;
4138 extern FILE *fopen(char const   * __restrict  __filename ,   4138 extern FILE *fopen(char const   * __restrict  __filename ,
4139                    char const   * __restrict  __modes )  __asm__("fopen64")  ;   4139                    char const   * __restrict  __modes )  __asm__("fopen64")  ;
4140 extern FILE *freopen(char const   * __restrict  __filename ,   4140 extern FILE *freopen(char const   * __restrict  __filename ,
4141                      char const   * __restrict  __modes ,   4141                      char const   * __restrict  __modes ,
4142                      FILE * __restrict  __stream )  __asm__("freopen64")  ;   4142                      FILE * __restrict  __stream )  __asm__("freopen64")  ;
4143 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,   4143 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,
4144                                                   char const   *__modes ) ;   4144                                                   char const   *__modes ) ;
4145 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,   4145 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,
4146                                                     char const   *__modes ) ;   4146                                                     char const   *__modes ) ;
4147 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,   4147 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,
4148                                                           size_t *__sizeloc ) ;   4148                                                           size_t *__sizeloc ) ;
4149 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,   4149 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,
4150                                                  char * __restrict  __buf ) ;   4150                                                  char * __restrict  __buf ) ;
4151 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,   4151 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,
4152                                                  char * __restrict  __buf ,   4152                                                  char * __restrict  __buf ,
4153                                                  int __modes , size_t __n ) ;   4153                                                  int __modes , size_t __n ) ;
4154 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,   4154 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,
4155                                                     char * __restrict  __buf ,   4155                                                     char * __restrict  __buf ,
4156                                                     size_t __size ) ;   4156                                                     size_t __size ) ;
4157 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;   4157 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
4158 extern int fprintf(FILE * __restrict  __stream ,   4158 extern int fprintf(FILE * __restrict  __stream ,
4159                    char const   * __restrict  __format  , ...) ;   4159                    char const   * __restrict  __format  , ...) ;
4160 extern int printf(char const   * __restrict  __format  , ...) ;   4160 extern int printf(char const   * __restrict  __format  , ...) ;
4161 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,   4161 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,
4162                                                  char const   * __restrict  __format   4162                                                  char const   * __restrict  __format
4163                                                  , ...) ;   4163                                                  , ...) ;
4164 extern int vfprintf(FILE * __restrict  __s ,   4164 extern int vfprintf(FILE * __restrict  __s ,
4165                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;   4165                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;
4166 __inline extern int vprintf(char const   * __restrict  __fmt ,   4166 __inline extern int vprintf(char const   * __restrict  __fmt ,
4167                             __gnuc_va_list __arg ) ;   4167                             __gnuc_va_list __arg ) ;
4168 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,   4168 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,
4169                                                   char const   * __restrict  __format ,   4169                                                   char const   * __restrict  __format ,
4170                                                   __gnuc_va_list __arg ) ;   4170                                                   __gnuc_va_list __arg ) ;
4171 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,   4171 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,
4172                                                                              size_t __maxlen ,   4172                                                                              size_t __maxlen ,
4173                                                                              char const   * __restrict  __format   4173                                                                              char const   * __restrict  __format
4174                                                                              , ...) ;   4174                                                                              , ...) ;
4175 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,   4175 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,
4176                                                                               size_t __maxlen ,   4176                                                                               size_t __maxlen ,
4177                                                                               char const   * __restrict  __format ,   4177                                                                               char const   * __restrict  __format ,
4178                                                                               __gnuc_va_list __arg ) ;   4178                                                                               __gnuc_va_list __arg ) ;
4179 extern int ( /* format attribute */  vdprintf)(int __fd ,   4179 extern int ( /* format attribute */  vdprintf)(int __fd ,
4180                                                char const   * __restrict  __fmt ,   4180                                                char const   * __restrict  __fmt ,
4181                                                __gnuc_va_list __arg ) ;   4181                                                __gnuc_va_list __arg ) ;
4182 extern int ( /* format attribute */  dprintf)(int __fd ,   4182 extern int ( /* format attribute */  dprintf)(int __fd ,
4183                                               char const   * __restrict  __fmt   4183                                               char const   * __restrict  __fmt
4184                                               , ...) ;   4184                                               , ...) ;
4185 extern int fscanf(FILE * __restrict  __stream ,   4185 extern int fscanf(FILE * __restrict  __stream ,
4186                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;   4186                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
4187 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;   4187 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
4188 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,   4188 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,
4189                                                 char const   * __restrict  __format   4189                                                 char const   * __restrict  __format
4190                                                 , ...)  __asm__("__isoc99_sscanf")  ;   4190                                                 , ...)  __asm__("__isoc99_sscanf")  ;
4191 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,   4191 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,
4192                                               char const   * __restrict  __format ,   4192                                               char const   * __restrict  __format ,
4193                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;   4193                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
4194 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,   4194 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,
4195                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;   4195                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
4196 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,   4196 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,
4197                                                                             char const   * __restrict  __format ,   4197                                                                             char const   * __restrict  __format ,
4198                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;   4198                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
4199 extern int fgetc(FILE *__stream ) ;   4199 extern int fgetc(FILE *__stream ) ;
4200 extern int getc(FILE *__stream ) ;   4200 extern int getc(FILE *__stream ) ;
4201 __inline extern int getchar(void) ;   4201 __inline extern int getchar(void) ;
4202 __inline extern int getc_unlocked(FILE *__fp ) ;   4202 __inline extern int getc_unlocked(FILE *__fp ) ;
4203 __inline extern int getchar_unlocked(void) ;   4203 __inline extern int getchar_unlocked(void) ;
4204 __inline extern int fgetc_unlocked(FILE *__fp ) ;   4204 __inline extern int fgetc_unlocked(FILE *__fp ) ;
4205 extern int fputc(int __c , FILE *__stream ) ;   4205 extern int fputc(int __c , FILE *__stream ) ;
4206 extern int putc(int __c , FILE *__stream ) ;   4206 extern int putc(int __c , FILE *__stream ) ;
4207 __inline extern int putchar(int __c ) ;   4207 __inline extern int putchar(int __c ) ;
4208 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;   4208 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;
4209 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;   4209 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;
4210 __inline extern int putchar_unlocked(int __c ) ;   4210 __inline extern int putchar_unlocked(int __c ) ;
4211 extern int getw(FILE *__stream ) ;   4211 extern int getw(FILE *__stream ) ;
4212 extern int putw(int __w , FILE *__stream ) ;   4212 extern int putw(int __w , FILE *__stream ) ;
4213 extern char *fgets(char * __restrict  __s , int __n ,   4213 extern char *fgets(char * __restrict  __s , int __n ,
4214                    FILE * __restrict  __stream ) ;   4214                    FILE * __restrict  __stream ) ;
4215 extern char *gets(char *__s ) ;   4215 extern char *gets(char *__s ) ;
4216 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,   4216 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,
4217                             size_t * __restrict  __n , int __delimiter ,   4217                             size_t * __restrict  __n , int __delimiter ,
4218                             FILE * __restrict  __stream ) ;   4218                             FILE * __restrict  __stream ) ;
4219 extern __ssize_t getdelim(char ** __restrict  __lineptr ,   4219 extern __ssize_t getdelim(char ** __restrict  __lineptr ,
4220                           size_t * __restrict  __n , int __delimiter ,   4220                           size_t * __restrict  __n , int __delimiter ,
4221                           FILE * __restrict  __stream ) ;   4221                           FILE * __restrict  __stream ) ;
4222 extern __ssize_t getline(char ** __restrict  __lineptr ,   4222 extern __ssize_t getline(char ** __restrict  __lineptr ,
4223                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;   4223                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;
4224 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;   4224 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
4225 extern int puts(char const   *__s ) ;   4225 extern int puts(char const   *__s ) ;
4226 extern int ungetc(int __c , FILE *__stream ) ;   4226 extern int ungetc(int __c , FILE *__stream ) ;
4227 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,   4227 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,
4228                     FILE * __restrict  __stream ) ;   4228                     FILE * __restrict  __stream ) ;
4229 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,   4229 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,
4230                      size_t __n , FILE * __restrict  __s ) ;   4230                      size_t __n , FILE * __restrict  __s ) ;
4231 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,   4231 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,
4232                              size_t __n , FILE * __restrict  __stream ) ;   4232                              size_t __n , FILE * __restrict  __stream ) ;
4233 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,   4233 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,
4234                               size_t __n , FILE * __restrict  __stream ) ;   4234                               size_t __n , FILE * __restrict  __stream ) ;
4235 extern int fseek(FILE *__stream , long __off , int __whence ) ;   4235 extern int fseek(FILE *__stream , long __off , int __whence ) ;
4236 extern long ftell(FILE *__stream ) ;   4236 extern long ftell(FILE *__stream ) ;
4237 extern void rewind(FILE *__stream ) ;   4237 extern void rewind(FILE *__stream ) ;
4238 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;   4238 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;
4239 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;   4239 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;
4240 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;   4240 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;
4241 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;   4241 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;
4242 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;   4242 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
4243 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;   4243 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
4244 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;   4244 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
4245 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;   4245 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
4246 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   4246 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
4247 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   4247 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
4248 extern void perror(char const   *__s ) ;   4248 extern void perror(char const   *__s ) ;
4249 extern int sys_nerr ;   4249 extern int sys_nerr ;
4250 extern char const   * const  sys_errlist[] ;   4250 extern char const   * const  sys_errlist[] ;
4251 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;   4251 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
4252 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;   4252 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
4253 extern FILE *popen(char const   *__command , char const   *__modes ) ;   4253 extern FILE *popen(char const   *__command , char const   *__modes ) ;
4254 extern int pclose(FILE *__stream ) ;   4254 extern int pclose(FILE *__stream ) ;
4255 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;   4255 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
4256 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;   4256 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
4257 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;   4257 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
4258 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;   4258 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
4259 __inline extern int vprintf(char const   * __restrict  __fmt ,   4259 __inline extern int vprintf(char const   * __restrict  __fmt ,
4260                             __gnuc_va_list __arg )   4260                             __gnuc_va_list __arg )
4261 {   4261 {
4262   int tmp ;   4262   int tmp ;
4263     4263  
4264   {   4264   {
4265   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);   4265   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
4266   return (tmp);   4266   return (tmp);
4267 }   4267 }
4268 }   4268 }
4269 __inline extern int getchar(void)   4269 __inline extern int getchar(void)
4270 {   4270 {
4271   int tmp ;   4271   int tmp ;
4272     4272  
4273   {   4273   {
4274   tmp = _IO_getc(stdin);   4274   tmp = _IO_getc(stdin);
4275   return (tmp);   4275   return (tmp);
4276 }   4276 }
4277 }   4277 }
4278 __inline extern int fgetc_unlocked(FILE *__fp )   4278 __inline extern int fgetc_unlocked(FILE *__fp )
4279 {   4279 {
4280   long tmp ;   4280   long tmp ;
4281   int tmp___0 ;   4281   int tmp___0 ;
4282   char *tmp___1 ;   4282   char *tmp___1 ;
4283   int tmp___2 ;   4283   int tmp___2 ;
4284   long tmp___3 ;   4284   long tmp___3 ;
4285     4285  
4286   {   4286   {
4287   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   4287   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
4288                              0L);   4288                              0L);
4289   if (tmp___3) {   4289   if (tmp___3) {
4290     tmp___0 = __uflow(__fp);   4290     tmp___0 = __uflow(__fp);
4291     tmp___2 = tmp___0;   4291     tmp___2 = tmp___0;
4292   } else {   4292   } else {
4293     tmp___1 = __fp->_IO_read_ptr;   4293     tmp___1 = __fp->_IO_read_ptr;
4294     (__fp->_IO_read_ptr) ++;   4294     (__fp->_IO_read_ptr) ++;
4295     tmp___2 = (int )*((unsigned char *)tmp___1);   4295     tmp___2 = (int )*((unsigned char *)tmp___1);
4296   }   4296   }
4297   return (tmp___2);   4297   return (tmp___2);
4298 }   4298 }
4299 }   4299 }
4300 __inline extern int getc_unlocked(FILE *__fp )   4300 __inline extern int getc_unlocked(FILE *__fp )
4301 {   4301 {
4302   long tmp ;   4302   long tmp ;
4303   int tmp___0 ;   4303   int tmp___0 ;
4304   char *tmp___1 ;   4304   char *tmp___1 ;
4305   int tmp___2 ;   4305   int tmp___2 ;
4306   long tmp___3 ;   4306   long tmp___3 ;
4307     4307  
4308   {   4308   {
4309   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   4309   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
4310                              0L);   4310                              0L);
4311   if (tmp___3) {   4311   if (tmp___3) {
4312     tmp___0 = __uflow(__fp);   4312     tmp___0 = __uflow(__fp);
4313     tmp___2 = tmp___0;   4313     tmp___2 = tmp___0;
4314   } else {   4314   } else {
4315     tmp___1 = __fp->_IO_read_ptr;   4315     tmp___1 = __fp->_IO_read_ptr;
4316     (__fp->_IO_read_ptr) ++;   4316     (__fp->_IO_read_ptr) ++;
4317     tmp___2 = (int )*((unsigned char *)tmp___1);   4317     tmp___2 = (int )*((unsigned char *)tmp___1);
4318   }   4318   }
4319   return (tmp___2);   4319   return (tmp___2);
4320 }   4320 }
4321 }   4321 }
4322 __inline extern int getchar_unlocked(void)   4322 __inline extern int getchar_unlocked(void)
4323 {   4323 {
4324   long tmp ;   4324   long tmp ;
4325   int tmp___0 ;   4325   int tmp___0 ;
4326   char *tmp___1 ;   4326   char *tmp___1 ;
4327   int tmp___2 ;   4327   int tmp___2 ;
4328   long tmp___3 ;   4328   long tmp___3 ;
4329     4329  
4330   {   4330   {
4331   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),   4331   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),
4332                              0L);   4332                              0L);
4333   if (tmp___3) {   4333   if (tmp___3) {
4334     tmp___0 = __uflow(stdin);   4334     tmp___0 = __uflow(stdin);
4335     tmp___2 = tmp___0;   4335     tmp___2 = tmp___0;
4336   } else {   4336   } else {
4337     tmp___1 = stdin->_IO_read_ptr;   4337     tmp___1 = stdin->_IO_read_ptr;
4338     (stdin->_IO_read_ptr) ++;   4338     (stdin->_IO_read_ptr) ++;
4339     tmp___2 = (int )*((unsigned char *)tmp___1);   4339     tmp___2 = (int )*((unsigned char *)tmp___1);
4340   }   4340   }
4341   return (tmp___2);   4341   return (tmp___2);
4342 }   4342 }
4343 }   4343 }
4344 __inline extern int putchar(int __c )   4344 __inline extern int putchar(int __c )
4345 {   4345 {
4346   int tmp ;   4346   int tmp ;
4347     4347  
4348   {   4348   {
4349   tmp = _IO_putc(__c, stdout);   4349   tmp = _IO_putc(__c, stdout);
4350   return (tmp);   4350   return (tmp);
4351 }   4351 }
4352 }   4352 }
4353 __inline extern int fputc_unlocked(int __c , FILE *__stream )   4353 __inline extern int fputc_unlocked(int __c , FILE *__stream )
4354 {   4354 {
4355   long tmp ;   4355   long tmp ;
4356   int tmp___0 ;   4356   int tmp___0 ;
4357   char *tmp___1 ;   4357   char *tmp___1 ;
4358   char tmp___2 ;   4358   char tmp___2 ;
4359   int tmp___3 ;   4359   int tmp___3 ;
4360   long tmp___4 ;   4360   long tmp___4 ;
4361     4361  
4362   {   4362   {
4363   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   4363   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
4364                              0L);   4364                              0L);
4365   if (tmp___4) {   4365   if (tmp___4) {
4366     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   4366     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
4367     tmp___3 = tmp___0;   4367     tmp___3 = tmp___0;
4368   } else {   4368   } else {
4369     tmp___1 = __stream->_IO_write_ptr;   4369     tmp___1 = __stream->_IO_write_ptr;
4370     (__stream->_IO_write_ptr) ++;   4370     (__stream->_IO_write_ptr) ++;
4371     tmp___2 = (char )__c;   4371     tmp___2 = (char )__c;
4372     *tmp___1 = tmp___2;   4372     *tmp___1 = tmp___2;
4373     tmp___3 = (int )((unsigned char )tmp___2);   4373     tmp___3 = (int )((unsigned char )tmp___2);
4374   }   4374   }
4375   return (tmp___3);   4375   return (tmp___3);
4376 }   4376 }
4377 }   4377 }
4378 __inline extern int putc_unlocked(int __c , FILE *__stream )   4378 __inline extern int putc_unlocked(int __c , FILE *__stream )
4379 {   4379 {
4380   long tmp ;   4380   long tmp ;
4381   int tmp___0 ;   4381   int tmp___0 ;
4382   char *tmp___1 ;   4382   char *tmp___1 ;
4383   char tmp___2 ;   4383   char tmp___2 ;
4384   int tmp___3 ;   4384   int tmp___3 ;
4385   long tmp___4 ;   4385   long tmp___4 ;
4386     4386  
4387   {   4387   {
4388   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   4388   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
4389                              0L);   4389                              0L);
4390   if (tmp___4) {   4390   if (tmp___4) {
4391     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   4391     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
4392     tmp___3 = tmp___0;   4392     tmp___3 = tmp___0;
4393   } else {   4393   } else {
4394     tmp___1 = __stream->_IO_write_ptr;   4394     tmp___1 = __stream->_IO_write_ptr;
4395     (__stream->_IO_write_ptr) ++;   4395     (__stream->_IO_write_ptr) ++;
4396     tmp___2 = (char )__c;   4396     tmp___2 = (char )__c;
4397     *tmp___1 = tmp___2;   4397     *tmp___1 = tmp___2;
4398     tmp___3 = (int )((unsigned char )tmp___2);   4398     tmp___3 = (int )((unsigned char )tmp___2);
4399   }   4399   }
4400   return (tmp___3);   4400   return (tmp___3);
4401 }   4401 }
4402 }   4402 }
4403 __inline extern int putchar_unlocked(int __c )   4403 __inline extern int putchar_unlocked(int __c )
4404 {   4404 {
4405   long tmp ;   4405   long tmp ;
4406   int tmp___0 ;   4406   int tmp___0 ;
4407   char *tmp___1 ;   4407   char *tmp___1 ;
4408   char tmp___2 ;   4408   char tmp___2 ;
4409   int tmp___3 ;   4409   int tmp___3 ;
4410   long tmp___4 ;   4410   long tmp___4 ;
4411     4411  
4412   {   4412   {
4413   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),   4413   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),
4414                              0L);   4414                              0L);
4415   if (tmp___4) {   4415   if (tmp___4) {
4416     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));   4416     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
4417     tmp___3 = tmp___0;   4417     tmp___3 = tmp___0;
4418   } else {   4418   } else {
4419     tmp___1 = stdout->_IO_write_ptr;   4419     tmp___1 = stdout->_IO_write_ptr;
4420     (stdout->_IO_write_ptr) ++;   4420     (stdout->_IO_write_ptr) ++;
4421     tmp___2 = (char )__c;   4421     tmp___2 = (char )__c;
4422     *tmp___1 = tmp___2;   4422     *tmp___1 = tmp___2;
4423     tmp___3 = (int )((unsigned char )tmp___2);   4423     tmp___3 = (int )((unsigned char )tmp___2);
4424   }   4424   }
4425   return (tmp___3);   4425   return (tmp___3);
4426 }   4426 }
4427 }   4427 }
4428 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   4428 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
4429 __inline extern int feof_unlocked(FILE *__stream )   4429 __inline extern int feof_unlocked(FILE *__stream )
4430 {   4430 {
4431     4431  
4432     4432  
4433   {   4433   {
4434   return ((__stream->_flags & 16) != 0);   4434   return ((__stream->_flags & 16) != 0);
4435 }   4435 }
4436 }   4436 }
4437 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   4437 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
4438 __inline extern int ferror_unlocked(FILE *__stream )   4438 __inline extern int ferror_unlocked(FILE *__stream )
4439 {   4439 {
4440     4440  
4441     4441  
4442   {   4442   {
4443   return ((__stream->_flags & 32) != 0);   4443   return ((__stream->_flags & 32) != 0);
4444 }   4444 }
4445 }   4445 }
4446 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;   4446 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
4447 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   4447 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
4448 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   4448 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
4449 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   4449 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
4450 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   4450 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
4451 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,   4451 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,
4452                                                                                       char ** __restrict  __endptr ) ;   4452                                                                                       char ** __restrict  __endptr ) ;
4453 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,   4453 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,
4454                                                                                      char ** __restrict  __endptr ) ;   4454                                                                                      char ** __restrict  __endptr ) ;
4455 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,   4455 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,
4456                                                                                             char ** __restrict  __endptr ) ;   4456                                                                                             char ** __restrict  __endptr ) ;
4457 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,   4457 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,
4458                                                                                     char ** __restrict  __endptr ,   4458                                                                                     char ** __restrict  __endptr ,
4459                                                                                     int __base ) ;   4459                                                                                     int __base ) ;
4460 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,   4460 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,
4461                                                                                               char ** __restrict  __endptr ,   4461                                                                                               char ** __restrict  __endptr ,
4462                                                                                               int __base ) ;   4462                                                                                               int __base ) ;
4463 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,   4463 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,
4464                                                                                          char ** __restrict  __endptr ,   4464                                                                                          char ** __restrict  __endptr ,
4465                                                                                          int __base ) ;   4465                                                                                          int __base ) ;
4466 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,   4466 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,
4467                                                                                                    char ** __restrict  __endptr ,   4467                                                                                                    char ** __restrict  __endptr ,
4468                                                                                                    int __base ) ;   4468                                                                                                    int __base ) ;
4469 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,   4469 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,
4470                                                                                           char ** __restrict  __endptr ,   4470                                                                                           char ** __restrict  __endptr ,
4471                                                                                           int __base ) ;   4471                                                                                           int __base ) ;
4472 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,   4472 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,
4473                                                                                                     char ** __restrict  __endptr ,   4473                                                                                                     char ** __restrict  __endptr ,
4474                                                                                                     int __base ) ;   4474                                                                                                     int __base ) ;
4475 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   4475 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
4476 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )   4476 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )
4477 {   4477 {
4478   double tmp ;   4478   double tmp ;
4479     4479  
4480   {   4480   {
4481   tmp = strtod((char const   */* __restrict  */)__nptr,   4481   tmp = strtod((char const   */* __restrict  */)__nptr,
4482                (char **/* __restrict  */)((char **)((void *)0)));   4482                (char **/* __restrict  */)((char **)((void *)0)));
4483   return (tmp);   4483   return (tmp);
4484 }   4484 }
4485 }   4485 }
4486 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   4486 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
4487 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )   4487 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )
4488 {   4488 {
4489   long tmp ;   4489   long tmp ;
4490     4490  
4491   {   4491   {
4492   tmp = strtol((char const   */* __restrict  */)__nptr,   4492   tmp = strtol((char const   */* __restrict  */)__nptr,
4493                (char **/* __restrict  */)((char **)((void *)0)), 10);   4493                (char **/* __restrict  */)((char **)((void *)0)), 10);
4494   return ((int )tmp);   4494   return ((int )tmp);
4495 }   4495 }
4496 }   4496 }
4497 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   4497 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
4498 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )   4498 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )
4499 {   4499 {
4500   long tmp ;   4500   long tmp ;
4501     4501  
4502   {   4502   {
4503   tmp = strtol((char const   */* __restrict  */)__nptr,   4503   tmp = strtol((char const   */* __restrict  */)__nptr,
4504                (char **/* __restrict  */)((char **)((void *)0)), 10);   4504                (char **/* __restrict  */)((char **)((void *)0)), 10);
4505   return (tmp);   4505   return (tmp);
4506 }   4506 }
4507 }   4507 }
4508 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   4508 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
4509 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )   4509 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )
4510 {   4510 {
4511   long long tmp ;   4511   long long tmp ;
4512     4512  
4513   {   4513   {
4514   tmp = strtoll((char const   */* __restrict  */)__nptr,   4514   tmp = strtoll((char const   */* __restrict  */)__nptr,
4515                 (char **/* __restrict  */)((char **)((void *)0)), 10);   4515                 (char **/* __restrict  */)((char **)((void *)0)), 10);
4516   return (tmp);   4516   return (tmp);
4517 }   4517 }
4518 }   4518 }
4519 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;   4519 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
4520 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;   4520 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;
4521 extern int select(int __nfds , fd_set * __restrict  __readfds ,   4521 extern int select(int __nfds , fd_set * __restrict  __readfds ,
4522                   fd_set * __restrict  __writefds ,   4522                   fd_set * __restrict  __writefds ,
4523                   fd_set * __restrict  __exceptfds ,   4523                   fd_set * __restrict  __exceptfds ,
4524                   struct timeval * __restrict  __timeout ) ;   4524                   struct timeval * __restrict  __timeout ) ;
4525 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,   4525 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,
4526                    fd_set * __restrict  __writefds ,   4526                    fd_set * __restrict  __writefds ,
4527                    fd_set * __restrict  __exceptfds ,   4527                    fd_set * __restrict  __exceptfds ,
4528                    struct timespec  const  * __restrict  __timeout ,   4528                    struct timespec  const  * __restrict  __timeout ,
4529                    __sigset_t const   * __restrict  __sigmask ) ;   4529                    __sigset_t const   * __restrict  __sigmask ) ;
4530 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   4530 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
4531 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   4531 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
4532 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   4532 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
4533                                                                                  unsigned int __minor ) ;   4533                                                                                  unsigned int __minor ) ;
4534 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   4534 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
4535 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )   4535 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )
4536 {   4536 {
4537     4537  
4538     4538  
4539   {   4539   {
4540   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));   4540   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
4541 }   4541 }
4542 }   4542 }
4543 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   4543 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
4544 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )   4544 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )
4545 {   4545 {
4546     4546  
4547     4547  
4548   {   4548   {
4549   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));   4549   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
4550 }   4550 }
4551 }   4551 }
4552 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   4552 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
4553                                                                                  unsigned int __minor ) ;   4553                                                                                  unsigned int __minor ) ;
4554 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,   4554 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,
4555                                                    unsigned int __minor )   4555                                                    unsigned int __minor )
4556 {   4556 {
4557     4557  
4558     4558  
4559   {   4559   {
4560   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));   4560   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));
4561 }   4561 }
4562 }   4562 }
4563 extern  __attribute__((__nothrow__)) long random(void) ;   4563 extern  __attribute__((__nothrow__)) long random(void) ;
4564 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;   4564 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
4565 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,   4565 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,
4566                                                                                         char *__statebuf ,   4566                                                                                         char *__statebuf ,
4567                                                                                         size_t __statelen ) ;   4567                                                                                         size_t __statelen ) ;
4568 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;   4568 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;
4569 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,   4569 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,
4570                                                                                        int32_t * __restrict  __result ) ;   4570                                                                                        int32_t * __restrict  __result ) ;
4571 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,   4571 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,
4572                                                                                       struct random_data *__buf ) ;   4572                                                                                       struct random_data *__buf ) ;
4573 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,   4573 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,
4574                                                                                           char * __restrict  __statebuf ,   4574                                                                                           char * __restrict  __statebuf ,
4575                                                                                           size_t __statelen ,   4575                                                                                           size_t __statelen ,
4576                                                                                           struct random_data * __restrict  __buf ) ;   4576                                                                                           struct random_data * __restrict  __buf ) ;
4577 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,   4577 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,
4578                                                                                          struct random_data * __restrict  __buf ) ;   4578                                                                                          struct random_data * __restrict  __buf ) ;
4579 extern  __attribute__((__nothrow__)) int rand(void) ;   4579 extern  __attribute__((__nothrow__)) int rand(void) ;
4580 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;   4580 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
4581 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;   4581 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
4582 extern  __attribute__((__nothrow__)) double drand48(void) ;   4582 extern  __attribute__((__nothrow__)) double drand48(void) ;
4583 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;   4583 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;
4584 extern  __attribute__((__nothrow__)) long lrand48(void) ;   4584 extern  __attribute__((__nothrow__)) long lrand48(void) ;
4585 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;   4585 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;
4586 extern  __attribute__((__nothrow__)) long mrand48(void) ;   4586 extern  __attribute__((__nothrow__)) long mrand48(void) ;
4587 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;   4587 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;
4588 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;   4588 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
4589 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;   4589 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;
4590 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;   4590 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;
4591 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,   4591 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,
4592                                                                                         double * __restrict  __result ) ;   4592                                                                                         double * __restrict  __result ) ;
4593 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,   4593 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,
4594                                                                                         struct drand48_data * __restrict  __buffer ,   4594                                                                                         struct drand48_data * __restrict  __buffer ,
4595                                                                                         double * __restrict  __result ) ;   4595                                                                                         double * __restrict  __result ) ;
4596 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,   4596 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,
4597                                                                                         long * __restrict  __result ) ;   4597                                                                                         long * __restrict  __result ) ;
4598 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,   4598 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,
4599                                                                                         struct drand48_data * __restrict  __buffer ,   4599                                                                                         struct drand48_data * __restrict  __buffer ,
4600                                                                                         long * __restrict  __result ) ;   4600                                                                                         long * __restrict  __result ) ;
4601 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,   4601 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,
4602                                                                                         long * __restrict  __result ) ;   4602                                                                                         long * __restrict  __result ) ;
4603 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,   4603 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,
4604                                                                                         struct drand48_data * __restrict  __buffer ,   4604                                                                                         struct drand48_data * __restrict  __buffer ,
4605                                                                                         long * __restrict  __result ) ;   4605                                                                                         long * __restrict  __result ) ;
4606 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,   4606 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,
4607                                                                                       struct drand48_data *__buffer ) ;   4607                                                                                       struct drand48_data *__buffer ) ;
4608 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,   4608 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,
4609                                                                                        struct drand48_data *__buffer ) ;   4609                                                                                        struct drand48_data *__buffer ) ;
4610 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,   4610 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,
4611                                                                                         struct drand48_data *__buffer ) ;   4611                                                                                         struct drand48_data *__buffer ) ;
4612 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;   4612 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
4613 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,   4613 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,
4614                                                   size_t __size )  __attribute__((__malloc__)) ;   4614                                                   size_t __size )  __attribute__((__malloc__)) ;
4615 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,   4615 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,
4616                                                                                               size_t __size ) ;   4616                                                                                               size_t __size ) ;
4617 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;   4617 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
4618 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;   4618 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
4619 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;   4619 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
4620 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;   4620 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
4621 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,   4621 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,
4622                                                                                            size_t __alignment ,   4622                                                                                            size_t __alignment ,
4623                                                                                            size_t __size ) ;   4623                                                                                            size_t __size ) ;
4624 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;   4624 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
4625 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;   4625 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;
4626 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,   4626 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,
4627                                                                                                    void *__arg ) ,   4627                                                                                                    void *__arg ) ,
4628                                                                                     void *__arg ) ;   4628                                                                                     void *__arg ) ;
4629 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;   4629 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
4630 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;   4630 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
4631 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;   4631 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;
4632 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;   4632 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;
4633 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;   4633 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;
4634 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,   4634 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,
4635                                                                                    char const   *__value ,   4635                                                                                    char const   *__value ,
4636                                                                                    int __replace ) ;   4636                                                                                    int __replace ) ;
4637 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;   4637 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;
4638 extern  __attribute__((__nothrow__)) int clearenv(void) ;   4638 extern  __attribute__((__nothrow__)) int clearenv(void) ;
4639 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;   4639 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;
4640 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;   4640 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;
4641 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,   4641 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,
4642                                                        int __suffixlen )  __asm__("mkstemps64")  ;   4642                                                        int __suffixlen )  __asm__("mkstemps64")  ;
4643 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;   4643 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;
4644 extern int system(char const   *__command ) ;   4644 extern int system(char const   *__command ) ;
4645 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,   4645 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,
4646                                                     char * __restrict  __resolved ) ;   4646                                                     char * __restrict  __resolved ) ;
4647 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,   4647 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,
4648                                                             void const   *__base ,   4648                                                             void const   *__base ,
4649                                                             size_t __nmemb ,   4649                                                             size_t __nmemb ,
4650                                                             size_t __size ,   4650                                                             size_t __size ,
4651                                                             int (*__compar)(void const   * ,   4651                                                             int (*__compar)(void const   * ,
4652                                                                             void const   * ) ) ;   4652                                                                             void const   * ) ) ;
4653 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,   4653 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,
4654                                                        size_t __nmemb ,   4654                                                        size_t __nmemb ,
4655                                                        size_t __size ,   4655                                                        size_t __size ,
4656                                                        int (*__compar)(void const   * ,   4656                                                        int (*__compar)(void const   * ,
4657                                                                        void const   * ) ) ;   4657                                                                        void const   * ) ) ;
4658 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;   4658 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
4659 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;   4659 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
4660 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;   4660 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
4661 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;   4661 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
4662 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;   4662 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
4663 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,   4663 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,
4664                                                    long long __denom )  __attribute__((__const__)) ;   4664                                                    long long __denom )  __attribute__((__const__)) ;
4665 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,   4665 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,
4666                                                                                      int __ndigit ,   4666                                                                                      int __ndigit ,
4667                                                                                      int * __restrict  __decpt ,   4667                                                                                      int * __restrict  __decpt ,
4668                                                                                      int * __restrict  __sign ) ;   4668                                                                                      int * __restrict  __sign ) ;
4669 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,   4669 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,
4670                                                                                      int __ndigit ,   4670                                                                                      int __ndigit ,
4671                                                                                      int * __restrict  __decpt ,   4671                                                                                      int * __restrict  __decpt ,
4672                                                                                      int * __restrict  __sign ) ;   4672                                                                                      int * __restrict  __sign ) ;
4673 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,   4673 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,
4674                                                                                    int __ndigit ,   4674                                                                                    int __ndigit ,
4675                                                                                    char *__buf ) ;   4675                                                                                    char *__buf ) ;
4676 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,   4676 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,
4677                                                                                       int __ndigit ,   4677                                                                                       int __ndigit ,
4678                                                                                       int * __restrict  __decpt ,   4678                                                                                       int * __restrict  __decpt ,
4679                                                                                       int * __restrict  __sign ) ;   4679                                                                                       int * __restrict  __sign ) ;
4680 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,   4680 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,
4681                                                                                       int __ndigit ,   4681                                                                                       int __ndigit ,
4682                                                                                       int * __restrict  __decpt ,   4682                                                                                       int * __restrict  __decpt ,
4683                                                                                       int * __restrict  __sign ) ;   4683                                                                                       int * __restrict  __sign ) ;
4684 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,   4684 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,
4685                                                                                     int __ndigit ,   4685                                                                                     int __ndigit ,
4686                                                                                     char *__buf ) ;   4686                                                                                     char *__buf ) ;
4687 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,   4687 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,
4688                                                                                        int __ndigit ,   4688                                                                                        int __ndigit ,
4689                                                                                        int * __restrict  __decpt ,   4689                                                                                        int * __restrict  __decpt ,
4690                                                                                        int * __restrict  __sign ,   4690                                                                                        int * __restrict  __sign ,
4691                                                                                        char * __restrict  __buf ,   4691                                                                                        char * __restrict  __buf ,
4692                                                                                        size_t __len ) ;   4692                                                                                        size_t __len ) ;
4693 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,   4693 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,
4694                                                                                        int __ndigit ,   4694                                                                                        int __ndigit ,
4695                                                                                        int * __restrict  __decpt ,   4695                                                                                        int * __restrict  __decpt ,
4696                                                                                        int * __restrict  __sign ,   4696                                                                                        int * __restrict  __sign ,
4697                                                                                        char * __restrict  __buf ,   4697                                                                                        char * __restrict  __buf ,
4698                                                                                        size_t __len ) ;   4698                                                                                        size_t __len ) ;
4699 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,   4699 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,
4700                                                                                         int __ndigit ,   4700                                                                                         int __ndigit ,
4701                                                                                         int * __restrict  __decpt ,   4701                                                                                         int * __restrict  __decpt ,
4702                                                                                         int * __restrict  __sign ,   4702                                                                                         int * __restrict  __sign ,
4703                                                                                         char * __restrict  __buf ,   4703                                                                                         char * __restrict  __buf ,
4704                                                                                         size_t __len ) ;   4704                                                                                         size_t __len ) ;
4705 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,   4705 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,
4706                                                                                         int __ndigit ,   4706                                                                                         int __ndigit ,
4707                                                                                         int * __restrict  __decpt ,   4707                                                                                         int * __restrict  __decpt ,
4708                                                                                         int * __restrict  __sign ,   4708                                                                                         int * __restrict  __sign ,
4709                                                                                         char * __restrict  __buf ,   4709                                                                                         char * __restrict  __buf ,
4710                                                                                         size_t __len ) ;   4710                                                                                         size_t __len ) ;
4711 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;   4711 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
4712 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,   4712 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,
4713                                                 char const   * __restrict  __s ,   4713                                                 char const   * __restrict  __s ,
4714                                                 size_t __n ) ;   4714                                                 size_t __n ) ;
4715 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;   4715 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
4716 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,   4716 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,
4717                                                      char const   * __restrict  __s ,   4717                                                      char const   * __restrict  __s ,
4718                                                      size_t __n ) ;   4718                                                      size_t __n ) ;
4719 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,   4719 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,
4720                                                      wchar_t const   * __restrict  __pwcs ,   4720                                                      wchar_t const   * __restrict  __pwcs ,
4721                                                      size_t __n ) ;   4721                                                      size_t __n ) ;
4722 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;   4722 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;
4723 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,   4723 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,
4724                                                                                           char * const  * __restrict  __tokens ,   4724                                                                                           char * const  * __restrict  __tokens ,
4725                                                                                           char ** __restrict  __valuep ) ;   4725                                                                                           char ** __restrict  __valuep ) ;
4726 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,   4726 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,
4727                                                                                        int __nelem ) ;   4727                                                                                        int __nelem ) ;
4728 extern GArray *g_array_new(gboolean zero_terminated , gboolean clear_ ,   4728 extern GArray *g_array_new(gboolean zero_terminated , gboolean clear_ ,
4729                            guint element_size ) ;   4729                            guint element_size ) ;
4730 extern GArray *g_array_sized_new(gboolean zero_terminated , gboolean clear_ ,   4730 extern GArray *g_array_sized_new(gboolean zero_terminated , gboolean clear_ ,
4731                                  guint element_size , guint reserved_size ) ;   4731                                  guint element_size , guint reserved_size ) ;
4732 extern gchar *g_array_free(GArray *array , gboolean free_segment ) ;   4732 extern gchar *g_array_free(GArray *array , gboolean free_segment ) ;
4733 extern GArray *g_array_ref(GArray *array ) ;   4733 extern GArray *g_array_ref(GArray *array ) ;
4734 extern void g_array_unref(GArray *array ) ;   4734 extern void g_array_unref(GArray *array ) ;
4735 extern guint g_array_get_element_size(GArray *array ) ;   4735 extern guint g_array_get_element_size(GArray *array ) ;
4736 extern GArray *g_array_append_vals(GArray *array , gconstpointer data ,   4736 extern GArray *g_array_append_vals(GArray *array , gconstpointer data ,
4737                                    guint len ) ;   4737                                    guint len ) ;
4738 extern GArray *g_array_prepend_vals(GArray *array , gconstpointer data ,   4738 extern GArray *g_array_prepend_vals(GArray *array , gconstpointer data ,
4739                                     guint len ) ;   4739                                     guint len ) ;
4740 extern GArray *g_array_insert_vals(GArray *array , guint index_ ,   4740 extern GArray *g_array_insert_vals(GArray *array , guint index_ ,
4741                                    gconstpointer data , guint len ) ;   4741                                    gconstpointer data , guint len ) ;
4742 extern GArray *g_array_set_size(GArray *array , guint length ) ;   4742 extern GArray *g_array_set_size(GArray *array , guint length ) ;
4743 extern GArray *g_array_remove_index(GArray *array , guint index_ ) ;   4743 extern GArray *g_array_remove_index(GArray *array , guint index_ ) ;
4744 extern GArray *g_array_remove_index_fast(GArray *array , guint index_ ) ;   4744 extern GArray *g_array_remove_index_fast(GArray *array , guint index_ ) ;
4745 extern GArray *g_array_remove_range(GArray *array , guint index_ , guint length ) ;   4745 extern GArray *g_array_remove_range(GArray *array , guint index_ , guint length ) ;
4746 extern void g_array_sort(GArray *array , gint (*compare_func)(gconstpointer a ,   4746 extern void g_array_sort(GArray *array , gint (*compare_func)(gconstpointer a ,
4747                                                               gconstpointer b ) ) ;   4747                                                               gconstpointer b ) ) ;
4748 extern void g_array_sort_with_data(GArray *array ,   4748 extern void g_array_sort_with_data(GArray *array ,
4749                                    gint (*compare_func)(gconstpointer a ,   4749                                    gint (*compare_func)(gconstpointer a ,
4750                                                         gconstpointer b ,   4750                                                         gconstpointer b ,
4751                                                         gpointer user_data ) ,   4751                                                         gpointer user_data ) ,
4752                                    gpointer user_data ) ;   4752                                    gpointer user_data ) ;
4753 extern GPtrArray *g_ptr_array_new(void) ;   4753 extern GPtrArray *g_ptr_array_new(void) ;
4754 extern GPtrArray *g_ptr_array_new_with_free_func(void (*element_free_func)(gpointer data ) ) ;   4754 extern GPtrArray *g_ptr_array_new_with_free_func(void (*element_free_func)(gpointer data ) ) ;
4755 extern GPtrArray *g_ptr_array_sized_new(guint reserved_size ) ;   4755 extern GPtrArray *g_ptr_array_sized_new(guint reserved_size ) ;
4756 extern gpointer *g_ptr_array_free(GPtrArray *array , gboolean free_seg ) ;   4756 extern gpointer *g_ptr_array_free(GPtrArray *array , gboolean free_seg ) ;
4757 extern GPtrArray *g_ptr_array_ref(GPtrArray *array ) ;   4757 extern GPtrArray *g_ptr_array_ref(GPtrArray *array ) ;
4758 extern void g_ptr_array_unref(GPtrArray *array ) ;   4758 extern void g_ptr_array_unref(GPtrArray *array ) ;
4759 extern void g_ptr_array_set_free_func(GPtrArray *array ,   4759 extern void g_ptr_array_set_free_func(GPtrArray *array ,
4760                                       void (*element_free_func)(gpointer data ) ) ;   4760                                       void (*element_free_func)(gpointer data ) ) ;
4761 extern void g_ptr_array_set_size(GPtrArray *array , gint length ) ;   4761 extern void g_ptr_array_set_size(GPtrArray *array , gint length ) ;
4762 extern gpointer g_ptr_array_remove_index(GPtrArray *array , guint index_ ) ;   4762 extern gpointer g_ptr_array_remove_index(GPtrArray *array , guint index_ ) ;
4763 extern gpointer g_ptr_array_remove_index_fast(GPtrArray *array , guint index_ ) ;   4763 extern gpointer g_ptr_array_remove_index_fast(GPtrArray *array , guint index_ ) ;
4764 extern gboolean g_ptr_array_remove(GPtrArray *array , gpointer data ) ;   4764 extern gboolean g_ptr_array_remove(GPtrArray *array , gpointer data ) ;
4765 extern gboolean g_ptr_array_remove_fast(GPtrArray *array , gpointer data ) ;   4765 extern gboolean g_ptr_array_remove_fast(GPtrArray *array , gpointer data ) ;
4766 extern void g_ptr_array_remove_range(GPtrArray *array , guint index_ ,   4766 extern void g_ptr_array_remove_range(GPtrArray *array , guint index_ ,
4767                                      guint length ) ;   4767                                      guint length ) ;
4768 extern void g_ptr_array_add(GPtrArray *array , gpointer data ) ;   4768 extern void g_ptr_array_add(GPtrArray *array , gpointer data ) ;
4769 extern void g_ptr_array_sort(GPtrArray *array ,   4769 extern void g_ptr_array_sort(GPtrArray *array ,
4770                              gint (*compare_func)(gconstpointer a ,   4770                              gint (*compare_func)(gconstpointer a ,
4771                                                   gconstpointer b ) ) ;   4771                                                   gconstpointer b ) ) ;
4772 extern void g_ptr_array_sort_with_data(GPtrArray *array ,   4772 extern void g_ptr_array_sort_with_data(GPtrArray *array ,
4773                                        gint (*compare_func)(gconstpointer a ,   4773                                        gint (*compare_func)(gconstpointer a ,
4774                                                             gconstpointer b ,   4774                                                             gconstpointer b ,
4775                                                             gpointer user_data ) ,   4775                                                             gpointer user_data ) ,
4776                                        gpointer user_data ) ;   4776                                        gpointer user_data ) ;
4777 extern void g_ptr_array_foreach(GPtrArray *array ,   4777 extern void g_ptr_array_foreach(GPtrArray *array ,
4778                                 void (*func)(gpointer data , gpointer user_data ) ,   4778                                 void (*func)(gpointer data , gpointer user_data ) ,
4779                                 gpointer user_data ) ;   4779                                 gpointer user_data ) ;
4780 extern GByteArray *g_byte_array_new(void) ;   4780 extern GByteArray *g_byte_array_new(void) ;
4781 extern GByteArray *g_byte_array_sized_new(guint reserved_size ) ;   4781 extern GByteArray *g_byte_array_sized_new(guint reserved_size ) ;
4782 extern guint8 *g_byte_array_free(GByteArray *array , gboolean free_segment ) ;   4782 extern guint8 *g_byte_array_free(GByteArray *array , gboolean free_segment ) ;
4783 extern GByteArray *g_byte_array_ref(GByteArray *array ) ;   4783 extern GByteArray *g_byte_array_ref(GByteArray *array ) ;
4784 extern void g_byte_array_unref(GByteArray *array ) ;   4784 extern void g_byte_array_unref(GByteArray *array ) ;
4785 extern GByteArray *g_byte_array_append(GByteArray *array ,   4785 extern GByteArray *g_byte_array_append(GByteArray *array ,
4786                                        guint8 const   *data , guint len ) ;   4786                                        guint8 const   *data , guint len ) ;
4787 extern GByteArray *g_byte_array_prepend(GByteArray *array ,   4787 extern GByteArray *g_byte_array_prepend(GByteArray *array ,
4788                                         guint8 const   *data , guint len ) ;   4788                                         guint8 const   *data , guint len ) ;
4789 extern GByteArray *g_byte_array_set_size(GByteArray *array , guint length ) ;   4789 extern GByteArray *g_byte_array_set_size(GByteArray *array , guint length ) ;
4790 extern GByteArray *g_byte_array_remove_index(GByteArray *array , guint index_ ) ;   4790 extern GByteArray *g_byte_array_remove_index(GByteArray *array , guint index_ ) ;
4791 extern GByteArray *g_byte_array_remove_index_fast(GByteArray *array ,   4791 extern GByteArray *g_byte_array_remove_index_fast(GByteArray *array ,
4792                                                   guint index_ ) ;   4792                                                   guint index_ ) ;
4793 extern GByteArray *g_byte_array_remove_range(GByteArray *array , guint index_ ,   4793 extern GByteArray *g_byte_array_remove_range(GByteArray *array , guint index_ ,
4794                                              guint length ) ;   4794                                              guint length ) ;
4795 extern void g_byte_array_sort(GByteArray *array ,   4795 extern void g_byte_array_sort(GByteArray *array ,
4796                               gint (*compare_func)(gconstpointer a ,   4796                               gint (*compare_func)(gconstpointer a ,
4797                                                    gconstpointer b ) ) ;   4797                                                    gconstpointer b ) ) ;
4798 extern void g_byte_array_sort_with_data(GByteArray *array ,   4798 extern void g_byte_array_sort_with_data(GByteArray *array ,
4799                                         gint (*compare_func)(gconstpointer a ,   4799                                         gint (*compare_func)(gconstpointer a ,
4800                                                              gconstpointer b ,   4800                                                              gconstpointer b ,
4801                                                              gpointer user_data ) ,   4801                                                              gpointer user_data ) ,
4802                                         gpointer user_data ) ;   4802                                         gpointer user_data ) ;
4803 extern GQuark g_quark_try_string(gchar const   *string ) ;   4803 extern GQuark g_quark_try_string(gchar const   *string ) ;
4804 extern GQuark g_quark_from_static_string(gchar const   *string ) ;   4804 extern GQuark g_quark_from_static_string(gchar const   *string ) ;
4805 extern GQuark g_quark_from_string(gchar const   *string ) ;   4805 extern GQuark g_quark_from_string(gchar const   *string ) ;
4806 extern gchar const   *g_quark_to_string(GQuark quark )  __attribute__((__const__)) ;   4806 extern gchar const   *g_quark_to_string(GQuark quark )  __attribute__((__const__)) ;
4807 extern gchar const   *g_intern_string(gchar const   *string ) ;   4807 extern gchar const   *g_intern_string(gchar const   *string ) ;
4808 extern gchar const   *g_intern_static_string(gchar const   *string ) ;   4808 extern gchar const   *g_intern_static_string(gchar const   *string ) ;
4809 extern GError *( /* format attribute */  g_error_new)(GQuark domain ,   4809 extern GError *( /* format attribute */  g_error_new)(GQuark domain ,
4810                                                       gint code ,   4810                                                       gint code ,
4811                                                       gchar const   *format   4811                                                       gchar const   *format
4812                                                       , ...) ;   4812                                                       , ...) ;
4813 extern GError *g_error_new_literal(GQuark domain , gint code ,   4813 extern GError *g_error_new_literal(GQuark domain , gint code ,
4814                                    gchar const   *message ) ;   4814                                    gchar const   *message ) ;
4815 extern GError *g_error_new_valist(GQuark domain , gint code ,   4815 extern GError *g_error_new_valist(GQuark domain , gint code ,
4816                                   gchar const   *format , va_list args ) ;   4816                                   gchar const   *format , va_list args ) ;
4817 extern void g_error_free(GError *error ) ;   4817 extern void g_error_free(GError *error ) ;
4818 extern GError *g_error_copy(GError const   *error ) ;   4818 extern GError *g_error_copy(GError const   *error ) ;
4819 extern gboolean g_error_matches(GError const   *error , GQuark domain ,   4819 extern gboolean g_error_matches(GError const   *error , GQuark domain ,
4820                                 gint code ) ;   4820                                 gint code ) ;
4821 extern void ( /* format attribute */  g_set_error)(GError **err ,   4821 extern void ( /* format attribute */  g_set_error)(GError **err ,
4822                                                    GQuark domain , gint code ,   4822                                                    GQuark domain , gint code ,
4823                                                    gchar const   *format  , ...) ;   4823                                                    gchar const   *format  , ...) ;
4824 extern void g_set_error_literal(GError **err , GQuark domain , gint code ,   4824 extern void g_set_error_literal(GError **err , GQuark domain , gint code ,
4825                                 gchar const   *message ) ;   4825                                 gchar const   *message ) ;
4826 extern void g_propagate_error(GError **dest , GError *src ) ;   4826 extern void g_propagate_error(GError **dest , GError *src ) ;
4827 extern void g_clear_error(GError **err ) ;   4827 extern void g_clear_error(GError **err ) ;
4828 extern void ( /* format attribute */  g_prefix_error)(GError **err ,   4828 extern void ( /* format attribute */  g_prefix_error)(GError **err ,
4829                                                       gchar const   *format   4829                                                       gchar const   *format
4830                                                       , ...) ;   4830                                                       , ...) ;
4831 extern void ( /* format attribute */  g_propagate_prefixed_error)(GError **dest ,   4831 extern void ( /* format attribute */  g_propagate_prefixed_error)(GError **dest ,
4832                                                                   GError *src ,   4832                                                                   GError *src ,
4833                                                                   gchar const   *format   4833                                                                   gchar const   *format
4834                                                                   , ...) ;   4834                                                                   , ...) ;
4835 extern gchar const   *g_get_user_name(void) ;   4835 extern gchar const   *g_get_user_name(void) ;
4836 extern gchar const   *g_get_real_name(void) ;   4836 extern gchar const   *g_get_real_name(void) ;
4837 extern gchar const   *g_get_home_dir(void) ;   4837 extern gchar const   *g_get_home_dir(void) ;
4838 extern gchar const   *g_get_tmp_dir(void) ;   4838 extern gchar const   *g_get_tmp_dir(void) ;
4839 extern gchar const   *g_get_host_name(void) ;   4839 extern gchar const   *g_get_host_name(void) ;
4840 extern gchar *g_get_prgname(void) ;   4840 extern gchar *g_get_prgname(void) ;
4841 extern void g_set_prgname(gchar const   *prgname ) ;   4841 extern void g_set_prgname(gchar const   *prgname ) ;
4842 extern gchar const   *g_get_application_name(void) ;   4842 extern gchar const   *g_get_application_name(void) ;
4843 extern void g_set_application_name(gchar const   *application_name ) ;   4843 extern void g_set_application_name(gchar const   *application_name ) ;
4844 extern void g_reload_user_special_dirs_cache(void) ;   4844 extern void g_reload_user_special_dirs_cache(void) ;
4845 extern gchar const   *g_get_user_data_dir(void) ;   4845 extern gchar const   *g_get_user_data_dir(void) ;
4846 extern gchar const   *g_get_user_config_dir(void) ;   4846 extern gchar const   *g_get_user_config_dir(void) ;
4847 extern gchar const   *g_get_user_cache_dir(void) ;   4847 extern gchar const   *g_get_user_cache_dir(void) ;
4848 extern gchar const   * const  *g_get_system_data_dirs(void) ;   4848 extern gchar const   * const  *g_get_system_data_dirs(void) ;
4849 extern gchar const   * const  *g_get_system_config_dirs(void) ;   4849 extern gchar const   * const  *g_get_system_config_dirs(void) ;
4850 extern gchar const   * const  *g_get_language_names(void) ;   4850 extern gchar const   * const  *g_get_language_names(void) ;
4851 extern gchar const   *g_get_user_special_dir(GUserDirectory directory ) ;   4851 extern gchar const   *g_get_user_special_dir(GUserDirectory directory ) ;
4852 extern guint g_parse_debug_string(gchar const   *string ,   4852 extern guint g_parse_debug_string(gchar const   *string ,
4853                                   GDebugKey const   *keys , guint nkeys ) ;   4853                                   GDebugKey const   *keys , guint nkeys ) ;
4854 extern gint ( /* format attribute */  g_snprintf)(gchar *string , gulong n ,   4854 extern gint ( /* format attribute */  g_snprintf)(gchar *string , gulong n ,
4855                                                   gchar const   *format  , ...) ;   4855                                                   gchar const   *format  , ...) ;
4856 extern gint g_vsnprintf(gchar *string , gulong n , gchar const   *format ,   4856 extern gint g_vsnprintf(gchar *string , gulong n , gchar const   *format ,
4857                         va_list args ) ;   4857                         va_list args ) ;
4858 extern gboolean g_path_is_absolute(gchar const   *file_name ) ;   4858 extern gboolean g_path_is_absolute(gchar const   *file_name ) ;
4859 extern gchar const   *g_path_skip_root(gchar const   *file_name ) ;   4859 extern gchar const   *g_path_skip_root(gchar const   *file_name ) ;
4860 extern gchar const   *g_basename(gchar const   *file_name ) ;   4860 extern gchar const   *g_basename(gchar const   *file_name ) ;
4861 extern gchar *g_get_current_dir(void) ;   4861 extern gchar *g_get_current_dir(void) ;
4862 extern gchar *g_path_get_basename(gchar const   *file_name )  __attribute__((__malloc__)) ;   4862 extern gchar *g_path_get_basename(gchar const   *file_name )  __attribute__((__malloc__)) ;
4863 extern gchar *g_path_get_dirname(gchar const   *file_name )  __attribute__((__malloc__)) ;   4863 extern gchar *g_path_get_dirname(gchar const   *file_name )  __attribute__((__malloc__)) ;
4864 extern void g_nullify_pointer(gpointer *nullify_location ) ;   4864 extern void g_nullify_pointer(gpointer *nullify_location ) ;
4865 extern gchar const   *g_getenv(gchar const   *variable ) ;   4865 extern gchar const   *g_getenv(gchar const   *variable ) ;
4866 extern gboolean g_setenv(gchar const   *variable , gchar const   *value ,   4866 extern gboolean g_setenv(gchar const   *variable , gchar const   *value ,
4867                          gboolean overwrite ) ;   4867                          gboolean overwrite ) ;
4868 extern void g_unsetenv(gchar const   *variable ) ;   4868 extern void g_unsetenv(gchar const   *variable ) ;
4869 extern gchar **g_listenv(void) ;   4869 extern gchar **g_listenv(void) ;
4870 extern gchar const   *_g_getenv_nomalloc(gchar const   *variable ,   4870 extern gchar const   *_g_getenv_nomalloc(gchar const   *variable ,
4871                                          gchar *buffer ) ;   4871                                          gchar *buffer ) ;
4872 extern void g_atexit(void (*func)(void) ) ;   4872 extern void g_atexit(void (*func)(void) ) ;
4873 extern gchar *g_find_program_in_path(gchar const   *program ) ;   4873 extern gchar *g_find_program_in_path(gchar const   *program ) ;
4874 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4874 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4875 __const__)) ;   4875 __const__)) ;
4876 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4876 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4877 __const__)) ;   4877 __const__)) ;
4878 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,   4878 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,
4879 __const__)) ;   4879 __const__)) ;
4880 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;   4880 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;
4881 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4881 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4882 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4882 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4883 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4883 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4884 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4884 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4885 __const__)) ;   4885 __const__)) ;
4886 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )   4886 __inline static gint g_bit_nth_lsf(gulong mask , gint nth_bit )
4887 {   4887 {
4888   int _g_boolean_var_ ;   4888   int _g_boolean_var_ ;
4889   long tmp ;   4889   long tmp ;
4890     4890  
4891   {   4891   {
4892   if (nth_bit < -1) {   4892   if (nth_bit < -1) {
4893     _g_boolean_var_ = 1;   4893     _g_boolean_var_ = 1;
4894   } else {   4894   } else {
4895     _g_boolean_var_ = 0;   4895     _g_boolean_var_ = 0;
4896   }   4896   }
4897   tmp = __builtin_expect((long )_g_boolean_var_, 0L);   4897   tmp = __builtin_expect((long )_g_boolean_var_, 0L);
4898   if (tmp) {   4898   if (tmp) {
4899     nth_bit = -1;   4899     nth_bit = -1;
4900   } else {   4900   } else {
4901     4901  
4902   }   4902   }
4903   while (nth_bit < 31) {   4903   while (nth_bit < 31) {
4904     nth_bit ++;   4904     nth_bit ++;
4905     if (mask & (1UL << nth_bit)) {   4905     if (mask & (1UL << nth_bit)) {
4906       return (nth_bit);   4906       return (nth_bit);
4907     } else {   4907     } else {
4908     4908  
4909     }   4909     }
4910   }   4910   }
4911   return (-1);   4911   return (-1);
4912 }   4912 }
4913 }   4913 }
4914 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,   4914 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )  __attribute__((__unused__,
4915 __const__)) ;   4915 __const__)) ;
4916 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )   4916 __inline static gint g_bit_nth_msf(gulong mask , gint nth_bit )
4917 {   4917 {
4918   int _g_boolean_var_ ;   4918   int _g_boolean_var_ ;
4919   long tmp ;   4919   long tmp ;
4920     4920  
4921   {   4921   {
4922   if (nth_bit < 0) {   4922   if (nth_bit < 0) {
4923     nth_bit = 32;   4923     nth_bit = 32;
4924   } else {   4924   } else {
4925     if (nth_bit > 32) {   4925     if (nth_bit > 32) {
4926       _g_boolean_var_ = 1;   4926       _g_boolean_var_ = 1;
4927     } else {   4927     } else {
4928       _g_boolean_var_ = 0;   4928       _g_boolean_var_ = 0;
4929     }   4929     }
4930     tmp = __builtin_expect((long )_g_boolean_var_, 0L);   4930     tmp = __builtin_expect((long )_g_boolean_var_, 0L);
4931     if (tmp) {   4931     if (tmp) {
4932       nth_bit = 32;   4932       nth_bit = 32;
4933     } else {   4933     } else {
4934     4934  
4935     }   4935     }
4936   }   4936   }
4937   while (nth_bit > 0) {   4937   while (nth_bit > 0) {
4938     nth_bit --;   4938     nth_bit --;
4939     if (mask & (1UL << nth_bit)) {   4939     if (mask & (1UL << nth_bit)) {
4940       return (nth_bit);   4940       return (nth_bit);
4941     } else {   4941     } else {
4942     4942  
4943     }   4943     }
4944   }   4944   }
4945   return (-1);   4945   return (-1);
4946 }   4946 }
4947 }   4947 }
4948 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,   4948 __inline static guint g_bit_storage(gulong number )  __attribute__((__unused__,
4949 __const__)) ;   4949 __const__)) ;
4950 __inline static guint g_bit_storage(gulong number )   4950 __inline static guint g_bit_storage(gulong number )
4951 {   4951 {
4952   int _g_boolean_var_ ;   4952   int _g_boolean_var_ ;
4953   long tmp ;   4953   long tmp ;
4954   int tmp___0 ;   4954   int tmp___0 ;
4955   int tmp___1 ;   4955   int tmp___1 ;
4956   int _g_boolean_var____0 ;   4956   int _g_boolean_var____0 ;
4957   long tmp___2 ;   4957   long tmp___2 ;
4958     4958  
4959   {   4959   {
4960   if (number) {   4960   if (number) {
4961     _g_boolean_var____0 = 1;   4961     _g_boolean_var____0 = 1;
4962   } else {   4962   } else {
4963     _g_boolean_var____0 = 0;   4963     _g_boolean_var____0 = 0;
4964   }   4964   }
4965   tmp___2 = __builtin_expect((long )_g_boolean_var____0, 1L);   4965   tmp___2 = __builtin_expect((long )_g_boolean_var____0, 1L);
4966   if (tmp___2) {   4966   if (tmp___2) {
4967     tmp___0 = __builtin_clzl(number);   4967     tmp___0 = __builtin_clzl(number);
4968     tmp___1 = (31 ^ tmp___0) + 1;   4968     tmp___1 = (31 ^ tmp___0) + 1;
4969   } else {   4969   } else {
4970     tmp___1 = 1;   4970     tmp___1 = 1;
4971   }   4971   }
4972   return ((guint )tmp___1);   4972   return ((guint )tmp___1);
4973 }   4973 }
4974 }   4974 }
4975 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;   4975 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )  __attribute__((__unused__)) ;
4976 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )   4976 __inline static void g_trash_stack_push(GTrashStack **stack_p , gpointer data_p )
4977 {   4977 {
4978   GTrashStack *data ;   4978   GTrashStack *data ;
4979     4979  
4980   {   4980   {
4981   data = (GTrashStack *)data_p;   4981   data = (GTrashStack *)data_p;
4982   data->next = *stack_p;   4982   data->next = *stack_p;
4983   *stack_p = data;   4983   *stack_p = data;
4984   return;   4984   return;
4985 }   4985 }
4986 }   4986 }
4987 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;   4987 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )  __attribute__((__unused__)) ;
4988 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )   4988 __inline static gpointer g_trash_stack_pop(GTrashStack **stack_p )
4989 {   4989 {
4990   GTrashStack *data ;   4990   GTrashStack *data ;
4991     4991  
4992   {   4992   {
4993   data = *stack_p;   4993   data = *stack_p;
4994   if (data) {   4994   if (data) {
4995     *stack_p = data->next;   4995     *stack_p = data->next;
4996     data->next = (GTrashStack *)((void *)0);   4996     data->next = (GTrashStack *)((void *)0);
4997   } else {   4997   } else {
4998     4998  
4999   }   4999   }
5000   return ((gpointer )data);   5000   return ((gpointer )data);
5001 }   5001 }
5002 }   5002 }
5003 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;   5003 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )  __attribute__((__unused__)) ;
5004 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )   5004 __inline static gpointer g_trash_stack_peek(GTrashStack **stack_p )
5005 {   5005 {
5006   GTrashStack *data ;   5006   GTrashStack *data ;
5007     5007  
5008   {   5008   {
5009   data = *stack_p;   5009   data = *stack_p;
5010   return ((gpointer )data);   5010   return ((gpointer )data);
5011 }   5011 }
5012 }   5012 }
5013 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;   5013 __inline static guint g_trash_stack_height(GTrashStack **stack_p )  __attribute__((__unused__)) ;
5014 __inline static guint g_trash_stack_height(GTrashStack **stack_p )   5014 __inline static guint g_trash_stack_height(GTrashStack **stack_p )
5015 {   5015 {
5016   GTrashStack *data ;   5016   GTrashStack *data ;
5017   guint i ;   5017   guint i ;
5018     5018  
5019   {   5019   {
5020   i = (guint )0;   5020   i = (guint )0;
5021   data = *stack_p;   5021   data = *stack_p;
5022   while (data) {   5022   while (data) {
5023     i ++;   5023     i ++;
5024     data = data->next;   5024     data = data->next;
5025   }   5025   }
5026   return (i);   5026   return (i);
5027 }   5027 }
5028 }   5028 }
5029 extern guint const   glib_major_version ;   5029 extern guint const   glib_major_version ;
5030 extern guint const   glib_minor_version ;   5030 extern guint const   glib_minor_version ;
5031 extern guint const   glib_micro_version ;   5031 extern guint const   glib_micro_version ;
5032 extern guint const   glib_interface_age ;   5032 extern guint const   glib_interface_age ;
5033 extern guint const   glib_binary_age ;   5033 extern guint const   glib_binary_age ;
5034 extern gchar const   *glib_check_version(guint required_major ,   5034 extern gchar const   *glib_check_version(guint required_major ,
5035                                          guint required_minor ,   5035                                          guint required_minor ,
5036                                          guint required_micro ) ;   5036                                          guint required_micro ) ;
5037 extern gint g_atomic_int_exchange_and_add(gint volatile __attribute__((__may_alias__))  *atomic ,   5037 extern gint g_atomic_int_exchange_and_add(gint volatile __attribute__((__may_alias__))  *atomic ,
5038                                           gint val ) ;   5038                                           gint val ) ;
5039 extern void g_atomic_int_add(gint volatile __attribute__((__may_alias__))  *atomic ,   5039 extern void g_atomic_int_add(gint volatile __attribute__((__may_alias__))  *atomic ,
5040                              gint val ) ;   5040                              gint val ) ;
5041 extern gboolean g_atomic_int_compare_and_exchange(gint volatile __attribute__((__may_alias__))  *atomic ,   5041 extern gboolean g_atomic_int_compare_and_exchange(gint volatile __attribute__((__may_alias__))  *atomic ,
5042                                                   gint oldval , gint newval ) ;   5042                                                   gint oldval , gint newval ) ;
5043 extern gboolean g_atomic_pointer_compare_and_exchange(gpointer volatile __attribute__((__may_alias__))  *atomic ,   5043 extern gboolean g_atomic_pointer_compare_and_exchange(gpointer volatile __attribute__((__may_alias__))  *atomic ,
5044                                                       gpointer oldval ,   5044                                                       gpointer oldval ,
5045                                                       gpointer newval ) ;   5045                                                       gpointer newval ) ;
5046 extern gint g_atomic_int_get(gint volatile __attribute__((__may_alias__))  *atomic ) ;   5046 extern gint g_atomic_int_get(gint volatile __attribute__((__may_alias__))  *atomic ) ;
5047 extern void g_atomic_int_set(gint volatile __attribute__((__may_alias__))  *atomic ,   5047 extern void g_atomic_int_set(gint volatile __attribute__((__may_alias__))  *atomic ,
5048                              gint newval ) ;   5048                              gint newval ) ;
5049 extern gpointer g_atomic_pointer_get(gpointer volatile __attribute__((__may_alias__))  *atomic ) ;   5049 extern gpointer g_atomic_pointer_get(gpointer volatile __attribute__((__may_alias__))  *atomic ) ;
5050 extern void g_atomic_pointer_set(gpointer volatile __attribute__((__may_alias__))  *atomic ,   5050 extern void g_atomic_pointer_set(gpointer volatile __attribute__((__may_alias__))  *atomic ,
5051                                  gpointer newval ) ;   5051                                  gpointer newval ) ;
5052 extern GQuark g_thread_error_quark(void) ;   5052 extern GQuark g_thread_error_quark(void) ;
5053 extern GThreadFunctions g_thread_functions_for_glib_use ;   5053 extern GThreadFunctions g_thread_functions_for_glib_use ;
5054 extern gboolean g_thread_use_default_impl ;   5054 extern gboolean g_thread_use_default_impl ;
5055 extern gboolean g_threads_got_initialized ;   5055 extern gboolean g_threads_got_initialized ;
5056 extern guint64 (*g_thread_gettime)(void) ;   5056 extern guint64 (*g_thread_gettime)(void) ;
5057 extern void g_thread_init(GThreadFunctions *vtable ) ;   5057 extern void g_thread_init(GThreadFunctions *vtable ) ;
5058 extern void g_thread_init_with_errorcheck_mutexes(GThreadFunctions *vtable ) ;   5058 extern void g_thread_init_with_errorcheck_mutexes(GThreadFunctions *vtable ) ;
5059 extern gboolean g_thread_get_initialized(void) ;   5059 extern gboolean g_thread_get_initialized(void) ;
5060 extern GMutex *g_static_mutex_get_mutex_impl(GMutex **mutex ) ;   5060 extern GMutex *g_static_mutex_get_mutex_impl(GMutex **mutex ) ;
5061 extern GThread *g_thread_create_full(gpointer (*func)(gpointer data ) ,   5061 extern GThread *g_thread_create_full(gpointer (*func)(gpointer data ) ,
5062                                      gpointer data , gulong stack_size ,   5062                                      gpointer data , gulong stack_size ,
5063                                      gboolean joinable , gboolean bound ,   5063                                      gboolean joinable , gboolean bound ,
5064                                      GThreadPriority priority , GError **error ) ;   5064                                      GThreadPriority priority , GError **error ) ;
5065 extern GThread *g_thread_self(void) ;   5065 extern GThread *g_thread_self(void) ;
5066 extern void g_thread_exit(gpointer retval ) ;   5066 extern void g_thread_exit(gpointer retval ) ;
5067 extern gpointer g_thread_join(GThread *thread ) ;   5067 extern gpointer g_thread_join(GThread *thread ) ;
5068 extern void g_thread_set_priority(GThread *thread , GThreadPriority priority ) ;   5068 extern void g_thread_set_priority(GThread *thread , GThreadPriority priority ) ;
5069 extern void g_static_mutex_init(GStaticMutex *mutex ) ;   5069 extern void g_static_mutex_init(GStaticMutex *mutex ) ;
5070 extern void g_static_mutex_free(GStaticMutex *mutex ) ;   5070 extern void g_static_mutex_free(GStaticMutex *mutex ) ;
5071 extern void g_static_private_init(GStaticPrivate *private_key ) ;   5071 extern void g_static_private_init(GStaticPrivate *private_key ) ;
5072 extern gpointer g_static_private_get(GStaticPrivate *private_key ) ;   5072 extern gpointer g_static_private_get(GStaticPrivate *private_key ) ;
5073 extern void g_static_private_set(GStaticPrivate *private_key , gpointer data ,   5073 extern void g_static_private_set(GStaticPrivate *private_key , gpointer data ,
5074                                  void (*notify)(gpointer data ) ) ;   5074                                  void (*notify)(gpointer data ) ) ;
5075 extern void g_static_private_free(GStaticPrivate *private_key ) ;   5075 extern void g_static_private_free(GStaticPrivate *private_key ) ;
5076 extern void g_static_rec_mutex_init(GStaticRecMutex *mutex ) ;   5076 extern void g_static_rec_mutex_init(GStaticRecMutex *mutex ) ;
5077 extern void g_static_rec_mutex_lock(GStaticRecMutex *mutex ) ;   5077 extern void g_static_rec_mutex_lock(GStaticRecMutex *mutex ) ;
5078 extern gboolean g_static_rec_mutex_trylock(GStaticRecMutex *mutex ) ;   5078 extern gboolean g_static_rec_mutex_trylock(GStaticRecMutex *mutex ) ;
5079 extern void g_static_rec_mutex_unlock(GStaticRecMutex *mutex ) ;   5079 extern void g_static_rec_mutex_unlock(GStaticRecMutex *mutex ) ;
5080 extern void g_static_rec_mutex_lock_full(GStaticRecMutex *mutex , guint depth ) ;   5080 extern void g_static_rec_mutex_lock_full(GStaticRecMutex *mutex , guint depth ) ;
5081 extern guint g_static_rec_mutex_unlock_full(GStaticRecMutex *mutex ) ;   5081 extern guint g_static_rec_mutex_unlock_full(GStaticRecMutex *mutex ) ;
5082 extern void g_static_rec_mutex_free(GStaticRecMutex *mutex ) ;   5082 extern void g_static_rec_mutex_free(GStaticRecMutex *mutex ) ;
5083 extern void g_static_rw_lock_init(GStaticRWLock *lock ) ;   5083 extern void g_static_rw_lock_init(GStaticRWLock *lock ) ;
5084 extern void g_static_rw_lock_reader_lock(GStaticRWLock *lock ) ;   5084 extern void g_static_rw_lock_reader_lock(GStaticRWLock *lock ) ;
5085 extern gboolean g_static_rw_lock_reader_trylock(GStaticRWLock *lock ) ;   5085 extern gboolean g_static_rw_lock_reader_trylock(GStaticRWLock *lock ) ;
5086 extern void g_static_rw_lock_reader_unlock(GStaticRWLock *lock ) ;   5086 extern void g_static_rw_lock_reader_unlock(GStaticRWLock *lock ) ;
5087 extern void g_static_rw_lock_writer_lock(GStaticRWLock *lock ) ;   5087 extern void g_static_rw_lock_writer_lock(GStaticRWLock *lock ) ;
5088 extern gboolean g_static_rw_lock_writer_trylock(GStaticRWLock *lock ) ;   5088 extern gboolean g_static_rw_lock_writer_trylock(GStaticRWLock *lock ) ;
5089 extern void g_static_rw_lock_writer_unlock(GStaticRWLock *lock ) ;   5089 extern void g_static_rw_lock_writer_unlock(GStaticRWLock *lock ) ;
5090 extern void g_static_rw_lock_free(GStaticRWLock *lock ) ;   5090 extern void g_static_rw_lock_free(GStaticRWLock *lock ) ;
5091 extern void g_thread_foreach(void (*thread_func)(gpointer data ,   5091 extern void g_thread_foreach(void (*thread_func)(gpointer data ,
5092                                                  gpointer user_data ) ,   5092                                                  gpointer user_data ) ,
5093                              gpointer user_data ) ;   5093                              gpointer user_data ) ;
5094 extern gpointer g_once_impl(GOnce *once , gpointer (*func)(gpointer data ) ,   5094 extern gpointer g_once_impl(GOnce *once , gpointer (*func)(gpointer data ) ,
5095                             gpointer arg ) ;   5095                             gpointer arg ) ;
5096 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;   5096 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;
5097 extern gboolean g_once_init_enter_impl(gsize volatile   *value_location ) ;   5097 extern gboolean g_once_init_enter_impl(gsize volatile   *value_location ) ;
5098 extern void g_once_init_leave(gsize volatile   *value_location ,   5098 extern void g_once_init_leave(gsize volatile   *value_location ,
5099                               gsize initialization_value ) ;   5099                               gsize initialization_value ) ;
5100 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;   5100 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )  __attribute__((__unused__)) ;
5101 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )   5101 __inline static gboolean g_once_init_enter(gsize volatile   *value_location )
5102 {   5102 {
5103   gboolean tmp ;   5103   gboolean tmp ;
5104   int _g_boolean_var_ ;   5104   int _g_boolean_var_ ;
5105   gpointer tmp___0 ;   5105   gpointer tmp___0 ;
5106   long tmp___1 ;   5106   long tmp___1 ;
5107     5107  
5108   {   5108   {
5109   tmp___0 = g_atomic_pointer_get((gpointer volatile __attribute__((__may_alias__))  *)((void *)value_location));   5109   tmp___0 = g_atomic_pointer_get((gpointer volatile __attribute__((__may_alias__))  *)((void *)value_location));
5110   if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   5110   if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
5111     _g_boolean_var_ = 1;   5111     _g_boolean_var_ = 1;
5112   } else {   5112   } else {
5113     _g_boolean_var_ = 0;   5113     _g_boolean_var_ = 0;
5114   }   5114   }
5115   tmp___1 = __builtin_expect((long )_g_boolean_var_, 1L);   5115   tmp___1 = __builtin_expect((long )_g_boolean_var_, 1L);
5116   if (tmp___1) {   5116   if (tmp___1) {
5117     return (0);   5117     return (0);
5118   } else {   5118   } else {
5119     tmp = g_once_init_enter_impl(value_location);   5119     tmp = g_once_init_enter_impl(value_location);
5120     return (tmp);   5120     return (tmp);
5121   }   5121   }
5122 }   5122 }
5123 }   5123 }
5124 extern void glib_dummy_decl(void) ;   5124 extern void glib_dummy_decl(void) ;
5125 extern GAsyncQueue *g_async_queue_new(void) ;   5125 extern GAsyncQueue *g_async_queue_new(void) ;
5126 extern GAsyncQueue *g_async_queue_new_full(void (*item_free_func)(gpointer data ) ) ;   5126 extern GAsyncQueue *g_async_queue_new_full(void (*item_free_func)(gpointer data ) ) ;
5127 extern void g_async_queue_lock(GAsyncQueue *queue ) ;   5127 extern void g_async_queue_lock(GAsyncQueue *queue ) ;
5128 extern void g_async_queue_unlock(GAsyncQueue *queue ) ;   5128 extern void g_async_queue_unlock(GAsyncQueue *queue ) ;
5129 extern GAsyncQueue *g_async_queue_ref(GAsyncQueue *queue ) ;   5129 extern GAsyncQueue *g_async_queue_ref(GAsyncQueue *queue ) ;
5130 extern void g_async_queue_unref(GAsyncQueue *queue ) ;   5130 extern void g_async_queue_unref(GAsyncQueue *queue ) ;
5131 extern void g_async_queue_ref_unlocked(GAsyncQueue *queue ) ;   5131 extern void g_async_queue_ref_unlocked(GAsyncQueue *queue ) ;
5132 extern void g_async_queue_unref_and_unlock(GAsyncQueue *queue ) ;   5132 extern void g_async_queue_unref_and_unlock(GAsyncQueue *queue ) ;
5133 extern void g_async_queue_push(GAsyncQueue *queue , gpointer data ) ;   5133 extern void g_async_queue_push(GAsyncQueue *queue , gpointer data ) ;
5134 extern void g_async_queue_push_unlocked(GAsyncQueue *queue , gpointer data ) ;   5134 extern void g_async_queue_push_unlocked(GAsyncQueue *queue , gpointer data ) ;
5135 extern void g_async_queue_push_sorted(GAsyncQueue *queue , gpointer data ,   5135 extern void g_async_queue_push_sorted(GAsyncQueue *queue , gpointer data ,
5136                                       gint (*func)(gconstpointer a ,   5136                                       gint (*func)(gconstpointer a ,
5137                                                    gconstpointer b ,   5137                                                    gconstpointer b ,
5138                                                    gpointer user_data ) ,   5138                                                    gpointer user_data ) ,
5139                                       gpointer user_data ) ;   5139                                       gpointer user_data ) ;
5140 extern void g_async_queue_push_sorted_unlocked(GAsyncQueue *queue ,   5140 extern void g_async_queue_push_sorted_unlocked(GAsyncQueue *queue ,
5141                                                gpointer data ,   5141                                                gpointer data ,
5142                                                gint (*func)(gconstpointer a ,   5142                                                gint (*func)(gconstpointer a ,
5143                                                             gconstpointer b ,   5143                                                             gconstpointer b ,
5144                                                             gpointer user_data ) ,   5144                                                             gpointer user_data ) ,
5145                                                gpointer user_data ) ;   5145                                                gpointer user_data ) ;
5146 extern gpointer g_async_queue_pop(GAsyncQueue *queue ) ;   5146 extern gpointer g_async_queue_pop(GAsyncQueue *queue ) ;
5147 extern gpointer g_async_queue_pop_unlocked(GAsyncQueue *queue ) ;   5147 extern gpointer g_async_queue_pop_unlocked(GAsyncQueue *queue ) ;
5148 extern gpointer g_async_queue_try_pop(GAsyncQueue *queue ) ;   5148 extern gpointer g_async_queue_try_pop(GAsyncQueue *queue ) ;
5149 extern gpointer g_async_queue_try_pop_unlocked(GAsyncQueue *queue ) ;   5149 extern gpointer g_async_queue_try_pop_unlocked(GAsyncQueue *queue ) ;
5150 extern gpointer g_async_queue_timed_pop(GAsyncQueue *queue , GTimeVal *end_time ) ;   5150 extern gpointer g_async_queue_timed_pop(GAsyncQueue *queue , GTimeVal *end_time ) ;
5151 extern gpointer g_async_queue_timed_pop_unlocked(GAsyncQueue *queue ,   5151 extern gpointer g_async_queue_timed_pop_unlocked(GAsyncQueue *queue ,
5152                                                  GTimeVal *end_time ) ;   5152                                                  GTimeVal *end_time ) ;
5153 extern gint g_async_queue_length(GAsyncQueue *queue ) ;   5153 extern gint g_async_queue_length(GAsyncQueue *queue ) ;
5154 extern gint g_async_queue_length_unlocked(GAsyncQueue *queue ) ;   5154 extern gint g_async_queue_length_unlocked(GAsyncQueue *queue ) ;
5155 extern void g_async_queue_sort(GAsyncQueue *queue ,   5155 extern void g_async_queue_sort(GAsyncQueue *queue ,
5156                                gint (*func)(gconstpointer a , gconstpointer b ,   5156                                gint (*func)(gconstpointer a , gconstpointer b ,
5157                                             gpointer user_data ) ,   5157                                             gpointer user_data ) ,
5158                                gpointer user_data ) ;   5158                                gpointer user_data ) ;
5159 extern void g_async_queue_sort_unlocked(GAsyncQueue *queue ,   5159 extern void g_async_queue_sort_unlocked(GAsyncQueue *queue ,
5160                                         gint (*func)(gconstpointer a ,   5160                                         gint (*func)(gconstpointer a ,
5161                                                      gconstpointer b ,   5161                                                      gconstpointer b ,
5162                                                      gpointer user_data ) ,   5162                                                      gpointer user_data ) ,
5163                                         gpointer user_data ) ;   5163                                         gpointer user_data ) ;
5164 extern GMutex *_g_async_queue_get_mutex(GAsyncQueue *queue ) ;   5164 extern GMutex *_g_async_queue_get_mutex(GAsyncQueue *queue ) ;
5165 __inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;   5165 __inline extern int __sigismember(__sigset_t const   *__set , int __sig ) ;
5166 __inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;   5166 __inline extern int __sigaddset(__sigset_t *__set , int __sig ) ;
5167 __inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;   5167 __inline extern int __sigdelset(__sigset_t *__set , int __sig ) ;
5168 __inline extern int __sigismember(__sigset_t const   *__set , int __sig )   5168 __inline extern int __sigismember(__sigset_t const   *__set , int __sig )
5169 {   5169 {
5170   unsigned long __mask ;   5170   unsigned long __mask ;
5171   unsigned long __word ;   5171   unsigned long __word ;
5172   int tmp ;   5172   int tmp ;
5173     5173  
5174   {   5174   {
5175   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   5175   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
5176   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   5176   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
5177   if (__set->__val[__word] & __mask) {   5177   if (__set->__val[__word] & __mask) {
5178     tmp = 1;   5178     tmp = 1;
5179   } else {   5179   } else {
5180     tmp = 0;   5180     tmp = 0;
5181   }   5181   }
5182   return (tmp);   5182   return (tmp);
5183 }   5183 }
5184 }   5184 }
5185 __inline extern int __sigaddset(__sigset_t *__set , int __sig )   5185 __inline extern int __sigaddset(__sigset_t *__set , int __sig )
5186 {   5186 {
5187   unsigned long __mask ;   5187   unsigned long __mask ;
5188   unsigned long __word ;   5188   unsigned long __word ;
5189     5189  
5190   {   5190   {
5191   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   5191   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
5192   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   5192   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
5193   __set->__val[__word] |= __mask;   5193   __set->__val[__word] |= __mask;
5194   return (0);   5194   return (0);
5195 }   5195 }
5196 }   5196 }
5197 __inline extern int __sigdelset(__sigset_t *__set , int __sig )   5197 __inline extern int __sigdelset(__sigset_t *__set , int __sig )
5198 {   5198 {
5199   unsigned long __mask ;   5199   unsigned long __mask ;
5200   unsigned long __word ;   5200   unsigned long __word ;
5201     5201  
5202   {   5202   {
5203   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));   5203   __mask = 1UL << (unsigned int )(__sig - 1) % (8U * sizeof(unsigned long ));
5204   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));   5204   __word = (unsigned long )((unsigned int )(__sig - 1) / (8U * sizeof(unsigned long )));
5205   __set->__val[__word] &= ~ __mask;   5205   __set->__val[__word] &= ~ __mask;
5206   return (0);   5206   return (0);
5207 }   5207 }
5208 }   5208 }
5209 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,   5209 extern  __attribute__((__nothrow__)) __sighandler_t __sysv_signal(int __sig ,
5210                                                                   void (*__handler)(int  ) ) ;   5210                                                                   void (*__handler)(int  ) ) ;
5211 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,   5211 extern  __attribute__((__nothrow__)) __sighandler_t signal(int __sig ,
5212                                                            void (*__handler)(int  ) ) ;   5212                                                            void (*__handler)(int  ) ) ;
5213 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;   5213 extern  __attribute__((__nothrow__)) int kill(__pid_t __pid , int __sig ) ;
5214 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;   5214 extern  __attribute__((__nothrow__)) int killpg(__pid_t __pgrp , int __sig ) ;
5215 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;   5215 extern  __attribute__((__nothrow__)) int raise(int __sig ) ;
5216 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,   5216 extern  __attribute__((__nothrow__)) __sighandler_t ssignal(int __sig ,
5217                                                             void (*__handler)(int  ) ) ;   5217                                                             void (*__handler)(int  ) ) ;
5218 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;   5218 extern  __attribute__((__nothrow__)) int gsignal(int __sig ) ;
5219 extern void psignal(int __sig , char const   *__s ) ;   5219 extern void psignal(int __sig , char const   *__s ) ;
5220 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;   5220 extern void psiginfo(siginfo_t const   *__pinfo , char const   *__s ) ;
5221 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;   5221 extern int __sigpause(int __sig_or_mask , int __is_sig ) ;
5222 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;   5222 extern  __attribute__((__nothrow__)) int sigblock(int __mask )  __attribute__((__deprecated__)) ;
5223 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;   5223 extern  __attribute__((__nothrow__)) int sigsetmask(int __mask )  __attribute__((__deprecated__)) ;
5224 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;   5224 extern  __attribute__((__nothrow__)) int siggetmask(void)  __attribute__((__deprecated__)) ;
5225 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;   5225 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigemptyset)(sigset_t *__set ) ;
5226 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;   5226 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigfillset)(sigset_t *__set ) ;
5227 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,   5227 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigaddset)(sigset_t *__set ,
5228                                                                                       int __signo ) ;   5228                                                                                       int __signo ) ;
5229 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,   5229 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigdelset)(sigset_t *__set ,
5230                                                                                       int __signo ) ;   5230                                                                                       int __signo ) ;
5231 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,   5231 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigismember)(sigset_t const   *__set ,
5232                                                                                         int __signo ) ;   5232                                                                                         int __signo ) ;
5233 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,   5233 extern  __attribute__((__nothrow__)) int sigprocmask(int __how ,
5234                                                      sigset_t const   * __restrict  __set ,   5234                                                      sigset_t const   * __restrict  __set ,
5235                                                      sigset_t * __restrict  __oset ) ;   5235                                                      sigset_t * __restrict  __oset ) ;
5236 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;   5236 extern int ( __attribute__((__nonnull__(1))) sigsuspend)(sigset_t const   *__set ) ;
5237 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,   5237 extern  __attribute__((__nothrow__)) int sigaction(int __sig ,
5238                                                    struct sigaction  const  * __restrict  __act ,   5238                                                    struct sigaction  const  * __restrict  __act ,
5239                                                    struct sigaction * __restrict  __oact ) ;   5239                                                    struct sigaction * __restrict  __oact ) ;
5240 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;   5240 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sigpending)(sigset_t *__set ) ;
5241 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,   5241 extern int ( __attribute__((__nonnull__(1,2))) sigwait)(sigset_t const   * __restrict  __set ,
5242                                                         int * __restrict  __sig ) ;   5242                                                         int * __restrict  __sig ) ;
5243 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,   5243 extern int ( __attribute__((__nonnull__(1))) sigwaitinfo)(sigset_t const   * __restrict  __set ,
5244                                                           siginfo_t * __restrict  __info ) ;   5244                                                           siginfo_t * __restrict  __info ) ;
5245 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,   5245 extern int ( __attribute__((__nonnull__(1))) sigtimedwait)(sigset_t const   * __restrict  __set ,
5246                                                            siginfo_t * __restrict  __info ,   5246                                                            siginfo_t * __restrict  __info ,
5247                                                            struct timespec  const  * __restrict  __timeout ) ;   5247                                                            struct timespec  const  * __restrict  __timeout ) ;
5248 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,   5248 extern  __attribute__((__nothrow__)) int sigqueue(__pid_t __pid , int __sig ,
5249                                                   union sigval  const  __val ) ;   5249                                                   union sigval  const  __val ) ;
5250 extern char const   * const  _sys_siglist[65] ;   5250 extern char const   * const  _sys_siglist[65] ;
5251 extern char const   * const  sys_siglist[65] ;   5251 extern char const   * const  sys_siglist[65] ;
5252 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,   5252 extern  __attribute__((__nothrow__)) int sigvec(int __sig ,
5253                                                 struct sigvec  const  *__vec ,   5253                                                 struct sigvec  const  *__vec ,
5254                                                 struct sigvec *__ovec ) ;   5254                                                 struct sigvec *__ovec ) ;
5255 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;   5255 extern  __attribute__((__nothrow__)) int sigreturn(struct sigcontext *__scp ) ;
5256 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,   5256 extern  __attribute__((__nothrow__)) int siginterrupt(int __sig ,
5257                                                       int __interrupt ) ;   5257                                                       int __interrupt ) ;
5258 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,   5258 extern  __attribute__((__nothrow__)) int sigstack(struct sigstack *__ss ,
5259                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;   5259                                                   struct sigstack *__oss )  __attribute__((__deprecated__)) ;
5260 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,   5260 extern  __attribute__((__nothrow__)) int sigaltstack(struct sigaltstack  const  * __restrict  __ss ,
5261                                                      struct sigaltstack * __restrict  __oss ) ;   5261                                                      struct sigaltstack * __restrict  __oss ) ;
5262 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,   5262 extern  __attribute__((__nothrow__)) int pthread_sigmask(int __how ,
5263                                                          __sigset_t const   * __restrict  __newmask ,   5263                                                          __sigset_t const   * __restrict  __newmask ,
5264                                                          __sigset_t * __restrict  __oldmask ) ;   5264                                                          __sigset_t * __restrict  __oldmask ) ;
5265 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,   5265 extern  __attribute__((__nothrow__)) int pthread_kill(pthread_t __threadid ,
5266                                                       int __signo ) ;   5266                                                       int __signo ) ;
5267 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;   5267 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmin(void) ;
5268 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;   5268 extern  __attribute__((__nothrow__)) int __libc_current_sigrtmax(void) ;
5269 extern void g_on_error_query(gchar const   *prg_name ) ;   5269 extern void g_on_error_query(gchar const   *prg_name ) ;
5270 extern void g_on_error_stack_trace(gchar const   *prg_name ) ;   5270 extern void g_on_error_stack_trace(gchar const   *prg_name ) ;
5271 extern gsize g_base64_encode_step(guchar const   *in , gsize len ,   5271 extern gsize g_base64_encode_step(guchar const   *in , gsize len ,
5272                                   gboolean break_lines , gchar *out ,   5272                                   gboolean break_lines , gchar *out ,
5273                                   gint *state , gint *save ) ;   5273                                   gint *state , gint *save ) ;
5274 extern gsize g_base64_encode_close(gboolean break_lines , gchar *out ,   5274 extern gsize g_base64_encode_close(gboolean break_lines , gchar *out ,
5275                                    gint *state , gint *save ) ;   5275                                    gint *state , gint *save ) ;
5276 extern gchar *g_base64_encode(guchar const   *data , gsize len )  __attribute__((__malloc__)) ;   5276 extern gchar *g_base64_encode(guchar const   *data , gsize len )  __attribute__((__malloc__)) ;
5277 extern gsize g_base64_decode_step(gchar const   *in , gsize len , guchar *out ,   5277 extern gsize g_base64_decode_step(gchar const   *in , gsize len , guchar *out ,
5278                                   gint *state , guint *save ) ;   5278                                   gint *state , guint *save ) ;
5279 extern guchar *g_base64_decode(gchar const   *text , gsize *out_len )  __attribute__((__malloc__)) ;   5279 extern guchar *g_base64_decode(gchar const   *text , gsize *out_len )  __attribute__((__malloc__)) ;
5280 extern guchar *g_base64_decode_inplace(gchar *text , gsize *out_len ) ;   5280 extern guchar *g_base64_decode_inplace(gchar *text , gsize *out_len ) ;
5281 extern void g_bit_lock(gint volatile   *address , gint lock_bit ) ;   5281 extern void g_bit_lock(gint volatile   *address , gint lock_bit ) ;
5282 extern gboolean g_bit_trylock(gint volatile   *address , gint lock_bit ) ;   5282 extern gboolean g_bit_trylock(gint volatile   *address , gint lock_bit ) ;
5283 extern void g_bit_unlock(gint volatile   *address , gint lock_bit ) ;   5283 extern void g_bit_unlock(gint volatile   *address , gint lock_bit ) ;
5284 extern  __attribute__((__nothrow__)) clock_t clock(void) ;   5284 extern  __attribute__((__nothrow__)) clock_t clock(void) ;
5285 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;   5285 extern  __attribute__((__nothrow__)) time_t time(time_t *__timer ) ;
5286 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,   5286 extern  __attribute__((__nothrow__)) double difftime(time_t __time1 ,
5287                                                      time_t __time0 )  __attribute__((__const__)) ;   5287                                                      time_t __time0 )  __attribute__((__const__)) ;
5288 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;   5288 extern  __attribute__((__nothrow__)) time_t mktime(struct tm *__tp ) ;
5289 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,   5289 extern  __attribute__((__nothrow__)) size_t strftime(char * __restrict  __s ,
5290                                                      size_t __maxsize ,   5290                                                      size_t __maxsize ,
5291                                                      char const   * __restrict  __format ,   5291                                                      char const   * __restrict  __format ,
5292                                                      struct tm  const  * __restrict  __tp ) ;   5292                                                      struct tm  const  * __restrict  __tp ) ;
5293 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,   5293 extern  __attribute__((__nothrow__)) size_t strftime_l(char * __restrict  __s ,
5294                                                        size_t __maxsize ,   5294                                                        size_t __maxsize ,
5295                                                        char const   * __restrict  __format ,   5295                                                        char const   * __restrict  __format ,
5296                                                        struct tm  const  * __restrict  __tp ,   5296                                                        struct tm  const  * __restrict  __tp ,
5297                                                        __locale_t __loc ) ;   5297                                                        __locale_t __loc ) ;
5298 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;   5298 extern  __attribute__((__nothrow__)) struct tm *gmtime(time_t const   *__timer ) ;
5299 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;   5299 extern  __attribute__((__nothrow__)) struct tm *localtime(time_t const   *__timer ) ;
5300 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,   5300 extern  __attribute__((__nothrow__)) struct tm *gmtime_r(time_t const   * __restrict  __timer ,
5301                                                          struct tm * __restrict  __tp ) ;   5301                                                          struct tm * __restrict  __tp ) ;
5302 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,   5302 extern  __attribute__((__nothrow__)) struct tm *localtime_r(time_t const   * __restrict  __timer ,
5303                                                             struct tm * __restrict  __tp ) ;   5303                                                             struct tm * __restrict  __tp ) ;
5304 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;   5304 extern  __attribute__((__nothrow__)) char *asctime(struct tm  const  *__tp ) ;
5305 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;   5305 extern  __attribute__((__nothrow__)) char *ctime(time_t const   *__timer ) ;
5306 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,   5306 extern  __attribute__((__nothrow__)) char *asctime_r(struct tm  const  * __restrict  __tp ,
5307                                                      char * __restrict  __buf ) ;   5307                                                      char * __restrict  __buf ) ;
5308 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,   5308 extern  __attribute__((__nothrow__)) char *ctime_r(time_t const   * __restrict  __timer ,
5309                                                    char * __restrict  __buf ) ;   5309                                                    char * __restrict  __buf ) ;
5310 extern char *__tzname[2] ;   5310 extern char *__tzname[2] ;
5311 extern int __daylight ;   5311 extern int __daylight ;
5312 extern long __timezone ;   5312 extern long __timezone ;
5313 extern char *tzname[2] ;   5313 extern char *tzname[2] ;
5314 extern  __attribute__((__nothrow__)) void tzset(void) ;   5314 extern  __attribute__((__nothrow__)) void tzset(void) ;
5315 extern int daylight ;   5315 extern int daylight ;
5316 extern long timezone ;   5316 extern long timezone ;
5317 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;   5317 extern  __attribute__((__nothrow__)) int stime(time_t const   *__when ) ;
5318 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;   5318 extern  __attribute__((__nothrow__)) time_t timegm(struct tm *__tp ) ;
5319 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;   5319 extern  __attribute__((__nothrow__)) time_t timelocal(struct tm *__tp ) ;
5320 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;   5320 extern  __attribute__((__nothrow__)) int dysize(int __year )  __attribute__((__const__)) ;
5321 extern int nanosleep(struct timespec  const  *__requested_time ,   5321 extern int nanosleep(struct timespec  const  *__requested_time ,
5322                      struct timespec *__remaining ) ;   5322                      struct timespec *__remaining ) ;
5323 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,   5323 extern  __attribute__((__nothrow__)) int clock_getres(clockid_t __clock_id ,
5324                                                       struct timespec *__res ) ;   5324                                                       struct timespec *__res ) ;
5325 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,   5325 extern  __attribute__((__nothrow__)) int clock_gettime(clockid_t __clock_id ,
5326                                                        struct timespec *__tp ) ;   5326                                                        struct timespec *__tp ) ;
5327 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,   5327 extern  __attribute__((__nothrow__)) int clock_settime(clockid_t __clock_id ,
5328                                                        struct timespec  const  *__tp ) ;   5328                                                        struct timespec  const  *__tp ) ;
5329 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,   5329 extern int clock_nanosleep(clockid_t __clock_id , int __flags ,
5330                            struct timespec  const  *__req ,   5330                            struct timespec  const  *__req ,
5331                            struct timespec *__rem ) ;   5331                            struct timespec *__rem ) ;
5332 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,   5332 extern  __attribute__((__nothrow__)) int clock_getcpuclockid(pid_t __pid ,
5333                                                              clockid_t *__clock_id ) ;   5333                                                              clockid_t *__clock_id ) ;
5334 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,   5334 extern  __attribute__((__nothrow__)) int timer_create(clockid_t __clock_id ,
5335                                                       struct sigevent * __restrict  __evp ,   5335                                                       struct sigevent * __restrict  __evp ,
5336                                                       timer_t * __restrict  __timerid ) ;   5336                                                       timer_t * __restrict  __timerid ) ;
5337 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;   5337 extern  __attribute__((__nothrow__)) int timer_delete(timer_t __timerid ) ;
5338 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,   5338 extern  __attribute__((__nothrow__)) int timer_settime(timer_t __timerid ,
5339                                                        int __flags ,   5339                                                        int __flags ,
5340                                                        struct itimerspec  const  * __restrict  __value ,   5340                                                        struct itimerspec  const  * __restrict  __value ,
5341                                                        struct itimerspec * __restrict  __ovalue ) ;   5341                                                        struct itimerspec * __restrict  __ovalue ) ;
5342 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,   5342 extern  __attribute__((__nothrow__)) int timer_gettime(timer_t __timerid ,
5343                                                        struct itimerspec *__value ) ;   5343                                                        struct itimerspec *__value ) ;
5344 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;   5344 extern  __attribute__((__nothrow__)) int timer_getoverrun(timer_t __timerid ) ;
5345 extern GQuark g_bookmark_file_error_quark(void) ;   5345 extern GQuark g_bookmark_file_error_quark(void) ;
5346 extern GBookmarkFile *g_bookmark_file_new(void) ;   5346 extern GBookmarkFile *g_bookmark_file_new(void) ;
5347 extern void g_bookmark_file_free(GBookmarkFile *bookmark ) ;   5347 extern void g_bookmark_file_free(GBookmarkFile *bookmark ) ;
5348 extern gboolean g_bookmark_file_load_from_file(GBookmarkFile *bookmark ,   5348 extern gboolean g_bookmark_file_load_from_file(GBookmarkFile *bookmark ,
5349                                                gchar const   *filename ,   5349                                                gchar const   *filename ,
5350                                                GError **error ) ;   5350                                                GError **error ) ;
5351 extern gboolean g_bookmark_file_load_from_data(GBookmarkFile *bookmark ,   5351 extern gboolean g_bookmark_file_load_from_data(GBookmarkFile *bookmark ,
5352                                                gchar const   *data ,   5352                                                gchar const   *data ,
5353                                                gsize length , GError **error ) ;   5353                                                gsize length , GError **error ) ;
5354 extern gboolean g_bookmark_file_load_from_data_dirs(GBookmarkFile *bookmark ,   5354 extern gboolean g_bookmark_file_load_from_data_dirs(GBookmarkFile *bookmark ,
5355                                                     gchar const   *file ,   5355                                                     gchar const   *file ,
5356                                                     gchar **full_path ,   5356                                                     gchar **full_path ,
5357                                                     GError **error ) ;   5357                                                     GError **error ) ;
5358 extern gchar *g_bookmark_file_to_data(GBookmarkFile *bookmark , gsize *length ,   5358 extern gchar *g_bookmark_file_to_data(GBookmarkFile *bookmark , gsize *length ,
5359                                       GError **error )  __attribute__((__malloc__)) ;   5359                                       GError **error )  __attribute__((__malloc__)) ;
5360 extern gboolean g_bookmark_file_to_file(GBookmarkFile *bookmark ,   5360 extern gboolean g_bookmark_file_to_file(GBookmarkFile *bookmark ,
5361                                         gchar const   *filename ,   5361                                         gchar const   *filename ,
5362                                         GError **error ) ;   5362                                         GError **error ) ;
5363 extern void g_bookmark_file_set_title(GBookmarkFile *bookmark ,   5363 extern void g_bookmark_file_set_title(GBookmarkFile *bookmark ,
5364                                       gchar const   *uri , gchar const   *title ) ;   5364                                       gchar const   *uri , gchar const   *title ) ;
5365 extern gchar *g_bookmark_file_get_title(GBookmarkFile *bookmark ,   5365 extern gchar *g_bookmark_file_get_title(GBookmarkFile *bookmark ,
5366                                         gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;   5366                                         gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;
5367 extern void g_bookmark_file_set_description(GBookmarkFile *bookmark ,   5367 extern void g_bookmark_file_set_description(GBookmarkFile *bookmark ,
5368                                             gchar const   *uri ,   5368                                             gchar const   *uri ,
5369                                             gchar const   *description ) ;   5369                                             gchar const   *description ) ;
5370 extern gchar *g_bookmark_file_get_description(GBookmarkFile *bookmark ,   5370 extern gchar *g_bookmark_file_get_description(GBookmarkFile *bookmark ,
5371                                               gchar const   *uri ,   5371                                               gchar const   *uri ,
5372                                               GError **error )  __attribute__((__malloc__)) ;   5372                                               GError **error )  __attribute__((__malloc__)) ;
5373 extern void g_bookmark_file_set_mime_type(GBookmarkFile *bookmark ,   5373 extern void g_bookmark_file_set_mime_type(GBookmarkFile *bookmark ,
5374                                           gchar const   *uri ,   5374                                           gchar const   *uri ,
5375                                           gchar const   *mime_type ) ;   5375                                           gchar const   *mime_type ) ;
5376 extern gchar *g_bookmark_file_get_mime_type(GBookmarkFile *bookmark ,   5376 extern gchar *g_bookmark_file_get_mime_type(GBookmarkFile *bookmark ,
5377                                             gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;   5377                                             gchar const   *uri , GError **error )  __attribute__((__malloc__)) ;
5378 extern void g_bookmark_file_set_groups(GBookmarkFile *bookmark ,   5378 extern void g_bookmark_file_set_groups(GBookmarkFile *bookmark ,
5379                                        gchar const   *uri ,   5379                                        gchar const   *uri ,
5380                                        gchar const   **groups , gsize length ) ;   5380                                        gchar const   **groups , gsize length ) ;
5381 extern void g_bookmark_file_add_group(GBookmarkFile *bookmark ,   5381 extern void g_bookmark_file_add_group(GBookmarkFile *bookmark ,
5382                                       gchar const   *uri , gchar const   *group ) ;   5382                                       gchar const   *uri , gchar const   *group ) ;
5383 extern gboolean g_bookmark_file_has_group(GBookmarkFile *bookmark ,   5383 extern gboolean g_bookmark_file_has_group(GBookmarkFile *bookmark ,
5384                                           gchar const   *uri ,   5384                                           gchar const   *uri ,
5385                                           gchar const   *group , GError **error ) ;   5385                                           gchar const   *group , GError **error ) ;
5386 extern gchar **g_bookmark_file_get_groups(GBookmarkFile *bookmark ,   5386 extern gchar **g_bookmark_file_get_groups(GBookmarkFile *bookmark ,
5387                                           gchar const   *uri , gsize *length ,   5387                                           gchar const   *uri , gsize *length ,
5388                                           GError **error )  __attribute__((__malloc__)) ;   5388                                           GError **error )  __attribute__((__malloc__)) ;
5389 extern void g_bookmark_file_add_application(GBookmarkFile *bookmark ,   5389 extern void g_bookmark_file_add_application(GBookmarkFile *bookmark ,
5390                                             gchar const   *uri ,   5390                                             gchar const   *uri ,
5391                                             gchar const   *name ,   5391                                             gchar const   *name ,
5392                                             gchar const   *exec ) ;   5392                                             gchar const   *exec ) ;
5393 extern gboolean g_bookmark_file_has_application(GBookmarkFile *bookmark ,   5393 extern gboolean g_bookmark_file_has_application(GBookmarkFile *bookmark ,
5394                                                 gchar const   *uri ,   5394                                                 gchar const   *uri ,
5395                                                 gchar const   *name ,   5395                                                 gchar const   *name ,
5396                                                 GError **error ) ;   5396                                                 GError **error ) ;
5397 extern gchar **g_bookmark_file_get_applications(GBookmarkFile *bookmark ,   5397 extern gchar **g_bookmark_file_get_applications(GBookmarkFile *bookmark ,
5398                                                 gchar const   *uri ,   5398                                                 gchar const   *uri ,
5399                                                 gsize *length , GError **error )  __attribute__((__malloc__)) ;   5399                                                 gsize *length , GError **error )  __attribute__((__malloc__)) ;
5400 extern gboolean g_bookmark_file_set_app_info(GBookmarkFile *bookmark ,   5400 extern gboolean g_bookmark_file_set_app_info(GBookmarkFile *bookmark ,
5401                                              gchar const   *uri ,   5401                                              gchar const   *uri ,
5402                                              gchar const   *name ,   5402                                              gchar const   *name ,
5403                                              gchar const   *exec , gint count ,   5403                                              gchar const   *exec , gint count ,
5404                                              time_t stamp , GError **error ) ;   5404                                              time_t stamp , GError **error ) ;
5405 extern gboolean g_bookmark_file_get_app_info(GBookmarkFile *bookmark ,   5405 extern gboolean g_bookmark_file_get_app_info(GBookmarkFile *bookmark ,
5406                                              gchar const   *uri ,   5406                                              gchar const   *uri ,
5407                                              gchar const   *name ,   5407                                              gchar const   *name ,
5408                                              gchar **exec , guint *count ,   5408                                              gchar **exec , guint *count ,
5409                                              time_t *stamp , GError **error ) ;   5409                                              time_t *stamp , GError **error ) ;
5410 extern void g_bookmark_file_set_is_private(GBookmarkFile *bookmark ,   5410 extern void g_bookmark_file_set_is_private(GBookmarkFile *bookmark ,
5411                                            gchar const   *uri ,   5411                                            gchar const   *uri ,
5412                                            gboolean is_private ) ;   5412                                            gboolean is_private ) ;
5413 extern gboolean g_bookmark_file_get_is_private(GBookmarkFile *bookmark ,   5413 extern gboolean g_bookmark_file_get_is_private(GBookmarkFile *bookmark ,
5414                                                gchar const   *uri ,   5414                                                gchar const   *uri ,
5415                                                GError **error ) ;   5415                                                GError **error ) ;
5416 extern void g_bookmark_file_set_icon(GBookmarkFile *bookmark ,   5416 extern void g_bookmark_file_set_icon(GBookmarkFile *bookmark ,
5417                                      gchar const   *uri , gchar const   *href ,   5417                                      gchar const   *uri , gchar const   *href ,
5418                                      gchar const   *mime_type ) ;   5418                                      gchar const   *mime_type ) ;
5419 extern gboolean g_bookmark_file_get_icon(GBookmarkFile *bookmark ,   5419 extern gboolean g_bookmark_file_get_icon(GBookmarkFile *bookmark ,
5420                                          gchar const   *uri , gchar **href ,   5420                                          gchar const   *uri , gchar **href ,
5421                                          gchar **mime_type , GError **error ) ;   5421                                          gchar **mime_type , GError **error ) ;
5422 extern void g_bookmark_file_set_added(GBookmarkFile *bookmark ,   5422 extern void g_bookmark_file_set_added(GBookmarkFile *bookmark ,
5423                                       gchar const   *uri , time_t added ) ;   5423                                       gchar const   *uri , time_t added ) ;
5424 extern time_t g_bookmark_file_get_added(GBookmarkFile *bookmark ,   5424 extern time_t g_bookmark_file_get_added(GBookmarkFile *bookmark ,
5425                                         gchar const   *uri , GError **error ) ;   5425                                         gchar const   *uri , GError **error ) ;
5426 extern void g_bookmark_file_set_modified(GBookmarkFile *bookmark ,   5426 extern void g_bookmark_file_set_modified(GBookmarkFile *bookmark ,
5427                                          gchar const   *uri , time_t modified ) ;   5427                                          gchar const   *uri , time_t modified ) ;
5428 extern time_t g_bookmark_file_get_modified(GBookmarkFile *bookmark ,   5428 extern time_t g_bookmark_file_get_modified(GBookmarkFile *bookmark ,
5429                                            gchar const   *uri , GError **error ) ;   5429                                            gchar const   *uri , GError **error ) ;
5430 extern void g_bookmark_file_set_visited(GBookmarkFile *bookmark ,   5430 extern void g_bookmark_file_set_visited(GBookmarkFile *bookmark ,
5431                                         gchar const   *uri , time_t visited ) ;   5431                                         gchar const   *uri , time_t visited ) ;
5432 extern time_t g_bookmark_file_get_visited(GBookmarkFile *bookmark ,   5432 extern time_t g_bookmark_file_get_visited(GBookmarkFile *bookmark ,
5433                                           gchar const   *uri , GError **error ) ;   5433                                           gchar const   *uri , GError **error ) ;
5434 extern gboolean g_bookmark_file_has_item(GBookmarkFile *bookmark ,   5434 extern gboolean g_bookmark_file_has_item(GBookmarkFile *bookmark ,
5435                                          gchar const   *uri ) ;   5435                                          gchar const   *uri ) ;
5436 extern gint g_bookmark_file_get_size(GBookmarkFile *bookmark ) ;   5436 extern gint g_bookmark_file_get_size(GBookmarkFile *bookmark ) ;
5437 extern gchar **g_bookmark_file_get_uris(GBookmarkFile *bookmark , gsize *length )  __attribute__((__malloc__)) ;   5437 extern gchar **g_bookmark_file_get_uris(GBookmarkFile *bookmark , gsize *length )  __attribute__((__malloc__)) ;
5438 extern gboolean g_bookmark_file_remove_group(GBookmarkFile *bookmark ,   5438 extern gboolean g_bookmark_file_remove_group(GBookmarkFile *bookmark ,
5439                                              gchar const   *uri ,   5439                                              gchar const   *uri ,
5440                                              gchar const   *group ,   5440                                              gchar const   *group ,
5441                                              GError **error ) ;   5441                                              GError **error ) ;
5442 extern gboolean g_bookmark_file_remove_application(GBookmarkFile *bookmark ,   5442 extern gboolean g_bookmark_file_remove_application(GBookmarkFile *bookmark ,
5443                                                    gchar const   *uri ,   5443                                                    gchar const   *uri ,
5444                                                    gchar const   *name ,   5444                                                    gchar const   *name ,
5445                                                    GError **error ) ;   5445                                                    GError **error ) ;
5446 extern gboolean g_bookmark_file_remove_item(GBookmarkFile *bookmark ,   5446 extern gboolean g_bookmark_file_remove_item(GBookmarkFile *bookmark ,
5447                                             gchar const   *uri , GError **error ) ;   5447                                             gchar const   *uri , GError **error ) ;
5448 extern gboolean g_bookmark_file_move_item(GBookmarkFile *bookmark ,   5448 extern gboolean g_bookmark_file_move_item(GBookmarkFile *bookmark ,
5449                                           gchar const   *old_uri ,   5449                                           gchar const   *old_uri ,
5450                                           gchar const   *new_uri ,   5450                                           gchar const   *new_uri ,
5451                                           GError **error ) ;   5451                                           GError **error ) ;
5452 extern gpointer g_slice_alloc(gsize block_size )  __attribute__((__malloc__,   5452 extern gpointer g_slice_alloc(gsize block_size )  __attribute__((__malloc__,
5453 __alloc_size__(1))) ;   5453 __alloc_size__(1))) ;
5454 extern gpointer g_slice_alloc0(gsize block_size )  __attribute__((__malloc__,   5454 extern gpointer g_slice_alloc0(gsize block_size )  __attribute__((__malloc__,
5455 __alloc_size__(1))) ;   5455 __alloc_size__(1))) ;
5456 extern gpointer g_slice_copy(gsize block_size , gconstpointer mem_block )  __attribute__((__malloc__,   5456 extern gpointer g_slice_copy(gsize block_size , gconstpointer mem_block )  __attribute__((__malloc__,
5457 __alloc_size__(1))) ;   5457 __alloc_size__(1))) ;
5458 extern void g_slice_free1(gsize block_size , gpointer mem_block ) ;   5458 extern void g_slice_free1(gsize block_size , gpointer mem_block ) ;
5459 extern void g_slice_free_chain_with_offset(gsize block_size ,   5459 extern void g_slice_free_chain_with_offset(gsize block_size ,
5460                                            gpointer mem_chain ,   5460                                            gpointer mem_chain ,
5461                                            gsize next_offset ) ;   5461                                            gsize next_offset ) ;
5462 extern void g_slice_set_config(GSliceConfig ckey , gint64 value ) ;   5462 extern void g_slice_set_config(GSliceConfig ckey , gint64 value ) ;
5463 extern gint64 g_slice_get_config(GSliceConfig ckey ) ;   5463 extern gint64 g_slice_get_config(GSliceConfig ckey ) ;
5464 extern gint64 *g_slice_get_config_state(GSliceConfig ckey , gint64 address ,   5464 extern gint64 *g_slice_get_config_state(GSliceConfig ckey , gint64 address ,
5465                                         guint *n_values ) ;   5465                                         guint *n_values ) ;
5466 extern void g_free(gpointer mem ) ;   5466 extern void g_free(gpointer mem ) ;
5467 extern gpointer g_malloc(gsize n_bytes )  __attribute__((__malloc__,   5467 extern gpointer g_malloc(gsize n_bytes )  __attribute__((__malloc__,
5468 __alloc_size__(1))) ;   5468 __alloc_size__(1))) ;
5469 extern gpointer g_malloc0(gsize n_bytes )  __attribute__((__malloc__,   5469 extern gpointer g_malloc0(gsize n_bytes )  __attribute__((__malloc__,
5470 __alloc_size__(1))) ;   5470 __alloc_size__(1))) ;
5471 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc)(gpointer mem ,   5471 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc)(gpointer mem ,
5472                                                                      gsize n_bytes ) ;   5472                                                                      gsize n_bytes ) ;
5473 extern gpointer g_try_malloc(gsize n_bytes )  __attribute__((__malloc__,   5473 extern gpointer g_try_malloc(gsize n_bytes )  __attribute__((__malloc__,
5474 __alloc_size__(1))) ;   5474 __alloc_size__(1))) ;
5475 extern gpointer g_try_malloc0(gsize n_bytes )  __attribute__((__malloc__,   5475 extern gpointer g_try_malloc0(gsize n_bytes )  __attribute__((__malloc__,
5476 __alloc_size__(1))) ;   5476 __alloc_size__(1))) ;
5477 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc)(gpointer mem ,   5477 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc)(gpointer mem ,
5478                                                                          gsize n_bytes ) ;   5478                                                                          gsize n_bytes ) ;
5479 extern gpointer g_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5479 extern gpointer g_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5480 __alloc_size__(1,2))) ;   5480 __alloc_size__(1,2))) ;
5481 extern gpointer g_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5481 extern gpointer g_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5482 __alloc_size__(1,2))) ;   5482 __alloc_size__(1,2))) ;
5483 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc_n)(gpointer mem ,   5483 extern gpointer ( __attribute__((__warn_unused_result__)) g_realloc_n)(gpointer mem ,
5484                                                                        gsize n_blocks ,   5484                                                                        gsize n_blocks ,
5485                                                                        gsize n_block_bytes ) ;   5485                                                                        gsize n_block_bytes ) ;
5486 extern gpointer g_try_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5486 extern gpointer g_try_malloc_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5487 __alloc_size__(1,2))) ;   5487 __alloc_size__(1,2))) ;
5488 extern gpointer g_try_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,   5488 extern gpointer g_try_malloc0_n(gsize n_blocks , gsize n_block_bytes )  __attribute__((__malloc__,
5489 __alloc_size__(1,2))) ;   5489 __alloc_size__(1,2))) ;
5490 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc_n)(gpointer mem ,   5490 extern gpointer ( __attribute__((__warn_unused_result__)) g_try_realloc_n)(gpointer mem ,
5491                                                                            gsize n_blocks ,   5491                                                                            gsize n_blocks ,
5492                                                                            gsize n_block_bytes ) ;   5492                                                                            gsize n_block_bytes ) ;
5493 extern void g_mem_set_vtable(GMemVTable *vtable ) ;   5493 extern void g_mem_set_vtable(GMemVTable *vtable ) ;
5494 extern gboolean g_mem_is_system_malloc(void) ;   5494 extern gboolean g_mem_is_system_malloc(void) ;
5495 extern gboolean g_mem_gc_friendly ;   5495 extern gboolean g_mem_gc_friendly ;
5496 extern GMemVTable *glib_mem_profiler_table ;   5496 extern GMemVTable *glib_mem_profiler_table ;
5497 extern void g_mem_profile(void) ;   5497 extern void g_mem_profile(void) ;
5498 extern GMemChunk *g_mem_chunk_new(gchar const   *name , gint atom_size ,   5498 extern GMemChunk *g_mem_chunk_new(gchar const   *name , gint atom_size ,
5499                                   gsize area_size , gint type ) ;   5499                                   gsize area_size , gint type ) ;
5500 extern void g_mem_chunk_destroy(GMemChunk *mem_chunk ) ;   5500 extern void g_mem_chunk_destroy(GMemChunk *mem_chunk ) ;
5501 extern gpointer g_mem_chunk_alloc(GMemChunk *mem_chunk ) ;   5501 extern gpointer g_mem_chunk_alloc(GMemChunk *mem_chunk ) ;
5502 extern gpointer g_mem_chunk_alloc0(GMemChunk *mem_chunk ) ;   5502 extern gpointer g_mem_chunk_alloc0(GMemChunk *mem_chunk ) ;
5503 extern void g_mem_chunk_free(GMemChunk *mem_chunk , gpointer mem ) ;   5503 extern void g_mem_chunk_free(GMemChunk *mem_chunk , gpointer mem ) ;
5504 extern void g_mem_chunk_clean(GMemChunk *mem_chunk ) ;   5504 extern void g_mem_chunk_clean(GMemChunk *mem_chunk ) ;
5505 extern void g_mem_chunk_reset(GMemChunk *mem_chunk ) ;   5505 extern void g_mem_chunk_reset(GMemChunk *mem_chunk ) ;
5506 extern void g_mem_chunk_print(GMemChunk *mem_chunk ) ;   5506 extern void g_mem_chunk_print(GMemChunk *mem_chunk ) ;
5507 extern void g_mem_chunk_info(void) ;   5507 extern void g_mem_chunk_info(void) ;
5508 extern void g_blow_chunks(void) ;   5508 extern void g_blow_chunks(void) ;
5509 extern GAllocator *g_allocator_new(gchar const   *name , guint n_preallocs ) ;   5509 extern GAllocator *g_allocator_new(gchar const   *name , guint n_preallocs ) ;
5510 extern void g_allocator_free(GAllocator *allocator ) ;   5510 extern void g_allocator_free(GAllocator *allocator ) ;
5511 extern GList *( __attribute__((__warn_unused_result__)) g_list_alloc)(void) ;   5511 extern GList *( __attribute__((__warn_unused_result__)) g_list_alloc)(void) ;
5512 extern void g_list_free(GList *list ) ;   5512 extern void g_list_free(GList *list ) ;
5513 extern void g_list_free_1(GList *list ) ;   5513 extern void g_list_free_1(GList *list ) ;
5514 extern GList *( __attribute__((__warn_unused_result__)) g_list_append)(GList *list ,   5514 extern GList *( __attribute__((__warn_unused_result__)) g_list_append)(GList *list ,
5515                                                                        gpointer data ) ;   5515                                                                        gpointer data ) ;
5516 extern GList *( __attribute__((__warn_unused_result__)) g_list_prepend)(GList *list ,   5516 extern GList *( __attribute__((__warn_unused_result__)) g_list_prepend)(GList *list ,
5517                                                                         gpointer data ) ;   5517                                                                         gpointer data ) ;
5518 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert)(GList *list ,   5518 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert)(GList *list ,
5519                                                                        gpointer data ,   5519                                                                        gpointer data ,
5520                                                                        gint position ) ;   5520                                                                        gint position ) ;
5521 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted)(GList *list ,   5521 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted)(GList *list ,
5522                                                                               gpointer data ,   5522                                                                               gpointer data ,
5523                                                                               gint (*func)(gconstpointer a ,   5523                                                                               gint (*func)(gconstpointer a ,
5524                                                                                            gconstpointer b ) ) ;   5524                                                                                            gconstpointer b ) ) ;
5525 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted_with_data)(GList *list ,   5525 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_sorted_with_data)(GList *list ,
5526                                                                                         gpointer data ,   5526                                                                                         gpointer data ,
5527                                                                                         gint (*func)(gconstpointer a ,   5527                                                                                         gint (*func)(gconstpointer a ,
5528                                                                                                      gconstpointer b ,   5528                                                                                                      gconstpointer b ,
5529                                                                                                      gpointer user_data ) ,   5529                                                                                                      gpointer user_data ) ,
5530                                                                                         gpointer user_data ) ;   5530                                                                                         gpointer user_data ) ;
5531 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_before)(GList *list ,   5531 extern GList *( __attribute__((__warn_unused_result__)) g_list_insert_before)(GList *list ,
5532                                                                               GList *sibling ,   5532                                                                               GList *sibling ,
5533                                                                               gpointer data ) ;   5533                                                                               gpointer data ) ;
5534 extern GList *( __attribute__((__warn_unused_result__)) g_list_concat)(GList *list1 ,   5534 extern GList *( __attribute__((__warn_unused_result__)) g_list_concat)(GList *list1 ,
5535                                                                        GList *list2 ) ;   5535                                                                        GList *list2 ) ;
5536 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove)(GList *list ,   5536 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove)(GList *list ,
5537                                                                        gconstpointer data ) ;   5537                                                                        gconstpointer data ) ;
5538 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_all)(GList *list ,   5538 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_all)(GList *list ,
5539                                                                            gconstpointer data ) ;   5539                                                                            gconstpointer data ) ;
5540 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_link)(GList *list ,   5540 extern GList *( __attribute__((__warn_unused_result__)) g_list_remove_link)(GList *list ,
5541                                                                             GList *llink ) ;   5541                                                                             GList *llink ) ;
5542 extern GList *( __attribute__((__warn_unused_result__)) g_list_delete_link)(GList *list ,   5542 extern GList *( __attribute__((__warn_unused_result__)) g_list_delete_link)(GList *list ,
5543                                                                             GList *link_ ) ;   5543                                                                             GList *link_ ) ;
5544 extern GList *( __attribute__((__warn_unused_result__)) g_list_reverse)(GList *list ) ;   5544 extern GList *( __attribute__((__warn_unused_result__)) g_list_reverse)(GList *list ) ;
5545 extern GList *( __attribute__((__warn_unused_result__)) g_list_copy)(GList *list ) ;   5545 extern GList *( __attribute__((__warn_unused_result__)) g_list_copy)(GList *list ) ;
5546 extern GList *g_list_nth(GList *list , guint n ) ;   5546 extern GList *g_list_nth(GList *list , guint n ) ;
5547 extern GList *g_list_nth_prev(GList *list , guint n ) ;   5547 extern GList *g_list_nth_prev(GList *list , guint n ) ;
5548 extern GList *g_list_find(GList *list , gconstpointer data ) ;   5548 extern GList *g_list_find(GList *list , gconstpointer data ) ;
5549 extern GList *g_list_find_custom(GList *list , gconstpointer data ,   5549 extern GList *g_list_find_custom(GList *list , gconstpointer data ,
5550                                  gint (*func)(gconstpointer a , gconstpointer b ) ) ;   5550                                  gint (*func)(gconstpointer a , gconstpointer b ) ) ;
5551 extern gint g_list_position(GList *list , GList *llink ) ;   5551 extern gint g_list_position(GList *list , GList *llink ) ;
5552 extern gint g_list_index(GList *list , gconstpointer data ) ;   5552 extern gint g_list_index(GList *list , gconstpointer data ) ;
5553 extern GList *g_list_last(GList *list ) ;   5553 extern GList *g_list_last(GList *list ) ;
5554 extern GList *g_list_first(GList *list ) ;   5554 extern GList *g_list_first(GList *list ) ;
5555 extern guint g_list_length(GList *list ) ;   5555 extern guint g_list_length(GList *list ) ;
5556 extern void g_list_foreach(GList *list , void (*func)(gpointer data ,   5556 extern void g_list_foreach(GList *list , void (*func)(gpointer data ,
5557                                                       gpointer user_data ) ,   5557                                                       gpointer user_data ) ,
5558                            gpointer user_data ) ;   5558                            gpointer user_data ) ;
5559 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort)(GList *list ,   5559 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort)(GList *list ,
5560                                                                      gint (*compare_func)(gconstpointer a ,   5560                                                                      gint (*compare_func)(gconstpointer a ,
5561                                                                                           gconstpointer b ) ) ;   5561                                                                                           gconstpointer b ) ) ;
5562 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort_with_data)(GList *list ,   5562 extern GList *( __attribute__((__warn_unused_result__)) g_list_sort_with_data)(GList *list ,
5563                                                                                gint (*compare_func)(gconstpointer a ,   5563                                                                                gint (*compare_func)(gconstpointer a ,
5564                                                                                                     gconstpointer b ,   5564                                                                                                     gconstpointer b ,
5565                                                                                                     gpointer user_data ) ,   5565                                                                                                     gpointer user_data ) ,
5566                                                                                gpointer user_data ) ;   5566                                                                                gpointer user_data ) ;
5567 extern gpointer g_list_nth_data(GList *list , guint n ) ;   5567 extern gpointer g_list_nth_data(GList *list , guint n ) ;
5568 extern void g_list_push_allocator(gpointer allocator ) ;   5568 extern void g_list_push_allocator(gpointer allocator ) ;
5569 extern void g_list_pop_allocator(void) ;   5569 extern void g_list_pop_allocator(void) ;
5570 extern GCache *g_cache_new(gpointer (*value_new_func)(gpointer key ) ,   5570 extern GCache *g_cache_new(gpointer (*value_new_func)(gpointer key ) ,
5571                            void (*value_destroy_func)(gpointer value ) ,   5571                            void (*value_destroy_func)(gpointer value ) ,
5572                            gpointer (*key_dup_func)(gpointer value ) ,   5572                            gpointer (*key_dup_func)(gpointer value ) ,
5573                            void (*key_destroy_func)(gpointer value ) ,   5573                            void (*key_destroy_func)(gpointer value ) ,
5574                            guint (*hash_key_func)(gconstpointer key ) ,   5574                            guint (*hash_key_func)(gconstpointer key ) ,
5575                            guint (*hash_value_func)(gconstpointer key ) ,   5575                            guint (*hash_value_func)(gconstpointer key ) ,
5576                            gboolean (*key_equal_func)(gconstpointer a ,   5576                            gboolean (*key_equal_func)(gconstpointer a ,
5577                                                       gconstpointer b ) ) ;   5577                                                       gconstpointer b ) ) ;
5578 extern void g_cache_destroy(GCache *cache ) ;   5578 extern void g_cache_destroy(GCache *cache ) ;
5579 extern gpointer g_cache_insert(GCache *cache , gpointer key ) ;   5579 extern gpointer g_cache_insert(GCache *cache , gpointer key ) ;
5580 extern void g_cache_remove(GCache *cache , gconstpointer value ) ;   5580 extern void g_cache_remove(GCache *cache , gconstpointer value ) ;
5581 extern void g_cache_key_foreach(GCache *cache ,   5581 extern void g_cache_key_foreach(GCache *cache ,
5582                                 void (*func)(gpointer key , gpointer value ,   5582                                 void (*func)(gpointer key , gpointer value ,
5583                                              gpointer user_data ) ,   5583                                              gpointer user_data ) ,
5584                                 gpointer user_data ) ;   5584                                 gpointer user_data ) ;
5585 extern void g_cache_value_foreach(GCache *cache ,   5585 extern void g_cache_value_foreach(GCache *cache ,
5586                                   void (*func)(gpointer key , gpointer value ,   5586                                   void (*func)(gpointer key , gpointer value ,
5587                                                gpointer user_data ) ,   5587                                                gpointer user_data ) ,
5588                                   gpointer user_data ) ;   5588                                   gpointer user_data ) ;
5589 extern gssize g_checksum_type_get_length(GChecksumType checksum_type ) ;   5589 extern gssize g_checksum_type_get_length(GChecksumType checksum_type ) ;
5590 extern GChecksum *g_checksum_new(GChecksumType checksum_type ) ;   5590 extern GChecksum *g_checksum_new(GChecksumType checksum_type ) ;
5591 extern void g_checksum_reset(GChecksum *checksum ) ;   5591 extern void g_checksum_reset(GChecksum *checksum ) ;
5592 extern GChecksum *g_checksum_copy(GChecksum const   *checksum ) ;   5592 extern GChecksum *g_checksum_copy(GChecksum const   *checksum ) ;
5593 extern void g_checksum_free(GChecksum *checksum ) ;   5593 extern void g_checksum_free(GChecksum *checksum ) ;
5594 extern void g_checksum_update(GChecksum *checksum , guchar const   *data ,   5594 extern void g_checksum_update(GChecksum *checksum , guchar const   *data ,
5595                               gssize length ) ;   5595                               gssize length ) ;
5596 extern gchar const   *g_checksum_get_string(GChecksum *checksum ) ;   5596 extern gchar const   *g_checksum_get_string(GChecksum *checksum ) ;
5597 extern void g_checksum_get_digest(GChecksum *checksum , guint8 *buffer ,   5597 extern void g_checksum_get_digest(GChecksum *checksum , guint8 *buffer ,
5598                                   gsize *digest_len ) ;   5598                                   gsize *digest_len ) ;
5599 extern gchar *g_compute_checksum_for_data(GChecksumType checksum_type ,   5599 extern gchar *g_compute_checksum_for_data(GChecksumType checksum_type ,
5600                                           guchar const   *data , gsize length ) ;   5600                                           guchar const   *data , gsize length ) ;
5601 extern gchar *g_compute_checksum_for_string(GChecksumType checksum_type ,   5601 extern gchar *g_compute_checksum_for_string(GChecksumType checksum_type ,
5602                                             gchar const   *str , gssize length ) ;   5602                                             gchar const   *str , gssize length ) ;
5603 extern GCompletion *g_completion_new(gchar *(*func)(gpointer  ) ) ;   5603 extern GCompletion *g_completion_new(gchar *(*func)(gpointer  ) ) ;
5604 extern void g_completion_add_items(GCompletion *cmp , GList *items ) ;   5604 extern void g_completion_add_items(GCompletion *cmp , GList *items ) ;
5605 extern void g_completion_remove_items(GCompletion *cmp , GList *items ) ;   5605 extern void g_completion_remove_items(GCompletion *cmp , GList *items ) ;
5606 extern void g_completion_clear_items(GCompletion *cmp ) ;   5606 extern void g_completion_clear_items(GCompletion *cmp ) ;
5607 extern GList *g_completion_complete(GCompletion *cmp , gchar const   *prefix ,   5607 extern GList *g_completion_complete(GCompletion *cmp , gchar const   *prefix ,
5608                                     gchar **new_prefix ) ;   5608                                     gchar **new_prefix ) ;
5609 extern GList *g_completion_complete_utf8(GCompletion *cmp ,   5609 extern GList *g_completion_complete_utf8(GCompletion *cmp ,
5610                                          gchar const   *prefix ,   5610                                          gchar const   *prefix ,
5611                                          gchar **new_prefix ) ;   5611                                          gchar **new_prefix ) ;
5612 extern void g_completion_set_compare(GCompletion *cmp ,   5612 extern void g_completion_set_compare(GCompletion *cmp ,
5613                                      gint (*strncmp_func)(gchar const   *s1 ,   5613                                      gint (*strncmp_func)(gchar const   *s1 ,
5614                                                           gchar const   *s2 ,   5614                                                           gchar const   *s2 ,
5615                                                           gsize n ) ) ;   5615                                                           gsize n ) ) ;
5616 extern void g_completion_free(GCompletion *cmp ) ;   5616 extern void g_completion_free(GCompletion *cmp ) ;
5617 extern GQuark g_convert_error_quark(void) ;   5617 extern GQuark g_convert_error_quark(void) ;
5618 extern GIConv g_iconv_open(gchar const   *to_codeset ,   5618 extern GIConv g_iconv_open(gchar const   *to_codeset ,
5619                            gchar const   *from_codeset ) ;   5619                            gchar const   *from_codeset ) ;
5620 extern gsize g_iconv(GIConv converter , gchar **inbuf , gsize *inbytes_left ,   5620 extern gsize g_iconv(GIConv converter , gchar **inbuf , gsize *inbytes_left ,
5621                      gchar **outbuf , gsize *outbytes_left ) ;   5621                      gchar **outbuf , gsize *outbytes_left ) ;
5622 extern gint g_iconv_close(GIConv converter ) ;   5622 extern gint g_iconv_close(GIConv converter ) ;
5623 extern gchar *g_convert(gchar const   *str , gssize len ,   5623 extern gchar *g_convert(gchar const   *str , gssize len ,
5624                         gchar const   *to_codeset ,   5624                         gchar const   *to_codeset ,
5625                         gchar const   *from_codeset , gsize *bytes_read ,   5625                         gchar const   *from_codeset , gsize *bytes_read ,
5626                         gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;   5626                         gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;
5627 extern gchar *g_convert_with_iconv(gchar const   *str , gssize len ,   5627 extern gchar *g_convert_with_iconv(gchar const   *str , gssize len ,
5628                                    GIConv converter , gsize *bytes_read ,   5628                                    GIConv converter , gsize *bytes_read ,
5629                                    gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;   5629                                    gsize *bytes_written , GError **error )  __attribute__((__malloc__)) ;
5630 extern gchar *g_convert_with_fallback(gchar const   *str , gssize len ,   5630 extern gchar *g_convert_with_fallback(gchar const   *str , gssize len ,
5631                                       gchar const   *to_codeset ,   5631                                       gchar const   *to_codeset ,
5632                                       gchar const   *from_codeset ,   5632                                       gchar const   *from_codeset ,
5633                                       gchar const   *fallback ,   5633                                       gchar const   *fallback ,
5634                                       gsize *bytes_read , gsize *bytes_written ,   5634                                       gsize *bytes_read , gsize *bytes_written ,
5635                                       GError **error )  __attribute__((__malloc__)) ;   5635                                       GError **error )  __attribute__((__malloc__)) ;
5636 extern gchar *g_locale_to_utf8(gchar const   *opsysstring , gssize len ,   5636 extern gchar *g_locale_to_utf8(gchar const   *opsysstring , gssize len ,
5637                                gsize *bytes_read , gsize *bytes_written ,   5637                                gsize *bytes_read , gsize *bytes_written ,
5638                                GError **error )  __attribute__((__malloc__)) ;   5638                                GError **error )  __attribute__((__malloc__)) ;
5639 extern gchar *g_locale_from_utf8(gchar const   *utf8string , gssize len ,   5639 extern gchar *g_locale_from_utf8(gchar const   *utf8string , gssize len ,
5640                                  gsize *bytes_read , gsize *bytes_written ,   5640                                  gsize *bytes_read , gsize *bytes_written ,
5641                                  GError **error )  __attribute__((__malloc__)) ;   5641                                  GError **error )  __attribute__((__malloc__)) ;
5642 extern gchar *g_filename_to_utf8(gchar const   *opsysstring , gssize len ,   5642 extern gchar *g_filename_to_utf8(gchar const   *opsysstring , gssize len ,
5643                                  gsize *bytes_read , gsize *bytes_written ,   5643                                  gsize *bytes_read , gsize *bytes_written ,
5644                                  GError **error )  __attribute__((__malloc__)) ;   5644                                  GError **error )  __attribute__((__malloc__)) ;
5645 extern gchar *g_filename_from_utf8(gchar const   *utf8string , gssize len ,   5645 extern gchar *g_filename_from_utf8(gchar const   *utf8string , gssize len ,
5646                                    gsize *bytes_read , gsize *bytes_written ,   5646                                    gsize *bytes_read , gsize *bytes_written ,
5647                                    GError **error )  __attribute__((__malloc__)) ;   5647                                    GError **error )  __attribute__((__malloc__)) ;
5648 extern gchar *g_filename_from_uri(gchar const   *uri , gchar **hostname ,   5648 extern gchar *g_filename_from_uri(gchar const   *uri , gchar **hostname ,
5649                                   GError **error )  __attribute__((__malloc__)) ;   5649                                   GError **error )  __attribute__((__malloc__)) ;
5650 extern gchar *g_filename_to_uri(gchar const   *filename ,   5650 extern gchar *g_filename_to_uri(gchar const   *filename ,
5651                                 gchar const   *hostname , GError **error )  __attribute__((__malloc__)) ;   5651                                 gchar const   *hostname , GError **error )  __attribute__((__malloc__)) ;
5652 extern gchar *g_filename_display_name(gchar const   *filename )  __attribute__((__malloc__)) ;   5652 extern gchar *g_filename_display_name(gchar const   *filename )  __attribute__((__malloc__)) ;
5653 extern gboolean g_get_filename_charsets(gchar const   ***charsets ) ;   5653 extern gboolean g_get_filename_charsets(gchar const   ***charsets ) ;
5654 extern gchar *g_filename_display_basename(gchar const   *filename )  __attribute__((__malloc__)) ;   5654 extern gchar *g_filename_display_basename(gchar const   *filename )  __attribute__((__malloc__)) ;
5655 extern gchar **g_uri_list_extract_uris(gchar const   *uri_list )  __attribute__((__malloc__)) ;   5655 extern gchar **g_uri_list_extract_uris(gchar const   *uri_list )  __attribute__((__malloc__)) ;
5656 extern void g_datalist_init(GData **datalist ) ;   5656 extern void g_datalist_init(GData **datalist ) ;
5657 extern void g_datalist_clear(GData **datalist ) ;   5657 extern void g_datalist_clear(GData **datalist ) ;
5658 extern gpointer g_datalist_id_get_data(GData **datalist , GQuark key_id ) ;   5658 extern gpointer g_datalist_id_get_data(GData **datalist , GQuark key_id ) ;
5659 extern void g_datalist_id_set_data_full(GData **datalist , GQuark key_id ,   5659 extern void g_datalist_id_set_data_full(GData **datalist , GQuark key_id ,
5660                                         gpointer data ,   5660                                         gpointer data ,
5661                                         void (*destroy_func)(gpointer data ) ) ;   5661                                         void (*destroy_func)(gpointer data ) ) ;
5662 extern gpointer g_datalist_id_remove_no_notify(GData **datalist , GQuark key_id ) ;   5662 extern gpointer g_datalist_id_remove_no_notify(GData **datalist , GQuark key_id ) ;
5663 extern void g_datalist_foreach(GData **datalist ,   5663 extern void g_datalist_foreach(GData **datalist ,
5664                                void (*func)(GQuark key_id , gpointer data ,   5664                                void (*func)(GQuark key_id , gpointer data ,
5665                                             gpointer user_data ) ,   5665                                             gpointer user_data ) ,
5666                                gpointer user_data ) ;   5666                                gpointer user_data ) ;
5667 extern void g_datalist_set_flags(GData **datalist , guint flags ) ;   5667 extern void g_datalist_set_flags(GData **datalist , guint flags ) ;
5668 extern void g_datalist_unset_flags(GData **datalist , guint flags ) ;   5668 extern void g_datalist_unset_flags(GData **datalist , guint flags ) ;
5669 extern guint g_datalist_get_flags(GData **datalist ) ;   5669 extern guint g_datalist_get_flags(GData **datalist ) ;
5670 extern void g_dataset_destroy(gconstpointer dataset_location ) ;   5670 extern void g_dataset_destroy(gconstpointer dataset_location ) ;
5671 extern gpointer g_dataset_id_get_data(gconstpointer dataset_location ,   5671 extern gpointer g_dataset_id_get_data(gconstpointer dataset_location ,
5672                                       GQuark key_id ) ;   5672                                       GQuark key_id ) ;
5673 extern void g_dataset_id_set_data_full(gconstpointer dataset_location ,   5673 extern void g_dataset_id_set_data_full(gconstpointer dataset_location ,
5674                                        GQuark key_id , gpointer data ,   5674                                        GQuark key_id , gpointer data ,
5675                                        void (*destroy_func)(gpointer data ) ) ;   5675                                        void (*destroy_func)(gpointer data ) ) ;
5676 extern gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location ,   5676 extern gpointer g_dataset_id_remove_no_notify(gconstpointer dataset_location ,
5677                                               GQuark key_id ) ;   5677                                               GQuark key_id ) ;
5678 extern void g_dataset_foreach(gconstpointer dataset_location ,   5678 extern void g_dataset_foreach(gconstpointer dataset_location ,
5679                               void (*func)(GQuark key_id , gpointer data ,   5679                               void (*func)(GQuark key_id , gpointer data ,
5680                                            gpointer user_data ) ,   5680                                            gpointer user_data ) ,
5681                               gpointer user_data ) ;   5681                               gpointer user_data ) ;
5682 extern GDate *g_date_new(void) ;   5682 extern GDate *g_date_new(void) ;
5683 extern GDate *g_date_new_dmy(GDateDay day , GDateMonth month , GDateYear year ) ;   5683 extern GDate *g_date_new_dmy(GDateDay day , GDateMonth month , GDateYear year ) ;
5684 extern GDate *g_date_new_julian(guint32 julian_day ) ;   5684 extern GDate *g_date_new_julian(guint32 julian_day ) ;
5685 extern void g_date_free(GDate *date ) ;   5685 extern void g_date_free(GDate *date ) ;
5686 extern gboolean g_date_valid(GDate const   *date ) ;   5686 extern gboolean g_date_valid(GDate const   *date ) ;
5687 extern gboolean g_date_valid_day(GDateDay day )  __attribute__((__const__)) ;   5687 extern gboolean g_date_valid_day(GDateDay day )  __attribute__((__const__)) ;
5688 extern gboolean g_date_valid_month(GDateMonth month )  __attribute__((__const__)) ;   5688 extern gboolean g_date_valid_month(GDateMonth month )  __attribute__((__const__)) ;
5689 extern gboolean g_date_valid_year(GDateYear year )  __attribute__((__const__)) ;   5689 extern gboolean g_date_valid_year(GDateYear year )  __attribute__((__const__)) ;
5690 extern gboolean g_date_valid_weekday(GDateWeekday weekday )  __attribute__((__const__)) ;   5690 extern gboolean g_date_valid_weekday(GDateWeekday weekday )  __attribute__((__const__)) ;
5691 extern gboolean g_date_valid_julian(guint32 julian_date )  __attribute__((__const__)) ;   5691 extern gboolean g_date_valid_julian(guint32 julian_date )  __attribute__((__const__)) ;
5692 extern gboolean g_date_valid_dmy(GDateDay day , GDateMonth month ,   5692 extern gboolean g_date_valid_dmy(GDateDay day , GDateMonth month ,
5693                                  GDateYear year )  __attribute__((__const__)) ;   5693                                  GDateYear year )  __attribute__((__const__)) ;
5694 extern GDateWeekday g_date_get_weekday(GDate const   *date ) ;   5694 extern GDateWeekday g_date_get_weekday(GDate const   *date ) ;
5695 extern GDateMonth g_date_get_month(GDate const   *date ) ;   5695 extern GDateMonth g_date_get_month(GDate const   *date ) ;
5696 extern GDateYear g_date_get_year(GDate const   *date ) ;   5696 extern GDateYear g_date_get_year(GDate const   *date ) ;
5697 extern GDateDay g_date_get_day(GDate const   *date ) ;   5697 extern GDateDay g_date_get_day(GDate const   *date ) ;
5698 extern guint32 g_date_get_julian(GDate const   *date ) ;   5698 extern guint32 g_date_get_julian(GDate const   *date ) ;
5699 extern guint g_date_get_day_of_year(GDate const   *date ) ;   5699 extern guint g_date_get_day_of_year(GDate const   *date ) ;
5700 extern guint g_date_get_monday_week_of_year(GDate const   *date ) ;   5700 extern guint g_date_get_monday_week_of_year(GDate const   *date ) ;
5701 extern guint g_date_get_sunday_week_of_year(GDate const   *date ) ;   5701 extern guint g_date_get_sunday_week_of_year(GDate const   *date ) ;
5702 extern guint g_date_get_iso8601_week_of_year(GDate const   *date ) ;   5702 extern guint g_date_get_iso8601_week_of_year(GDate const   *date ) ;
5703 extern void g_date_clear(GDate *date , guint n_dates ) ;   5703 extern void g_date_clear(GDate *date , guint n_dates ) ;
5704 extern void g_date_set_parse(GDate *date , gchar const   *str ) ;   5704 extern void g_date_set_parse(GDate *date , gchar const   *str ) ;
5705 extern void g_date_set_time_t(GDate *date , time_t timet ) ;   5705 extern void g_date_set_time_t(GDate *date , time_t timet ) ;
5706 extern void g_date_set_time_val(GDate *date , GTimeVal *timeval ) ;   5706 extern void g_date_set_time_val(GDate *date , GTimeVal *timeval ) ;
5707 extern void g_date_set_time(GDate *date , GTime time_ ) ;   5707 extern void g_date_set_time(GDate *date , GTime time_ ) ;
5708 extern void g_date_set_month(GDate *date , GDateMonth month ) ;   5708 extern void g_date_set_month(GDate *date , GDateMonth month ) ;
5709 extern void g_date_set_day(GDate *date , GDateDay day ) ;   5709 extern void g_date_set_day(GDate *date , GDateDay day ) ;
5710 extern void g_date_set_year(GDate *date , GDateYear year ) ;   5710 extern void g_date_set_year(GDate *date , GDateYear year ) ;
5711 extern void g_date_set_dmy(GDate *date , GDateDay day , GDateMonth month ,   5711 extern void g_date_set_dmy(GDate *date , GDateDay day , GDateMonth month ,
5712                            GDateYear y ) ;   5712                            GDateYear y ) ;
5713 extern void g_date_set_julian(GDate *date , guint32 julian_date ) ;   5713 extern void g_date_set_julian(GDate *date , guint32 julian_date ) ;
5714 extern gboolean g_date_is_first_of_month(GDate const   *date ) ;   5714 extern gboolean g_date_is_first_of_month(GDate const   *date ) ;
5715 extern gboolean g_date_is_last_of_month(GDate const   *date ) ;   5715 extern gboolean g_date_is_last_of_month(GDate const   *date ) ;
5716 extern void g_date_add_days(GDate *date , guint n_days ) ;   5716 extern void g_date_add_days(GDate *date , guint n_days ) ;
5717 extern void g_date_subtract_days(GDate *date , guint n_days ) ;   5717 extern void g_date_subtract_days(GDate *date , guint n_days ) ;
5718 extern void g_date_add_months(GDate *date , guint n_months ) ;   5718 extern void g_date_add_months(GDate *date , guint n_months ) ;
5719 extern void g_date_subtract_months(GDate *date , guint n_months ) ;   5719 extern void g_date_subtract_months(GDate *date , guint n_months ) ;
5720 extern void g_date_add_years(GDate *date , guint n_years ) ;   5720 extern void g_date_add_years(GDate *date , guint n_years ) ;
5721 extern void g_date_subtract_years(GDate *date , guint n_years ) ;   5721 extern void g_date_subtract_years(GDate *date , guint n_years ) ;
5722 extern gboolean g_date_is_leap_year(GDateYear year )  __attribute__((__const__)) ;   5722 extern gboolean g_date_is_leap_year(GDateYear year )  __attribute__((__const__)) ;
5723 extern guint8 g_date_get_days_in_month(GDateMonth month , GDateYear year )  __attribute__((__const__)) ;   5723 extern guint8 g_date_get_days_in_month(GDateMonth month , GDateYear year )  __attribute__((__const__)) ;
5724 extern guint8 g_date_get_monday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;   5724 extern guint8 g_date_get_monday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;
5725 extern guint8 g_date_get_sunday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;   5725 extern guint8 g_date_get_sunday_weeks_in_year(GDateYear year )  __attribute__((__const__)) ;
5726 extern gint g_date_days_between(GDate const   *date1 , GDate const   *date2 ) ;   5726 extern gint g_date_days_between(GDate const   *date1 , GDate const   *date2 ) ;
5727 extern gint g_date_compare(GDate const   *lhs , GDate const   *rhs ) ;   5727 extern gint g_date_compare(GDate const   *lhs , GDate const   *rhs ) ;
5728 extern void g_date_to_struct_tm(GDate const   *date , struct tm *tm ) ;   5728 extern void g_date_to_struct_tm(GDate const   *date , struct tm *tm ) ;
5729 extern void g_date_clamp(GDate *date , GDate const   *min_date ,   5729 extern void g_date_clamp(GDate *date , GDate const   *min_date ,
5730                          GDate const   *max_date ) ;   5730                          GDate const   *max_date ) ;
5731 extern void g_date_order(GDate *date1 , GDate *date2 ) ;   5731 extern void g_date_order(GDate *date1 , GDate *date2 ) ;
5732 extern gsize g_date_strftime(gchar *s , gsize slen , gchar const   *format ,   5732 extern gsize g_date_strftime(gchar *s , gsize slen , gchar const   *format ,
5733                              GDate const   *date ) ;   5733                              GDate const   *date ) ;
5734 extern GDir *g_dir_open(gchar const   *path , guint flags , GError **error ) ;   5734 extern GDir *g_dir_open(gchar const   *path , guint flags , GError **error ) ;
5735 extern gchar const   *g_dir_read_name(GDir *dir ) ;   5735 extern gchar const   *g_dir_read_name(GDir *dir ) ;
5736 extern void g_dir_rewind(GDir *dir ) ;   5736 extern void g_dir_rewind(GDir *dir ) ;
5737 extern void g_dir_close(GDir *dir ) ;   5737 extern void g_dir_close(GDir *dir ) ;
5738 extern GQuark g_file_error_quark(void) ;   5738 extern GQuark g_file_error_quark(void) ;
5739 extern GFileError g_file_error_from_errno(gint err_no ) ;   5739 extern GFileError g_file_error_from_errno(gint err_no ) ;
5740 extern gboolean g_file_test(gchar const   *filename , GFileTest test ) ;   5740 extern gboolean g_file_test(gchar const   *filename , GFileTest test ) ;
5741 extern gboolean g_file_get_contents(gchar const   *filename , gchar **contents ,   5741 extern gboolean g_file_get_contents(gchar const   *filename , gchar **contents ,
5742                                     gsize *length , GError **error ) ;   5742                                     gsize *length , GError **error ) ;
5743 extern gboolean g_file_set_contents(gchar const   *filename ,   5743 extern gboolean g_file_set_contents(gchar const   *filename ,
5744                                     gchar const   *contents , gssize length ,   5744                                     gchar const   *contents , gssize length ,
5745                                     GError **error ) ;   5745                                     GError **error ) ;
5746 extern gchar *g_file_read_link(gchar const   *filename , GError **error ) ;   5746 extern gchar *g_file_read_link(gchar const   *filename , GError **error ) ;
5747 extern gint g_mkstemp(gchar *tmpl ) ;   5747 extern gint g_mkstemp(gchar *tmpl ) ;
5748 extern gint g_mkstemp_full(gchar *tmpl , int flags , int mode ) ;   5748 extern gint g_mkstemp_full(gchar *tmpl , int flags , int mode ) ;
5749 extern gint g_file_open_tmp(gchar const   *tmpl , gchar **name_used ,   5749 extern gint g_file_open_tmp(gchar const   *tmpl , gchar **name_used ,
5750                             GError **error ) ;   5750                             GError **error ) ;
5751 extern char *g_format_size_for_display(goffset size ) ;   5751 extern char *g_format_size_for_display(goffset size ) ;
5752 extern gchar *g_build_path(gchar const   *separator ,   5752 extern gchar *g_build_path(gchar const   *separator ,
5753                            gchar const   *first_element  , ...)  __attribute__((__sentinel__,   5753                            gchar const   *first_element  , ...)  __attribute__((__sentinel__,
5754 __malloc__)) ;   5754 __malloc__)) ;
5755 extern gchar *g_build_pathv(gchar const   *separator , gchar **args )  __attribute__((__malloc__)) ;   5755 extern gchar *g_build_pathv(gchar const   *separator , gchar **args )  __attribute__((__malloc__)) ;
5756 extern gchar *g_build_filename(gchar const   *first_element  , ...)  __attribute__((__sentinel__,   5756 extern gchar *g_build_filename(gchar const   *first_element  , ...)  __attribute__((__sentinel__,
5757 __malloc__)) ;   5757 __malloc__)) ;
5758 extern gchar *g_build_filenamev(gchar **args )  __attribute__((__malloc__)) ;   5758 extern gchar *g_build_filenamev(gchar **args )  __attribute__((__malloc__)) ;
5759 extern int g_mkdir_with_parents(gchar const   *pathname , int mode ) ;   5759 extern int g_mkdir_with_parents(gchar const   *pathname , int mode ) ;
5760 extern GHashTable *g_hash_table_new(guint (*hash_func)(gconstpointer key ) ,   5760 extern GHashTable *g_hash_table_new(guint (*hash_func)(gconstpointer key ) ,
5761                                     gboolean (*key_equal_func)(gconstpointer a ,   5761                                     gboolean (*key_equal_func)(gconstpointer a ,
5762                                                                gconstpointer b ) ) ;   5762                                                                gconstpointer b ) ) ;
5763 extern GHashTable *g_hash_table_new_full(guint (*hash_func)(gconstpointer key ) ,   5763 extern GHashTable *g_hash_table_new_full(guint (*hash_func)(gconstpointer key ) ,
5764                                          gboolean (*key_equal_func)(gconstpointer a ,   5764                                          gboolean (*key_equal_func)(gconstpointer a ,
5765                                                                     gconstpointer b ) ,   5765                                                                     gconstpointer b ) ,
5766                                          void (*key_destroy_func)(gpointer data ) ,   5766                                          void (*key_destroy_func)(gpointer data ) ,
5767                                          void (*value_destroy_func)(gpointer data ) ) ;   5767                                          void (*value_destroy_func)(gpointer data ) ) ;
5768 extern void g_hash_table_destroy(GHashTable *hash_table ) ;   5768 extern void g_hash_table_destroy(GHashTable *hash_table ) ;
5769 extern void g_hash_table_insert(GHashTable *hash_table , gpointer key ,   5769 extern void g_hash_table_insert(GHashTable *hash_table , gpointer key ,
5770                                 gpointer value ) ;   5770                                 gpointer value ) ;
5771 extern void g_hash_table_replace(GHashTable *hash_table , gpointer key ,   5771 extern void g_hash_table_replace(GHashTable *hash_table , gpointer key ,
5772                                  gpointer value ) ;   5772                                  gpointer value ) ;
5773 extern gboolean g_hash_table_remove(GHashTable *hash_table , gconstpointer key ) ;   5773 extern gboolean g_hash_table_remove(GHashTable *hash_table , gconstpointer key ) ;
5774 extern void g_hash_table_remove_all(GHashTable *hash_table ) ;   5774 extern void g_hash_table_remove_all(GHashTable *hash_table ) ;
5775 extern gboolean g_hash_table_steal(GHashTable *hash_table , gconstpointer key ) ;   5775 extern gboolean g_hash_table_steal(GHashTable *hash_table , gconstpointer key ) ;
5776 extern void g_hash_table_steal_all(GHashTable *hash_table ) ;   5776 extern void g_hash_table_steal_all(GHashTable *hash_table ) ;
5777 extern gpointer g_hash_table_lookup(GHashTable *hash_table , gconstpointer key ) ;   5777 extern gpointer g_hash_table_lookup(GHashTable *hash_table , gconstpointer key ) ;
5778 extern gboolean g_hash_table_lookup_extended(GHashTable *hash_table ,   5778 extern gboolean g_hash_table_lookup_extended(GHashTable *hash_table ,
5779                                              gconstpointer lookup_key ,   5779                                              gconstpointer lookup_key ,
5780                                              gpointer *orig_key ,   5780                                              gpointer *orig_key ,
5781                                              gpointer *value ) ;   5781                                              gpointer *value ) ;
5782 extern void g_hash_table_foreach(GHashTable *hash_table ,   5782 extern void g_hash_table_foreach(GHashTable *hash_table ,
5783                                  void (*func)(gpointer key , gpointer value ,   5783                                  void (*func)(gpointer key , gpointer value ,
5784                                               gpointer user_data ) ,   5784                                               gpointer user_data ) ,
5785                                  gpointer user_data ) ;   5785                                  gpointer user_data ) ;
5786 extern gpointer g_hash_table_find(GHashTable *hash_table ,   5786 extern gpointer g_hash_table_find(GHashTable *hash_table ,
5787                                   gboolean (*predicate)(gpointer key ,   5787                                   gboolean (*predicate)(gpointer key ,
5788                                                         gpointer value ,   5788                                                         gpointer value ,
5789                                                         gpointer user_data ) ,   5789                                                         gpointer user_data ) ,
5790                                   gpointer user_data ) ;   5790                                   gpointer user_data ) ;
5791 extern guint g_hash_table_foreach_remove(GHashTable *hash_table ,   5791 extern guint g_hash_table_foreach_remove(GHashTable *hash_table ,
5792                                          gboolean (*func)(gpointer key ,   5792                                          gboolean (*func)(gpointer key ,
5793                                                           gpointer value ,   5793                                                           gpointer value ,
5794                                                           gpointer user_data ) ,   5794                                                           gpointer user_data ) ,
5795                                          gpointer user_data ) ;   5795                                          gpointer user_data ) ;
5796 extern guint g_hash_table_foreach_steal(GHashTable *hash_table ,   5796 extern guint g_hash_table_foreach_steal(GHashTable *hash_table ,
5797                                         gboolean (*func)(gpointer key ,   5797                                         gboolean (*func)(gpointer key ,
5798                                                          gpointer value ,   5798                                                          gpointer value ,
5799                                                          gpointer user_data ) ,   5799                                                          gpointer user_data ) ,
5800                                         gpointer user_data ) ;   5800                                         gpointer user_data ) ;
5801 extern guint g_hash_table_size(GHashTable *hash_table ) ;   5801 extern guint g_hash_table_size(GHashTable *hash_table ) ;
5802 extern GList *g_hash_table_get_keys(GHashTable *hash_table ) ;   5802 extern GList *g_hash_table_get_keys(GHashTable *hash_table ) ;
5803 extern GList *g_hash_table_get_values(GHashTable *hash_table ) ;   5803 extern GList *g_hash_table_get_values(GHashTable *hash_table ) ;
5804 extern void g_hash_table_iter_init(GHashTableIter *iter ,   5804 extern void g_hash_table_iter_init(GHashTableIter *iter ,
5805                                    GHashTable *hash_table ) ;   5805                                    GHashTable *hash_table ) ;
5806 extern gboolean g_hash_table_iter_next(GHashTableIter *iter , gpointer *key ,   5806 extern gboolean g_hash_table_iter_next(GHashTableIter *iter , gpointer *key ,
5807                                        gpointer *value ) ;   5807                                        gpointer *value ) ;
5808 extern GHashTable *g_hash_table_iter_get_hash_table(GHashTableIter *iter ) ;   5808 extern GHashTable *g_hash_table_iter_get_hash_table(GHashTableIter *iter ) ;
5809 extern void g_hash_table_iter_remove(GHashTableIter *iter ) ;   5809 extern void g_hash_table_iter_remove(GHashTableIter *iter ) ;
5810 extern void g_hash_table_iter_steal(GHashTableIter *iter ) ;   5810 extern void g_hash_table_iter_steal(GHashTableIter *iter ) ;
5811 extern GHashTable *g_hash_table_ref(GHashTable *hash_table ) ;   5811 extern GHashTable *g_hash_table_ref(GHashTable *hash_table ) ;
5812 extern void g_hash_table_unref(GHashTable *hash_table ) ;   5812 extern void g_hash_table_unref(GHashTable *hash_table ) ;
5813 extern gboolean g_str_equal(gconstpointer v1 , gconstpointer v2 ) ;   5813 extern gboolean g_str_equal(gconstpointer v1 , gconstpointer v2 ) ;
5814 extern guint g_str_hash(gconstpointer v ) ;   5814 extern guint g_str_hash(gconstpointer v ) ;
5815 extern gboolean g_int_equal(gconstpointer v1 , gconstpointer v2 ) ;   5815 extern gboolean g_int_equal(gconstpointer v1 , gconstpointer v2 ) ;
5816 extern guint g_int_hash(gconstpointer v ) ;   5816 extern guint g_int_hash(gconstpointer v ) ;
5817 extern gboolean g_int64_equal(gconstpointer v1 , gconstpointer v2 ) ;   5817 extern gboolean g_int64_equal(gconstpointer v1 , gconstpointer v2 ) ;
5818 extern guint g_int64_hash(gconstpointer v ) ;   5818 extern guint g_int64_hash(gconstpointer v ) ;
5819 extern gboolean g_double_equal(gconstpointer v1 , gconstpointer v2 ) ;   5819 extern gboolean g_double_equal(gconstpointer v1 , gconstpointer v2 ) ;
5820 extern guint g_double_hash(gconstpointer v ) ;   5820 extern guint g_double_hash(gconstpointer v ) ;
5821 extern guint g_direct_hash(gconstpointer v )  __attribute__((__const__)) ;   5821 extern guint g_direct_hash(gconstpointer v )  __attribute__((__const__)) ;
5822 extern gboolean g_direct_equal(gconstpointer v1 , gconstpointer v2 )  __attribute__((__const__)) ;   5822 extern gboolean g_direct_equal(gconstpointer v1 , gconstpointer v2 )  __attribute__((__const__)) ;
5823 extern void g_hook_list_init(GHookList *hook_list , guint hook_size ) ;   5823 extern void g_hook_list_init(GHookList *hook_list , guint hook_size ) ;
5824 extern void g_hook_list_clear(GHookList *hook_list ) ;   5824 extern void g_hook_list_clear(GHookList *hook_list ) ;
5825 extern GHook *g_hook_alloc(GHookList *hook_list ) ;   5825 extern GHook *g_hook_alloc(GHookList *hook_list ) ;
5826 extern void g_hook_free(GHookList *hook_list , GHook *hook ) ;   5826 extern void g_hook_free(GHookList *hook_list , GHook *hook ) ;
5827 extern GHook *g_hook_ref(GHookList *hook_list , GHook *hook ) ;   5827 extern GHook *g_hook_ref(GHookList *hook_list , GHook *hook ) ;
5828 extern void g_hook_unref(GHookList *hook_list , GHook *hook ) ;   5828 extern void g_hook_unref(GHookList *hook_list , GHook *hook ) ;
5829 extern gboolean g_hook_destroy(GHookList *hook_list , gulong hook_id ) ;   5829 extern gboolean g_hook_destroy(GHookList *hook_list , gulong hook_id ) ;
5830 extern void g_hook_destroy_link(GHookList *hook_list , GHook *hook ) ;   5830 extern void g_hook_destroy_link(GHookList *hook_list , GHook *hook ) ;
5831 extern void g_hook_prepend(GHookList *hook_list , GHook *hook ) ;   5831 extern void g_hook_prepend(GHookList *hook_list , GHook *hook ) ;
5832 extern void g_hook_insert_before(GHookList *hook_list , GHook *sibling ,   5832 extern void g_hook_insert_before(GHookList *hook_list , GHook *sibling ,
5833                                  GHook *hook ) ;   5833                                  GHook *hook ) ;
5834 extern void g_hook_insert_sorted(GHookList *hook_list , GHook *hook ,   5834 extern void g_hook_insert_sorted(GHookList *hook_list , GHook *hook ,
5835                                  gint (*func)(GHook *new_hook , GHook *sibling ) ) ;   5835                                  gint (*func)(GHook *new_hook , GHook *sibling ) ) ;
5836 extern GHook *g_hook_get(GHookList *hook_list , gulong hook_id ) ;   5836 extern GHook *g_hook_get(GHookList *hook_list , gulong hook_id ) ;
5837 extern GHook *g_hook_find(GHookList *hook_list , gboolean need_valids ,   5837 extern GHook *g_hook_find(GHookList *hook_list , gboolean need_valids ,
5838                           gboolean (*func)(GHook *hook , gpointer data ) ,   5838                           gboolean (*func)(GHook *hook , gpointer data ) ,
5839                           gpointer data ) ;   5839                           gpointer data ) ;
5840 extern GHook *g_hook_find_data(GHookList *hook_list , gboolean need_valids ,   5840 extern GHook *g_hook_find_data(GHookList *hook_list , gboolean need_valids ,
5841                                gpointer data ) ;   5841                                gpointer data ) ;
5842 extern GHook *g_hook_find_func(GHookList *hook_list , gboolean need_valids ,   5842 extern GHook *g_hook_find_func(GHookList *hook_list , gboolean need_valids ,
5843                                gpointer func ) ;   5843                                gpointer func ) ;
5844 extern GHook *g_hook_find_func_data(GHookList *hook_list ,   5844 extern GHook *g_hook_find_func_data(GHookList *hook_list ,
5845                                     gboolean need_valids , gpointer func ,   5845                                     gboolean need_valids , gpointer func ,
5846                                     gpointer data ) ;   5846                                     gpointer data ) ;
5847 extern GHook *g_hook_first_valid(GHookList *hook_list , gboolean may_be_in_call ) ;   5847 extern GHook *g_hook_first_valid(GHookList *hook_list , gboolean may_be_in_call ) ;
5848 extern GHook *g_hook_next_valid(GHookList *hook_list , GHook *hook ,   5848 extern GHook *g_hook_next_valid(GHookList *hook_list , GHook *hook ,
5849                                 gboolean may_be_in_call ) ;   5849                                 gboolean may_be_in_call ) ;
5850 extern gint g_hook_compare_ids(GHook *new_hook , GHook *sibling ) ;   5850 extern gint g_hook_compare_ids(GHook *new_hook , GHook *sibling ) ;
5851 extern void g_hook_list_invoke(GHookList *hook_list , gboolean may_recurse ) ;   5851 extern void g_hook_list_invoke(GHookList *hook_list , gboolean may_recurse ) ;
5852 extern void g_hook_list_invoke_check(GHookList *hook_list ,   5852 extern void g_hook_list_invoke_check(GHookList *hook_list ,
5853                                      gboolean may_recurse ) ;   5853                                      gboolean may_recurse ) ;
5854 extern void g_hook_list_marshal(GHookList *hook_list , gboolean may_recurse ,   5854 extern void g_hook_list_marshal(GHookList *hook_list , gboolean may_recurse ,
5855                                 void (*marshaller)(GHook *hook ,   5855                                 void (*marshaller)(GHook *hook ,
5856                                                    gpointer marshal_data ) ,   5856                                                    gpointer marshal_data ) ,
5857                                 gpointer marshal_data ) ;   5857                                 gpointer marshal_data ) ;
5858 extern void g_hook_list_marshal_check(GHookList *hook_list ,   5858 extern void g_hook_list_marshal_check(GHookList *hook_list ,
5859                                       gboolean may_recurse ,   5859                                       gboolean may_recurse ,
5860                                       gboolean (*marshaller)(GHook *hook ,   5860                                       gboolean (*marshaller)(GHook *hook ,
5861                                                              gpointer marshal_data ) ,   5861                                                              gpointer marshal_data ) ,
5862                                       gpointer marshal_data ) ;   5862                                       gpointer marshal_data ) ;
5863 extern gboolean g_hostname_is_non_ascii(gchar const   *hostname ) ;   5863 extern gboolean g_hostname_is_non_ascii(gchar const   *hostname ) ;
5864 extern gboolean g_hostname_is_ascii_encoded(gchar const   *hostname ) ;   5864 extern gboolean g_hostname_is_ascii_encoded(gchar const   *hostname ) ;
5865 extern gboolean g_hostname_is_ip_address(gchar const   *hostname ) ;   5865 extern gboolean g_hostname_is_ip_address(gchar const   *hostname ) ;
5866 extern gchar *g_hostname_to_ascii(gchar const   *hostname ) ;   5866 extern gchar *g_hostname_to_ascii(gchar const   *hostname ) ;
5867 extern gchar *g_hostname_to_unicode(gchar const   *hostname ) ;   5867 extern gchar *g_hostname_to_unicode(gchar const   *hostname ) ;
5868 extern gint g_poll(GPollFD *fds , guint nfds , gint timeout ) ;   5868 extern gint g_poll(GPollFD *fds , guint nfds , gint timeout ) ;
5869 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_alloc)(void) ;   5869 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_alloc)(void) ;
5870 extern void g_slist_free(GSList *list ) ;   5870 extern void g_slist_free(GSList *list ) ;
5871 extern void g_slist_free_1(GSList *list ) ;   5871 extern void g_slist_free_1(GSList *list ) ;
5872 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_append)(GSList *list ,   5872 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_append)(GSList *list ,
5873                                                                          gpointer data ) ;   5873                                                                          gpointer data ) ;
5874 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_prepend)(GSList *list ,   5874 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_prepend)(GSList *list ,
5875                                                                           gpointer data ) ;   5875                                                                           gpointer data ) ;
5876 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert)(GSList *list ,   5876 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert)(GSList *list ,
5877                                                                          gpointer data ,   5877                                                                          gpointer data ,
5878                                                                          gint position ) ;   5878                                                                          gint position ) ;
5879 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted)(GSList *list ,   5879 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted)(GSList *list ,
5880                                                                                 gpointer data ,   5880                                                                                 gpointer data ,
5881                                                                                 gint (*func)(gconstpointer a ,   5881                                                                                 gint (*func)(gconstpointer a ,
5882                                                                                              gconstpointer b ) ) ;   5882                                                                                              gconstpointer b ) ) ;
5883 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted_with_data)(GSList *list ,   5883 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_sorted_with_data)(GSList *list ,
5884                                                                                           gpointer data ,   5884                                                                                           gpointer data ,
5885                                                                                           gint (*func)(gconstpointer a ,   5885                                                                                           gint (*func)(gconstpointer a ,
5886                                                                                                        gconstpointer b ,   5886                                                                                                        gconstpointer b ,
5887                                                                                                        gpointer user_data ) ,   5887                                                                                                        gpointer user_data ) ,
5888                                                                                           gpointer user_data ) ;   5888                                                                                           gpointer user_data ) ;
5889 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_before)(GSList *slist ,   5889 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_insert_before)(GSList *slist ,
5890                                                                                 GSList *sibling ,   5890                                                                                 GSList *sibling ,
5891                                                                                 gpointer data ) ;   5891                                                                                 gpointer data ) ;
5892 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_concat)(GSList *list1 ,   5892 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_concat)(GSList *list1 ,
5893                                                                          GSList *list2 ) ;   5893                                                                          GSList *list2 ) ;
5894 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove)(GSList *list ,   5894 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove)(GSList *list ,
5895                                                                          gconstpointer data ) ;   5895                                                                          gconstpointer data ) ;
5896 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_all)(GSList *list ,   5896 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_all)(GSList *list ,
5897                                                                              gconstpointer data ) ;   5897                                                                              gconstpointer data ) ;
5898 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_link)(GSList *list ,   5898 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_remove_link)(GSList *list ,
5899                                                                               GSList *link_ ) ;   5899                                                                               GSList *link_ ) ;
5900 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_delete_link)(GSList *list ,   5900 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_delete_link)(GSList *list ,
5901                                                                               GSList *link_ ) ;   5901                                                                               GSList *link_ ) ;
5902 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_reverse)(GSList *list ) ;   5902 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_reverse)(GSList *list ) ;
5903 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_copy)(GSList *list ) ;   5903 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_copy)(GSList *list ) ;
5904 extern GSList *g_slist_nth(GSList *list , guint n ) ;   5904 extern GSList *g_slist_nth(GSList *list , guint n ) ;
5905 extern GSList *g_slist_find(GSList *list , gconstpointer data ) ;   5905 extern GSList *g_slist_find(GSList *list , gconstpointer data ) ;
5906 extern GSList *g_slist_find_custom(GSList *list , gconstpointer data ,   5906 extern GSList *g_slist_find_custom(GSList *list , gconstpointer data ,
5907                                    gint (*func)(gconstpointer a ,   5907                                    gint (*func)(gconstpointer a ,
5908                                                 gconstpointer b ) ) ;   5908                                                 gconstpointer b ) ) ;
5909 extern gint g_slist_position(GSList *list , GSList *llink ) ;   5909 extern gint g_slist_position(GSList *list , GSList *llink ) ;
5910 extern gint g_slist_index(GSList *list , gconstpointer data ) ;   5910 extern gint g_slist_index(GSList *list , gconstpointer data ) ;
5911 extern GSList *g_slist_last(GSList *list ) ;   5911 extern GSList *g_slist_last(GSList *list ) ;
5912 extern guint g_slist_length(GSList *list ) ;   5912 extern guint g_slist_length(GSList *list ) ;
5913 extern void g_slist_foreach(GSList *list , void (*func)(gpointer data ,   5913 extern void g_slist_foreach(GSList *list , void (*func)(gpointer data ,
5914                                                         gpointer user_data ) ,   5914                                                         gpointer user_data ) ,
5915                             gpointer user_data ) ;   5915                             gpointer user_data ) ;
5916 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort)(GSList *list ,   5916 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort)(GSList *list ,
5917                                                                        gint (*compare_func)(gconstpointer a ,   5917                                                                        gint (*compare_func)(gconstpointer a ,
5918                                                                                             gconstpointer b ) ) ;   5918                                                                                             gconstpointer b ) ) ;
5919 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort_with_data)(GSList *list ,   5919 extern GSList *( __attribute__((__warn_unused_result__)) g_slist_sort_with_data)(GSList *list ,
5920                                                                                  gint (*compare_func)(gconstpointer a ,   5920                                                                                  gint (*compare_func)(gconstpointer a ,
5921                                                                                                       gconstpointer b ,   5921                                                                                                       gconstpointer b ,
5922                                                                                                       gpointer user_data ) ,   5922                                                                                                       gpointer user_data ) ,
5923                                                                                  gpointer user_data ) ;   5923                                                                                  gpointer user_data ) ;
5924 extern gpointer g_slist_nth_data(GSList *list , guint n ) ;   5924 extern gpointer g_slist_nth_data(GSList *list , guint n ) ;
5925 extern void g_slist_push_allocator(gpointer dummy ) ;   5925 extern void g_slist_push_allocator(gpointer dummy ) ;
5926 extern void g_slist_pop_allocator(void) ;   5926 extern void g_slist_pop_allocator(void) ;
5927 extern GMainContext *g_main_context_new(void) ;   5927 extern GMainContext *g_main_context_new(void) ;
5928 extern GMainContext *g_main_context_ref(GMainContext *context ) ;   5928 extern GMainContext *g_main_context_ref(GMainContext *context ) ;
5929 extern void g_main_context_unref(GMainContext *context ) ;   5929 extern void g_main_context_unref(GMainContext *context ) ;
5930 extern GMainContext *g_main_context_default(void) ;   5930 extern GMainContext *g_main_context_default(void) ;
5931 extern gboolean g_main_context_iteration(GMainContext *context ,   5931 extern gboolean g_main_context_iteration(GMainContext *context ,
5932                                          gboolean may_block ) ;   5932                                          gboolean may_block ) ;
5933 extern gboolean g_main_context_pending(GMainContext *context ) ;   5933 extern gboolean g_main_context_pending(GMainContext *context ) ;
5934 extern GSource *g_main_context_find_source_by_id(GMainContext *context ,   5934 extern GSource *g_main_context_find_source_by_id(GMainContext *context ,
5935                                                  guint source_id ) ;   5935                                                  guint source_id ) ;
5936 extern GSource *g_main_context_find_source_by_user_data(GMainContext *context ,   5936 extern GSource *g_main_context_find_source_by_user_data(GMainContext *context ,
5937                                                         gpointer user_data ) ;   5937                                                         gpointer user_data ) ;
5938 extern GSource *g_main_context_find_source_by_funcs_user_data(GMainContext *context ,   5938 extern GSource *g_main_context_find_source_by_funcs_user_data(GMainContext *context ,
5939                                                               GSourceFuncs *funcs ,   5939                                                               GSourceFuncs *funcs ,
5940                                                               gpointer user_data ) ;   5940                                                               gpointer user_data ) ;
5941 extern void g_main_context_wakeup(GMainContext *context ) ;   5941 extern void g_main_context_wakeup(GMainContext *context ) ;
5942 extern gboolean g_main_context_acquire(GMainContext *context ) ;   5942 extern gboolean g_main_context_acquire(GMainContext *context ) ;
5943 extern void g_main_context_release(GMainContext *context ) ;   5943 extern void g_main_context_release(GMainContext *context ) ;
5944 extern gboolean g_main_context_is_owner(GMainContext *context ) ;   5944 extern gboolean g_main_context_is_owner(GMainContext *context ) ;
5945 extern gboolean g_main_context_wait(GMainContext *context , GCond *cond ,   5945 extern gboolean g_main_context_wait(GMainContext *context , GCond *cond ,
5946                                     GMutex *mutex ) ;   5946                                     GMutex *mutex ) ;
5947 extern gboolean g_main_context_prepare(GMainContext *context , gint *priority ) ;   5947 extern gboolean g_main_context_prepare(GMainContext *context , gint *priority ) ;
5948 extern gint g_main_context_query(GMainContext *context , gint max_priority ,   5948 extern gint g_main_context_query(GMainContext *context , gint max_priority ,
5949                                  gint *timeout_ , GPollFD *fds , gint n_fds ) ;   5949                                  gint *timeout_ , GPollFD *fds , gint n_fds ) ;
5950 extern gint g_main_context_check(GMainContext *context , gint max_priority ,   5950 extern gint g_main_context_check(GMainContext *context , gint max_priority ,
5951                                  GPollFD *fds , gint n_fds ) ;   5951                                  GPollFD *fds , gint n_fds ) ;
5952 extern void g_main_context_dispatch(GMainContext *context ) ;   5952 extern void g_main_context_dispatch(GMainContext *context ) ;
5953 extern void g_main_context_set_poll_func(GMainContext *context ,   5953 extern void g_main_context_set_poll_func(GMainContext *context ,
5954                                          gint (*func)(GPollFD *ufds ,   5954                                          gint (*func)(GPollFD *ufds ,
5955                                                       guint nfsd ,   5955                                                       guint nfsd ,
5956                                                       gint timeout_ ) ) ;   5956                                                       gint timeout_ ) ) ;
5957 extern GPollFunc g_main_context_get_poll_func(GMainContext *context ) ;   5957 extern GPollFunc g_main_context_get_poll_func(GMainContext *context ) ;
5958 extern void g_main_context_add_poll(GMainContext *context , GPollFD *fd ,   5958 extern void g_main_context_add_poll(GMainContext *context , GPollFD *fd ,
5959                                     gint priority ) ;   5959                                     gint priority ) ;
5960 extern void g_main_context_remove_poll(GMainContext *context , GPollFD *fd ) ;   5960 extern void g_main_context_remove_poll(GMainContext *context , GPollFD *fd ) ;
5961 extern gint g_main_depth(void) ;   5961 extern gint g_main_depth(void) ;
5962 extern GSource *g_main_current_source(void) ;   5962 extern GSource *g_main_current_source(void) ;
5963 extern void g_main_context_push_thread_default(GMainContext *context ) ;   5963 extern void g_main_context_push_thread_default(GMainContext *context ) ;
5964 extern void g_main_context_pop_thread_default(GMainContext *context ) ;   5964 extern void g_main_context_pop_thread_default(GMainContext *context ) ;
5965 extern GMainContext *g_main_context_get_thread_default(void) ;   5965 extern GMainContext *g_main_context_get_thread_default(void) ;
5966 extern GMainLoop *g_main_loop_new(GMainContext *context , gboolean is_running ) ;   5966 extern GMainLoop *g_main_loop_new(GMainContext *context , gboolean is_running ) ;
5967 extern void g_main_loop_run(GMainLoop *loop ) ;   5967 extern void g_main_loop_run(GMainLoop *loop ) ;
5968 extern void g_main_loop_quit(GMainLoop *loop ) ;   5968 extern void g_main_loop_quit(GMainLoop *loop ) ;
5969 extern GMainLoop *g_main_loop_ref(GMainLoop *loop ) ;   5969 extern GMainLoop *g_main_loop_ref(GMainLoop *loop ) ;
5970 extern void g_main_loop_unref(GMainLoop *loop ) ;   5970 extern void g_main_loop_unref(GMainLoop *loop ) ;
5971 extern gboolean g_main_loop_is_running(GMainLoop *loop ) ;   5971 extern gboolean g_main_loop_is_running(GMainLoop *loop ) ;
5972 extern GMainContext *g_main_loop_get_context(GMainLoop *loop ) ;   5972 extern GMainContext *g_main_loop_get_context(GMainLoop *loop ) ;
5973 extern GSource *g_source_new(GSourceFuncs *source_funcs , guint struct_size ) ;   5973 extern GSource *g_source_new(GSourceFuncs *source_funcs , guint struct_size ) ;
5974 extern GSource *g_source_ref(GSource *source ) ;   5974 extern GSource *g_source_ref(GSource *source ) ;
5975 extern void g_source_unref(GSource *source ) ;   5975 extern void g_source_unref(GSource *source ) ;
5976 extern guint g_source_attach(GSource *source , GMainContext *context ) ;   5976 extern guint g_source_attach(GSource *source , GMainContext *context ) ;
5977 extern void g_source_destroy(GSource *source ) ;   5977 extern void g_source_destroy(GSource *source ) ;
5978 extern void g_source_set_priority(GSource *source , gint priority ) ;   5978 extern void g_source_set_priority(GSource *source , gint priority ) ;
5979 extern gint g_source_get_priority(GSource *source ) ;   5979 extern gint g_source_get_priority(GSource *source ) ;
5980 extern void g_source_set_can_recurse(GSource *source , gboolean can_recurse ) ;   5980 extern void g_source_set_can_recurse(GSource *source , gboolean can_recurse ) ;
5981 extern gboolean g_source_get_can_recurse(GSource *source ) ;   5981 extern gboolean g_source_get_can_recurse(GSource *source ) ;
5982 extern guint g_source_get_id(GSource *source ) ;   5982 extern guint g_source_get_id(GSource *source ) ;
5983 extern GMainContext *g_source_get_context(GSource *source ) ;   5983 extern GMainContext *g_source_get_context(GSource *source ) ;
5984 extern void g_source_set_callback(GSource *source ,   5984 extern void g_source_set_callback(GSource *source ,
5985                                   gboolean (*func)(gpointer data ) ,   5985                                   gboolean (*func)(gpointer data ) ,
5986                                   gpointer data ,   5986                                   gpointer data ,
5987                                   void (*notify)(gpointer data ) ) ;   5987                                   void (*notify)(gpointer data ) ) ;
5988 extern void g_source_set_funcs(GSource *source , GSourceFuncs *funcs ) ;   5988 extern void g_source_set_funcs(GSource *source , GSourceFuncs *funcs ) ;
5989 extern gboolean g_source_is_destroyed(GSource *source ) ;   5989 extern gboolean g_source_is_destroyed(GSource *source ) ;
5990 extern void g_source_set_callback_indirect(GSource *source ,   5990 extern void g_source_set_callback_indirect(GSource *source ,
5991                                            gpointer callback_data ,   5991                                            gpointer callback_data ,
5992                                            GSourceCallbackFuncs *callback_funcs ) ;   5992                                            GSourceCallbackFuncs *callback_funcs ) ;
5993 extern void g_source_add_poll(GSource *source , GPollFD *fd ) ;   5993 extern void g_source_add_poll(GSource *source , GPollFD *fd ) ;
5994 extern void g_source_remove_poll(GSource *source , GPollFD *fd ) ;   5994 extern void g_source_remove_poll(GSource *source , GPollFD *fd ) ;
5995 extern void g_source_get_current_time(GSource *source , GTimeVal *timeval ) ;   5995 extern void g_source_get_current_time(GSource *source , GTimeVal *timeval ) ;
5996 extern GSource *g_idle_source_new(void) ;   5996 extern GSource *g_idle_source_new(void) ;
5997 extern GSource *g_child_watch_source_new(GPid pid ) ;   5997 extern GSource *g_child_watch_source_new(GPid pid ) ;
5998 extern GSource *g_timeout_source_new(guint interval ) ;   5998 extern GSource *g_timeout_source_new(guint interval ) ;
5999 extern GSource *g_timeout_source_new_seconds(guint interval ) ;   5999 extern GSource *g_timeout_source_new_seconds(guint interval ) ;
6000 extern void g_get_current_time(GTimeVal *result ) ;   6000 extern void g_get_current_time(GTimeVal *result ) ;
6001 extern gboolean g_source_remove(guint tag ) ;   6001 extern gboolean g_source_remove(guint tag ) ;
6002 extern gboolean g_source_remove_by_user_data(gpointer user_data ) ;   6002 extern gboolean g_source_remove_by_user_data(gpointer user_data ) ;
6003 extern gboolean g_source_remove_by_funcs_user_data(GSourceFuncs *funcs ,   6003 extern gboolean g_source_remove_by_funcs_user_data(GSourceFuncs *funcs ,
6004                                                    gpointer user_data ) ;   6004                                                    gpointer user_data ) ;
6005 extern guint g_timeout_add_full(gint priority , guint interval ,   6005 extern guint g_timeout_add_full(gint priority , guint interval ,
6006                                 gboolean (*function)(gpointer data ) ,   6006                                 gboolean (*function)(gpointer data ) ,
6007                                 gpointer data , void (*notify)(gpointer data ) ) ;   6007                                 gpointer data , void (*notify)(gpointer data ) ) ;
6008 extern guint g_timeout_add(guint interval ,   6008 extern guint g_timeout_add(guint interval ,
6009                            gboolean (*function)(gpointer data ) , gpointer data ) ;   6009                            gboolean (*function)(gpointer data ) , gpointer data ) ;
6010 extern guint g_timeout_add_seconds_full(gint priority , guint interval ,   6010 extern guint g_timeout_add_seconds_full(gint priority , guint interval ,
6011                                         gboolean (*function)(gpointer data ) ,   6011                                         gboolean (*function)(gpointer data ) ,
6012                                         gpointer data ,   6012                                         gpointer data ,
6013                                         void (*notify)(gpointer data ) ) ;   6013                                         void (*notify)(gpointer data ) ) ;
6014 extern guint g_timeout_add_seconds(guint interval ,   6014 extern guint g_timeout_add_seconds(guint interval ,
6015                                    gboolean (*function)(gpointer data ) ,   6015                                    gboolean (*function)(gpointer data ) ,
6016                                    gpointer data ) ;   6016                                    gpointer data ) ;
6017 extern guint g_child_watch_add_full(gint priority , GPid pid ,   6017 extern guint g_child_watch_add_full(gint priority , GPid pid ,
6018                                     void (*function)(GPid pid , gint status ,   6018                                     void (*function)(GPid pid , gint status ,
6019                                                      gpointer data ) ,   6019                                                      gpointer data ) ,
6020                                     gpointer data ,   6020                                     gpointer data ,
6021                                     void (*notify)(gpointer data ) ) ;   6021                                     void (*notify)(gpointer data ) ) ;
6022 extern guint g_child_watch_add(GPid pid , void (*function)(GPid pid ,   6022 extern guint g_child_watch_add(GPid pid , void (*function)(GPid pid ,
6023                                                            gint status ,   6023                                                            gint status ,
6024                                                            gpointer data ) ,   6024                                                            gpointer data ) ,
6025                                gpointer data ) ;   6025                                gpointer data ) ;
6026 extern guint g_idle_add(gboolean (*function)(gpointer data ) , gpointer data ) ;   6026 extern guint g_idle_add(gboolean (*function)(gpointer data ) , gpointer data ) ;
6027 extern guint g_idle_add_full(gint priority ,   6027 extern guint g_idle_add_full(gint priority ,
6028                              gboolean (*function)(gpointer data ) ,   6028                              gboolean (*function)(gpointer data ) ,
6029                              gpointer data , void (*notify)(gpointer data ) ) ;   6029                              gpointer data , void (*notify)(gpointer data ) ) ;
6030 extern gboolean g_idle_remove_by_data(gpointer data ) ;   6030 extern gboolean g_idle_remove_by_data(gpointer data ) ;
6031 extern GSourceFuncs g_timeout_funcs ;   6031 extern GSourceFuncs g_timeout_funcs ;
6032 extern GSourceFuncs g_child_watch_funcs ;   6032 extern GSourceFuncs g_child_watch_funcs ;
6033 extern GSourceFuncs g_idle_funcs ;   6033 extern GSourceFuncs g_idle_funcs ;
6034 extern gboolean g_get_charset(char const   **charset ) ;   6034 extern gboolean g_get_charset(char const   **charset ) ;
6035 extern gboolean g_unichar_isalnum(gunichar c )  __attribute__((__const__)) ;   6035 extern gboolean g_unichar_isalnum(gunichar c )  __attribute__((__const__)) ;
6036 extern gboolean g_unichar_isalpha(gunichar c )  __attribute__((__const__)) ;   6036 extern gboolean g_unichar_isalpha(gunichar c )  __attribute__((__const__)) ;
6037 extern gboolean g_unichar_iscntrl(gunichar c )  __attribute__((__const__)) ;   6037 extern gboolean g_unichar_iscntrl(gunichar c )  __attribute__((__const__)) ;
6038 extern gboolean g_unichar_isdigit(gunichar c )  __attribute__((__const__)) ;   6038 extern gboolean g_unichar_isdigit(gunichar c )  __attribute__((__const__)) ;
6039 extern gboolean g_unichar_isgraph(gunichar c )  __attribute__((__const__)) ;   6039 extern gboolean g_unichar_isgraph(gunichar c )  __attribute__((__const__)) ;
6040 extern gboolean g_unichar_islower(gunichar c )  __attribute__((__const__)) ;   6040 extern gboolean g_unichar_islower(gunichar c )  __attribute__((__const__)) ;
6041 extern gboolean g_unichar_isprint(gunichar c )  __attribute__((__const__)) ;   6041 extern gboolean g_unichar_isprint(gunichar c )  __attribute__((__const__)) ;
6042 extern gboolean g_unichar_ispunct(gunichar c )  __attribute__((__const__)) ;   6042 extern gboolean g_unichar_ispunct(gunichar c )  __attribute__((__const__)) ;
6043 extern gboolean g_unichar_isspace(gunichar c )  __attribute__((__const__)) ;   6043 extern gboolean g_unichar_isspace(gunichar c )  __attribute__((__const__)) ;
6044 extern gboolean g_unichar_isupper(gunichar c )  __attribute__((__const__)) ;   6044 extern gboolean g_unichar_isupper(gunichar c )  __attribute__((__const__)) ;
6045 extern gboolean g_unichar_isxdigit(gunichar c )  __attribute__((__const__)) ;   6045 extern gboolean g_unichar_isxdigit(gunichar c )  __attribute__((__const__)) ;
6046 extern gboolean g_unichar_istitle(gunichar c )  __attribute__((__const__)) ;   6046 extern gboolean g_unichar_istitle(gunichar c )  __attribute__((__const__)) ;
6047 extern gboolean g_unichar_isdefined(gunichar c )  __attribute__((__const__)) ;   6047 extern gboolean g_unichar_isdefined(gunichar c )  __attribute__((__const__)) ;
6048 extern gboolean g_unichar_iswide(gunichar c )  __attribute__((__const__)) ;   6048 extern gboolean g_unichar_iswide(gunichar c )  __attribute__((__const__)) ;
6049 extern gboolean g_unichar_iswide_cjk(gunichar c )  __attribute__((__const__)) ;   6049 extern gboolean g_unichar_iswide_cjk(gunichar c )  __attribute__((__const__)) ;
6050 extern gboolean g_unichar_iszerowidth(gunichar c )  __attribute__((__const__)) ;   6050 extern gboolean g_unichar_iszerowidth(gunichar c )  __attribute__((__const__)) ;
6051 extern gboolean g_unichar_ismark(gunichar c )  __attribute__((__const__)) ;   6051 extern gboolean g_unichar_ismark(gunichar c )  __attribute__((__const__)) ;
6052 extern gunichar g_unichar_toupper(gunichar c )  __attribute__((__const__)) ;   6052 extern gunichar g_unichar_toupper(gunichar c )  __attribute__((__const__)) ;
6053 extern gunichar g_unichar_tolower(gunichar c )  __attribute__((__const__)) ;   6053 extern gunichar g_unichar_tolower(gunichar c )  __attribute__((__const__)) ;
6054 extern gunichar g_unichar_totitle(gunichar c )  __attribute__((__const__)) ;   6054 extern gunichar g_unichar_totitle(gunichar c )  __attribute__((__const__)) ;
6055 extern gint g_unichar_digit_value(gunichar c )  __attribute__((__const__)) ;   6055 extern gint g_unichar_digit_value(gunichar c )  __attribute__((__const__)) ;
6056 extern gint g_unichar_xdigit_value(gunichar c )  __attribute__((__const__)) ;   6056 extern gint g_unichar_xdigit_value(gunichar c )  __attribute__((__const__)) ;
6057 extern GUnicodeType g_unichar_type(gunichar c )  __attribute__((__const__)) ;   6057 extern GUnicodeType g_unichar_type(gunichar c )  __attribute__((__const__)) ;
6058 extern GUnicodeBreakType g_unichar_break_type(gunichar c )  __attribute__((__const__)) ;   6058 extern GUnicodeBreakType g_unichar_break_type(gunichar c )  __attribute__((__const__)) ;
6059 extern gint g_unichar_combining_class(gunichar uc )  __attribute__((__const__)) ;   6059 extern gint g_unichar_combining_class(gunichar uc )  __attribute__((__const__)) ;
6060 extern void g_unicode_canonical_ordering(gunichar *string , gsize len ) ;   6060 extern void g_unicode_canonical_ordering(gunichar *string , gsize len ) ;
6061 extern gunichar *g_unicode_canonical_decomposition(gunichar ch ,   6061 extern gunichar *g_unicode_canonical_decomposition(gunichar ch ,
6062                                                    gsize *result_len )  __attribute__((__malloc__)) ;   6062                                                    gsize *result_len )  __attribute__((__malloc__)) ;
6063 extern gchar const   * const  g_utf8_skip ;   6063 extern gchar const   * const  g_utf8_skip ;
6064 extern gunichar g_utf8_get_char(gchar const   *p )  __attribute__((__pure__)) ;   6064 extern gunichar g_utf8_get_char(gchar const   *p )  __attribute__((__pure__)) ;
6065 extern gunichar g_utf8_get_char_validated(gchar const   *p , gssize max_len )  __attribute__((__pure__)) ;   6065 extern gunichar g_utf8_get_char_validated(gchar const   *p , gssize max_len )  __attribute__((__pure__)) ;
6066 extern gchar *g_utf8_offset_to_pointer(gchar const   *str , glong offset )  __attribute__((__pure__)) ;   6066 extern gchar *g_utf8_offset_to_pointer(gchar const   *str , glong offset )  __attribute__((__pure__)) ;
6067 extern glong g_utf8_pointer_to_offset(gchar const   *str , gchar const   *pos )  __attribute__((__pure__)) ;   6067 extern glong g_utf8_pointer_to_offset(gchar const   *str , gchar const   *pos )  __attribute__((__pure__)) ;
6068 extern gchar *g_utf8_prev_char(gchar const   *p )  __attribute__((__pure__)) ;   6068 extern gchar *g_utf8_prev_char(gchar const   *p )  __attribute__((__pure__)) ;
6069 extern gchar *g_utf8_find_next_char(gchar const   *p , gchar const   *end )  __attribute__((__pure__)) ;   6069 extern gchar *g_utf8_find_next_char(gchar const   *p , gchar const   *end )  __attribute__((__pure__)) ;
6070 extern gchar *g_utf8_find_prev_char(gchar const   *str , gchar const   *p )  __attribute__((__pure__)) ;   6070 extern gchar *g_utf8_find_prev_char(gchar const   *str , gchar const   *p )  __attribute__((__pure__)) ;
6071 extern glong g_utf8_strlen(gchar const   *p , gssize max )  __attribute__((__pure__)) ;   6071 extern glong g_utf8_strlen(gchar const   *p , gssize max )  __attribute__((__pure__)) ;
6072 extern gchar *g_utf8_strncpy(gchar *dest , gchar const   *src , gsize n ) ;   6072 extern gchar *g_utf8_strncpy(gchar *dest , gchar const   *src , gsize n ) ;
6073 extern gchar *g_utf8_strchr(gchar const   *p , gssize len , gunichar c ) ;   6073 extern gchar *g_utf8_strchr(gchar const   *p , gssize len , gunichar c ) ;
6074 extern gchar *g_utf8_strrchr(gchar const   *p , gssize len , gunichar c ) ;   6074 extern gchar *g_utf8_strrchr(gchar const   *p , gssize len , gunichar c ) ;
6075 extern gchar *g_utf8_strreverse(gchar const   *str , gssize len ) ;   6075 extern gchar *g_utf8_strreverse(gchar const   *str , gssize len ) ;
6076 extern gunichar2 *g_utf8_to_utf16(gchar const   *str , glong len ,   6076 extern gunichar2 *g_utf8_to_utf16(gchar const   *str , glong len ,
6077                                   glong *items_read , glong *items_written ,   6077                                   glong *items_read , glong *items_written ,
6078                                   GError **error )  __attribute__((__malloc__)) ;   6078                                   GError **error )  __attribute__((__malloc__)) ;
6079 extern gunichar *g_utf8_to_ucs4(gchar const   *str , glong len ,   6079 extern gunichar *g_utf8_to_ucs4(gchar const   *str , glong len ,
6080                                 glong *items_read , glong *items_written ,   6080                                 glong *items_read , glong *items_written ,
6081                                 GError **error )  __attribute__((__malloc__)) ;   6081                                 GError **error )  __attribute__((__malloc__)) ;
6082 extern gunichar *g_utf8_to_ucs4_fast(gchar const   *str , glong len ,   6082 extern gunichar *g_utf8_to_ucs4_fast(gchar const   *str , glong len ,
6083                                      glong *items_written )  __attribute__((__malloc__)) ;   6083                                      glong *items_written )  __attribute__((__malloc__)) ;
6084 extern gunichar *g_utf16_to_ucs4(gunichar2 const   *str , glong len ,   6084 extern gunichar *g_utf16_to_ucs4(gunichar2 const   *str , glong len ,
6085                                  glong *items_read , glong *items_written ,   6085                                  glong *items_read , glong *items_written ,
6086                                  GError **error )  __attribute__((__malloc__)) ;   6086                                  GError **error )  __attribute__((__malloc__)) ;
6087 extern gchar *g_utf16_to_utf8(gunichar2 const   *str , glong len ,   6087 extern gchar *g_utf16_to_utf8(gunichar2 const   *str , glong len ,
6088                               glong *items_read , glong *items_written ,   6088                               glong *items_read , glong *items_written ,
6089                               GError **error )  __attribute__((__malloc__)) ;   6089                               GError **error )  __attribute__((__malloc__)) ;
6090 extern gunichar2 *g_ucs4_to_utf16(gunichar const   *str , glong len ,   6090 extern gunichar2 *g_ucs4_to_utf16(gunichar const   *str , glong len ,
6091                                   glong *items_read , glong *items_written ,   6091                                   glong *items_read , glong *items_written ,
6092                                   GError **error )  __attribute__((__malloc__)) ;   6092                                   GError **error )  __attribute__((__malloc__)) ;
6093 extern gchar *g_ucs4_to_utf8(gunichar const   *str , glong len ,   6093 extern gchar *g_ucs4_to_utf8(gunichar const   *str , glong len ,
6094                              glong *items_read , glong *items_written ,   6094                              glong *items_read , glong *items_written ,
6095                              GError **error )  __attribute__((__malloc__)) ;   6095                              GError **error )  __attribute__((__malloc__)) ;
6096 extern gint g_unichar_to_utf8(gunichar c , gchar *outbuf ) ;   6096 extern gint g_unichar_to_utf8(gunichar c , gchar *outbuf ) ;
6097 extern gboolean g_utf8_validate(gchar const   *str , gssize max_len ,   6097 extern gboolean g_utf8_validate(gchar const   *str , gssize max_len ,
6098                                 gchar const   **end ) ;   6098                                 gchar const   **end ) ;
6099 extern gboolean g_unichar_validate(gunichar ch )  __attribute__((__const__)) ;   6099 extern gboolean g_unichar_validate(gunichar ch )  __attribute__((__const__)) ;
6100 extern gchar *g_utf8_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6100 extern gchar *g_utf8_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6101 extern gchar *g_utf8_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6101 extern gchar *g_utf8_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6102 extern gchar *g_utf8_casefold(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6102 extern gchar *g_utf8_casefold(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6103 extern gchar *g_utf8_normalize(gchar const   *str , gssize len ,   6103 extern gchar *g_utf8_normalize(gchar const   *str , gssize len ,
6104                                GNormalizeMode mode )  __attribute__((__malloc__)) ;   6104                                GNormalizeMode mode )  __attribute__((__malloc__)) ;
6105 extern gint g_utf8_collate(gchar const   *str1 , gchar const   *str2 )  __attribute__((__pure__)) ;   6105 extern gint g_utf8_collate(gchar const   *str1 , gchar const   *str2 )  __attribute__((__pure__)) ;
6106 extern gchar *g_utf8_collate_key(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6106 extern gchar *g_utf8_collate_key(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6107 extern gchar *g_utf8_collate_key_for_filename(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6107 extern gchar *g_utf8_collate_key_for_filename(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6108 extern gboolean g_unichar_get_mirror_char(gunichar ch , gunichar *mirrored_ch ) ;   6108 extern gboolean g_unichar_get_mirror_char(gunichar ch , gunichar *mirrored_ch ) ;
6109 extern GUnicodeScript g_unichar_get_script(gunichar ch )  __attribute__((__const__)) ;   6109 extern GUnicodeScript g_unichar_get_script(gunichar ch )  __attribute__((__const__)) ;
6110 extern gchar *_g_utf8_make_valid(gchar const   *name ) ;   6110 extern gchar *_g_utf8_make_valid(gchar const   *name ) ;
6111 extern GStringChunk *g_string_chunk_new(gsize size ) ;   6111 extern GStringChunk *g_string_chunk_new(gsize size ) ;
6112 extern void g_string_chunk_free(GStringChunk *chunk ) ;   6112 extern void g_string_chunk_free(GStringChunk *chunk ) ;
6113 extern void g_string_chunk_clear(GStringChunk *chunk ) ;   6113 extern void g_string_chunk_clear(GStringChunk *chunk ) ;
6114 extern gchar *g_string_chunk_insert(GStringChunk *chunk , gchar const   *string ) ;   6114 extern gchar *g_string_chunk_insert(GStringChunk *chunk , gchar const   *string ) ;
6115 extern gchar *g_string_chunk_insert_len(GStringChunk *chunk ,   6115 extern gchar *g_string_chunk_insert_len(GStringChunk *chunk ,
6116                                         gchar const   *string , gssize len ) ;   6116                                         gchar const   *string , gssize len ) ;
6117 extern gchar *g_string_chunk_insert_const(GStringChunk *chunk ,   6117 extern gchar *g_string_chunk_insert_const(GStringChunk *chunk ,
6118                                           gchar const   *string ) ;   6118                                           gchar const   *string ) ;
6119 extern GString *g_string_new(gchar const   *init ) ;   6119 extern GString *g_string_new(gchar const   *init ) ;
6120 extern GString *g_string_new_len(gchar const   *init , gssize len ) ;   6120 extern GString *g_string_new_len(gchar const   *init , gssize len ) ;
6121 extern GString *g_string_sized_new(gsize dfl_size ) ;   6121 extern GString *g_string_sized_new(gsize dfl_size ) ;
6122 extern gchar *g_string_free(GString *string , gboolean free_segment ) ;   6122 extern gchar *g_string_free(GString *string , gboolean free_segment ) ;
6123 extern gboolean g_string_equal(GString const   *v , GString const   *v2 ) ;   6123 extern gboolean g_string_equal(GString const   *v , GString const   *v2 ) ;
6124 extern guint g_string_hash(GString const   *str ) ;   6124 extern guint g_string_hash(GString const   *str ) ;
6125 extern GString *g_string_assign(GString *string , gchar const   *rval ) ;   6125 extern GString *g_string_assign(GString *string , gchar const   *rval ) ;
6126 extern GString *g_string_truncate(GString *string , gsize len ) ;   6126 extern GString *g_string_truncate(GString *string , gsize len ) ;
6127 extern GString *g_string_set_size(GString *string , gsize len ) ;   6127 extern GString *g_string_set_size(GString *string , gsize len ) ;
6128 extern GString *g_string_insert_len(GString *string , gssize pos ,   6128 extern GString *g_string_insert_len(GString *string , gssize pos ,
6129                                     gchar const   *val , gssize len ) ;   6129                                     gchar const   *val , gssize len ) ;
6130 extern GString *g_string_append(GString *string , gchar const   *val ) ;   6130 extern GString *g_string_append(GString *string , gchar const   *val ) ;
6131 extern GString *g_string_append_len(GString *string , gchar const   *val ,   6131 extern GString *g_string_append_len(GString *string , gchar const   *val ,
6132                                     gssize len ) ;   6132                                     gssize len ) ;
6133 extern GString *g_string_append_c(GString *string , gchar c ) ;   6133 extern GString *g_string_append_c(GString *string , gchar c ) ;
6134 extern GString *g_string_append_unichar(GString *string , gunichar wc ) ;   6134 extern GString *g_string_append_unichar(GString *string , gunichar wc ) ;
6135 extern GString *g_string_prepend(GString *string , gchar const   *val ) ;   6135 extern GString *g_string_prepend(GString *string , gchar const   *val ) ;
6136 extern GString *g_string_prepend_c(GString *string , gchar c ) ;   6136 extern GString *g_string_prepend_c(GString *string , gchar c ) ;
6137 extern GString *g_string_prepend_unichar(GString *string , gunichar wc ) ;   6137 extern GString *g_string_prepend_unichar(GString *string , gunichar wc ) ;
6138 extern GString *g_string_prepend_len(GString *string , gchar const   *val ,   6138 extern GString *g_string_prepend_len(GString *string , gchar const   *val ,
6139                                      gssize len ) ;   6139                                      gssize len ) ;
6140 extern GString *g_string_insert(GString *string , gssize pos ,   6140 extern GString *g_string_insert(GString *string , gssize pos ,
6141                                 gchar const   *val ) ;   6141                                 gchar const   *val ) ;
6142 extern GString *g_string_insert_c(GString *string , gssize pos , gchar c ) ;   6142 extern GString *g_string_insert_c(GString *string , gssize pos , gchar c ) ;
6143 extern GString *g_string_insert_unichar(GString *string , gssize pos ,   6143 extern GString *g_string_insert_unichar(GString *string , gssize pos ,
6144                                         gunichar wc ) ;   6144                                         gunichar wc ) ;
6145 extern GString *g_string_overwrite(GString *string , gsize pos ,   6145 extern GString *g_string_overwrite(GString *string , gsize pos ,
6146                                    gchar const   *val ) ;   6146                                    gchar const   *val ) ;
6147 extern GString *g_string_overwrite_len(GString *string , gsize pos ,   6147 extern GString *g_string_overwrite_len(GString *string , gsize pos ,
6148                                        gchar const   *val , gssize len ) ;   6148                                        gchar const   *val , gssize len ) ;
6149 extern GString *g_string_erase(GString *string , gssize pos , gssize len ) ;   6149 extern GString *g_string_erase(GString *string , gssize pos , gssize len ) ;
6150 extern GString *g_string_ascii_down(GString *string ) ;   6150 extern GString *g_string_ascii_down(GString *string ) ;
6151 extern GString *g_string_ascii_up(GString *string ) ;   6151 extern GString *g_string_ascii_up(GString *string ) ;
6152 extern void g_string_vprintf(GString *string , gchar const   *format ,   6152 extern void g_string_vprintf(GString *string , gchar const   *format ,
6153                              va_list args ) ;   6153                              va_list args ) ;
6154 extern void ( /* format attribute */  g_string_printf)(GString *string ,   6154 extern void ( /* format attribute */  g_string_printf)(GString *string ,
6155                                                        gchar const   *format   6155                                                        gchar const   *format
6156                                                        , ...) ;   6156                                                        , ...) ;
6157 extern void g_string_append_vprintf(GString *string , gchar const   *format ,   6157 extern void g_string_append_vprintf(GString *string , gchar const   *format ,
6158                                     va_list args ) ;   6158                                     va_list args ) ;
6159 extern void ( /* format attribute */  g_string_append_printf)(GString *string ,   6159 extern void ( /* format attribute */  g_string_append_printf)(GString *string ,
6160                                                               gchar const   *format   6160                                                               gchar const   *format
6161                                                               , ...) ;   6161                                                               , ...) ;
6162 extern GString *g_string_append_uri_escaped(GString *string ,   6162 extern GString *g_string_append_uri_escaped(GString *string ,
6163                                             char const   *unescaped ,   6163                                             char const   *unescaped ,
6164                                             char const   *reserved_chars_allowed ,   6164                                             char const   *reserved_chars_allowed ,
6165                                             gboolean allow_utf8 ) ;   6165                                             gboolean allow_utf8 ) ;
6166 __inline static GString *g_string_append_c_inline(GString *gstring , gchar c )   6166 __inline static GString *g_string_append_c_inline(GString *gstring , gchar c )
6167 {   6167 {
6168   gsize tmp ;   6168   gsize tmp ;
6169     6169  
6170   {   6170   {
6171   if (gstring->len + 1U < gstring->allocated_len) {   6171   if (gstring->len + 1U < gstring->allocated_len) {
6172     tmp = gstring->len;   6172     tmp = gstring->len;
6173     (gstring->len) ++;   6173     (gstring->len) ++;
6174     *(gstring->str + tmp) = c;   6174     *(gstring->str + tmp) = c;
6175     *(gstring->str + gstring->len) = (gchar )0;   6175     *(gstring->str + gstring->len) = (gchar )0;
6176   } else {   6176   } else {
6177     g_string_insert_c(gstring, -1, c);   6177     g_string_insert_c(gstring, -1, c);
6178   }   6178   }
6179   return (gstring);   6179   return (gstring);
6180 }   6180 }
6181 }   6181 }
6182 extern GString *g_string_down(GString *string ) ;   6182 extern GString *g_string_down(GString *string ) ;
6183 extern GString *g_string_up(GString *string ) ;   6183 extern GString *g_string_up(GString *string ) ;
6184 extern void g_io_channel_init(GIOChannel *channel ) ;   6184 extern void g_io_channel_init(GIOChannel *channel ) ;
6185 extern GIOChannel *g_io_channel_ref(GIOChannel *channel ) ;   6185 extern GIOChannel *g_io_channel_ref(GIOChannel *channel ) ;
6186 extern void g_io_channel_unref(GIOChannel *channel ) ;   6186 extern void g_io_channel_unref(GIOChannel *channel ) ;
6187 extern GIOError g_io_channel_read(GIOChannel *channel , gchar *buf ,   6187 extern GIOError g_io_channel_read(GIOChannel *channel , gchar *buf ,
6188                                   gsize count , gsize *bytes_read ) ;   6188                                   gsize count , gsize *bytes_read ) ;
6189 extern GIOError g_io_channel_write(GIOChannel *channel , gchar const   *buf ,   6189 extern GIOError g_io_channel_write(GIOChannel *channel , gchar const   *buf ,
6190                                    gsize count , gsize *bytes_written ) ;   6190                                    gsize count , gsize *bytes_written ) ;
6191 extern GIOError g_io_channel_seek(GIOChannel *channel , gint64 offset ,   6191 extern GIOError g_io_channel_seek(GIOChannel *channel , gint64 offset ,
6192                                   GSeekType type ) ;   6192                                   GSeekType type ) ;
6193 extern void g_io_channel_close(GIOChannel *channel ) ;   6193 extern void g_io_channel_close(GIOChannel *channel ) ;
6194 extern GIOStatus g_io_channel_shutdown(GIOChannel *channel , gboolean flush ,   6194 extern GIOStatus g_io_channel_shutdown(GIOChannel *channel , gboolean flush ,
6195                                        GError **err ) ;   6195                                        GError **err ) ;
6196 extern guint g_io_add_watch_full(GIOChannel *channel , gint priority ,   6196 extern guint g_io_add_watch_full(GIOChannel *channel , gint priority ,
6197                                  GIOCondition condition ,   6197                                  GIOCondition condition ,
6198                                  gboolean (*func)(GIOChannel *source ,   6198                                  gboolean (*func)(GIOChannel *source ,
6199                                                   GIOCondition condition ,   6199                                                   GIOCondition condition ,
6200                                                   gpointer data ) ,   6200                                                   gpointer data ) ,
6201                                  gpointer user_data ,   6201                                  gpointer user_data ,
6202                                  void (*notify)(gpointer data ) ) ;   6202                                  void (*notify)(gpointer data ) ) ;
6203 extern GSource *g_io_create_watch(GIOChannel *channel , GIOCondition condition ) ;   6203 extern GSource *g_io_create_watch(GIOChannel *channel , GIOCondition condition ) ;
6204 extern guint g_io_add_watch(GIOChannel *channel , GIOCondition condition ,   6204 extern guint g_io_add_watch(GIOChannel *channel , GIOCondition condition ,
6205                             gboolean (*func)(GIOChannel *source ,   6205                             gboolean (*func)(GIOChannel *source ,
6206                                              GIOCondition condition ,   6206                                              GIOCondition condition ,
6207                                              gpointer data ) ,   6207                                              gpointer data ) ,
6208                             gpointer user_data ) ;   6208                             gpointer user_data ) ;
6209 extern void g_io_channel_set_buffer_size(GIOChannel *channel , gsize size ) ;   6209 extern void g_io_channel_set_buffer_size(GIOChannel *channel , gsize size ) ;
6210 extern gsize g_io_channel_get_buffer_size(GIOChannel *channel ) ;   6210 extern gsize g_io_channel_get_buffer_size(GIOChannel *channel ) ;
6211 extern GIOCondition g_io_channel_get_buffer_condition(GIOChannel *channel ) ;   6211 extern GIOCondition g_io_channel_get_buffer_condition(GIOChannel *channel ) ;
6212 extern GIOStatus g_io_channel_set_flags(GIOChannel *channel , GIOFlags flags ,   6212 extern GIOStatus g_io_channel_set_flags(GIOChannel *channel , GIOFlags flags ,
6213                                         GError **error ) ;   6213                                         GError **error ) ;
6214 extern GIOFlags g_io_channel_get_flags(GIOChannel *channel ) ;   6214 extern GIOFlags g_io_channel_get_flags(GIOChannel *channel ) ;
6215 extern void g_io_channel_set_line_term(GIOChannel *channel ,   6215 extern void g_io_channel_set_line_term(GIOChannel *channel ,
6216                                        gchar const   *line_term , gint length ) ;   6216                                        gchar const   *line_term , gint length ) ;
6217 extern gchar const   *g_io_channel_get_line_term(GIOChannel *channel ,   6217 extern gchar const   *g_io_channel_get_line_term(GIOChannel *channel ,
6218                                                  gint *length ) ;   6218                                                  gint *length ) ;
6219 extern void g_io_channel_set_buffered(GIOChannel *channel , gboolean buffered ) ;   6219 extern void g_io_channel_set_buffered(GIOChannel *channel , gboolean buffered ) ;
6220 extern gboolean g_io_channel_get_buffered(GIOChannel *channel ) ;   6220 extern gboolean g_io_channel_get_buffered(GIOChannel *channel ) ;
6221 extern GIOStatus g_io_channel_set_encoding(GIOChannel *channel ,   6221 extern GIOStatus g_io_channel_set_encoding(GIOChannel *channel ,
6222                                            gchar const   *encoding ,   6222                                            gchar const   *encoding ,
6223                                            GError **error ) ;   6223                                            GError **error ) ;
6224 extern gchar const   *g_io_channel_get_encoding(GIOChannel *channel ) ;   6224 extern gchar const   *g_io_channel_get_encoding(GIOChannel *channel ) ;
6225 extern void g_io_channel_set_close_on_unref(GIOChannel *channel ,   6225 extern void g_io_channel_set_close_on_unref(GIOChannel *channel ,
6226                                             gboolean do_close ) ;   6226                                             gboolean do_close ) ;
6227 extern gboolean g_io_channel_get_close_on_unref(GIOChannel *channel ) ;   6227 extern gboolean g_io_channel_get_close_on_unref(GIOChannel *channel ) ;
6228 extern GIOStatus g_io_channel_flush(GIOChannel *channel , GError **error ) ;   6228 extern GIOStatus g_io_channel_flush(GIOChannel *channel , GError **error ) ;
6229 extern GIOStatus g_io_channel_read_line(GIOChannel *channel ,   6229 extern GIOStatus g_io_channel_read_line(GIOChannel *channel ,
6230                                         gchar **str_return , gsize *length ,   6230                                         gchar **str_return , gsize *length ,
6231                                         gsize *terminator_pos , GError **error ) ;   6231                                         gsize *terminator_pos , GError **error ) ;
6232 extern GIOStatus g_io_channel_read_line_string(GIOChannel *channel ,   6232 extern GIOStatus g_io_channel_read_line_string(GIOChannel *channel ,
6233                                                GString *buffer ,   6233                                                GString *buffer ,
6234                                                gsize *terminator_pos ,   6234                                                gsize *terminator_pos ,
6235                                                GError **error ) ;   6235                                                GError **error ) ;
6236 extern GIOStatus g_io_channel_read_to_end(GIOChannel *channel ,   6236 extern GIOStatus g_io_channel_read_to_end(GIOChannel *channel ,
6237                                           gchar **str_return , gsize *length ,   6237                                           gchar **str_return , gsize *length ,
6238                                           GError **error ) ;   6238                                           GError **error ) ;
6239 extern GIOStatus g_io_channel_read_chars(GIOChannel *channel , gchar *buf ,   6239 extern GIOStatus g_io_channel_read_chars(GIOChannel *channel , gchar *buf ,
6240                                          gsize count , gsize *bytes_read ,   6240                                          gsize count , gsize *bytes_read ,
6241                                          GError **error ) ;   6241                                          GError **error ) ;
6242 extern GIOStatus g_io_channel_read_unichar(GIOChannel *channel ,   6242 extern GIOStatus g_io_channel_read_unichar(GIOChannel *channel ,
6243                                            gunichar *thechar , GError **error ) ;   6243                                            gunichar *thechar , GError **error ) ;
6244 extern GIOStatus g_io_channel_write_chars(GIOChannel *channel ,   6244 extern GIOStatus g_io_channel_write_chars(GIOChannel *channel ,
6245                                           gchar const   *buf , gssize count ,   6245                                           gchar const   *buf , gssize count ,
6246                                           gsize *bytes_written , GError **error ) ;   6246                                           gsize *bytes_written , GError **error ) ;
6247 extern GIOStatus g_io_channel_write_unichar(GIOChannel *channel ,   6247 extern GIOStatus g_io_channel_write_unichar(GIOChannel *channel ,
6248                                             gunichar thechar , GError **error ) ;   6248                                             gunichar thechar , GError **error ) ;
6249 extern GIOStatus g_io_channel_seek_position(GIOChannel *channel ,   6249 extern GIOStatus g_io_channel_seek_position(GIOChannel *channel ,
6250                                             gint64 offset , GSeekType type ,   6250                                             gint64 offset , GSeekType type ,
6251                                             GError **error ) ;   6251                                             GError **error ) ;
6252 extern GIOChannel *g_io_channel_new_file(gchar const   *filename ,   6252 extern GIOChannel *g_io_channel_new_file(gchar const   *filename ,
6253                                          gchar const   *mode , GError **error ) ;   6253                                          gchar const   *mode , GError **error ) ;
6254 extern GQuark g_io_channel_error_quark(void) ;   6254 extern GQuark g_io_channel_error_quark(void) ;
6255 extern GIOChannelError g_io_channel_error_from_errno(gint en ) ;   6255 extern GIOChannelError g_io_channel_error_from_errno(gint en ) ;
6256 extern GIOChannel *g_io_channel_unix_new(int fd ) ;   6256 extern GIOChannel *g_io_channel_unix_new(int fd ) ;
6257 extern gint g_io_channel_unix_get_fd(GIOChannel *channel ) ;   6257 extern gint g_io_channel_unix_get_fd(GIOChannel *channel ) ;
6258 extern GSourceFuncs g_io_watch_funcs ;   6258 extern GSourceFuncs g_io_watch_funcs ;
6259 extern GQuark g_key_file_error_quark(void) ;   6259 extern GQuark g_key_file_error_quark(void) ;
6260 extern GKeyFile *g_key_file_new(void) ;   6260 extern GKeyFile *g_key_file_new(void) ;
6261 extern void g_key_file_free(GKeyFile *key_file ) ;   6261 extern void g_key_file_free(GKeyFile *key_file ) ;
6262 extern void g_key_file_set_list_separator(GKeyFile *key_file , gchar separator ) ;   6262 extern void g_key_file_set_list_separator(GKeyFile *key_file , gchar separator ) ;
6263 extern gboolean g_key_file_load_from_file(GKeyFile *key_file ,   6263 extern gboolean g_key_file_load_from_file(GKeyFile *key_file ,
6264                                           gchar const   *file ,   6264                                           gchar const   *file ,
6265                                           GKeyFileFlags flags , GError **error ) ;   6265                                           GKeyFileFlags flags , GError **error ) ;
6266 extern gboolean g_key_file_load_from_data(GKeyFile *key_file ,   6266 extern gboolean g_key_file_load_from_data(GKeyFile *key_file ,
6267                                           gchar const   *data , gsize length ,   6267                                           gchar const   *data , gsize length ,
6268                                           GKeyFileFlags flags , GError **error ) ;   6268                                           GKeyFileFlags flags , GError **error ) ;
6269 extern gboolean g_key_file_load_from_dirs(GKeyFile *key_file ,   6269 extern gboolean g_key_file_load_from_dirs(GKeyFile *key_file ,
6270                                           gchar const   *file ,   6270                                           gchar const   *file ,
6271                                           gchar const   **search_dirs ,   6271                                           gchar const   **search_dirs ,
6272                                           gchar **full_path ,   6272                                           gchar **full_path ,
6273                                           GKeyFileFlags flags , GError **error ) ;   6273                                           GKeyFileFlags flags , GError **error ) ;
6274 extern gboolean g_key_file_load_from_data_dirs(GKeyFile *key_file ,   6274 extern gboolean g_key_file_load_from_data_dirs(GKeyFile *key_file ,
6275                                                gchar const   *file ,   6275                                                gchar const   *file ,
6276                                                gchar **full_path ,   6276                                                gchar **full_path ,
6277                                                GKeyFileFlags flags ,   6277                                                GKeyFileFlags flags ,
6278                                                GError **error ) ;   6278                                                GError **error ) ;
6279 extern gchar *g_key_file_to_data(GKeyFile *key_file , gsize *length ,   6279 extern gchar *g_key_file_to_data(GKeyFile *key_file , gsize *length ,
6280                                  GError **error )  __attribute__((__malloc__)) ;   6280                                  GError **error )  __attribute__((__malloc__)) ;
6281 extern gchar *g_key_file_get_start_group(GKeyFile *key_file )  __attribute__((__malloc__)) ;   6281 extern gchar *g_key_file_get_start_group(GKeyFile *key_file )  __attribute__((__malloc__)) ;
6282 extern gchar **g_key_file_get_groups(GKeyFile *key_file , gsize *length )  __attribute__((__malloc__)) ;   6282 extern gchar **g_key_file_get_groups(GKeyFile *key_file , gsize *length )  __attribute__((__malloc__)) ;
6283 extern gchar **g_key_file_get_keys(GKeyFile *key_file ,   6283 extern gchar **g_key_file_get_keys(GKeyFile *key_file ,
6284                                    gchar const   *group_name , gsize *length ,   6284                                    gchar const   *group_name , gsize *length ,
6285                                    GError **error )  __attribute__((__malloc__)) ;   6285                                    GError **error )  __attribute__((__malloc__)) ;
6286 extern gboolean g_key_file_has_group(GKeyFile *key_file ,   6286 extern gboolean g_key_file_has_group(GKeyFile *key_file ,
6287                                      gchar const   *group_name ) ;   6287                                      gchar const   *group_name ) ;
6288 extern gboolean g_key_file_has_key(GKeyFile *key_file ,   6288 extern gboolean g_key_file_has_key(GKeyFile *key_file ,
6289                                    gchar const   *group_name ,   6289                                    gchar const   *group_name ,
6290                                    gchar const   *key , GError **error ) ;   6290                                    gchar const   *key , GError **error ) ;
6291 extern gchar *g_key_file_get_value(GKeyFile *key_file ,   6291 extern gchar *g_key_file_get_value(GKeyFile *key_file ,
6292                                    gchar const   *group_name ,   6292                                    gchar const   *group_name ,
6293                                    gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   6293                                    gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
6294 extern void g_key_file_set_value(GKeyFile *key_file ,   6294 extern void g_key_file_set_value(GKeyFile *key_file ,
6295                                  gchar const   *group_name ,   6295                                  gchar const   *group_name ,
6296                                  gchar const   *key , gchar const   *value ) ;   6296                                  gchar const   *key , gchar const   *value ) ;
6297 extern gchar *g_key_file_get_string(GKeyFile *key_file ,   6297 extern gchar *g_key_file_get_string(GKeyFile *key_file ,
6298                                     gchar const   *group_name ,   6298                                     gchar const   *group_name ,
6299                                     gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   6299                                     gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
6300 extern void g_key_file_set_string(GKeyFile *key_file ,   6300 extern void g_key_file_set_string(GKeyFile *key_file ,
6301                                   gchar const   *group_name ,   6301                                   gchar const   *group_name ,
6302                                   gchar const   *key , gchar const   *string ) ;   6302                                   gchar const   *key , gchar const   *string ) ;
6303 extern gchar *g_key_file_get_locale_string(GKeyFile *key_file ,   6303 extern gchar *g_key_file_get_locale_string(GKeyFile *key_file ,
6304                                            gchar const   *group_name ,   6304                                            gchar const   *group_name ,
6305                                            gchar const   *key ,   6305                                            gchar const   *key ,
6306                                            gchar const   *locale ,   6306                                            gchar const   *locale ,
6307                                            GError **error )  __attribute__((__malloc__)) ;   6307                                            GError **error )  __attribute__((__malloc__)) ;
6308 extern void g_key_file_set_locale_string(GKeyFile *key_file ,   6308 extern void g_key_file_set_locale_string(GKeyFile *key_file ,
6309                                          gchar const   *group_name ,   6309                                          gchar const   *group_name ,
6310                                          gchar const   *key ,   6310                                          gchar const   *key ,
6311                                          gchar const   *locale ,   6311                                          gchar const   *locale ,
6312                                          gchar const   *string ) ;   6312                                          gchar const   *string ) ;
6313 extern gboolean g_key_file_get_boolean(GKeyFile *key_file ,   6313 extern gboolean g_key_file_get_boolean(GKeyFile *key_file ,
6314                                        gchar const   *group_name ,   6314                                        gchar const   *group_name ,
6315                                        gchar const   *key , GError **error ) ;   6315                                        gchar const   *key , GError **error ) ;
6316 extern void g_key_file_set_boolean(GKeyFile *key_file ,   6316 extern void g_key_file_set_boolean(GKeyFile *key_file ,
6317                                    gchar const   *group_name ,   6317                                    gchar const   *group_name ,
6318                                    gchar const   *key , gboolean value ) ;   6318                                    gchar const   *key , gboolean value ) ;
6319 extern gint g_key_file_get_integer(GKeyFile *key_file ,   6319 extern gint g_key_file_get_integer(GKeyFile *key_file ,
6320                                    gchar const   *group_name ,   6320                                    gchar const   *group_name ,
6321                                    gchar const   *key , GError **error ) ;   6321                                    gchar const   *key , GError **error ) ;
6322 extern void g_key_file_set_integer(GKeyFile *key_file ,   6322 extern void g_key_file_set_integer(GKeyFile *key_file ,
6323                                    gchar const   *group_name ,   6323                                    gchar const   *group_name ,
6324                                    gchar const   *key , gint value ) ;   6324                                    gchar const   *key , gint value ) ;
6325 extern gdouble g_key_file_get_double(GKeyFile *key_file ,   6325 extern gdouble g_key_file_get_double(GKeyFile *key_file ,
6326                                      gchar const   *group_name ,   6326                                      gchar const   *group_name ,
6327                                      gchar const   *key , GError **error ) ;   6327                                      gchar const   *key , GError **error ) ;
6328 extern void g_key_file_set_double(GKeyFile *key_file ,   6328 extern void g_key_file_set_double(GKeyFile *key_file ,
6329                                   gchar const   *group_name ,   6329                                   gchar const   *group_name ,
6330                                   gchar const   *key , gdouble value ) ;   6330                                   gchar const   *key , gdouble value ) ;
6331 extern gchar **g_key_file_get_string_list(GKeyFile *key_file ,   6331 extern gchar **g_key_file_get_string_list(GKeyFile *key_file ,
6332                                           gchar const   *group_name ,   6332                                           gchar const   *group_name ,
6333                                           gchar const   *key , gsize *length ,   6333                                           gchar const   *key , gsize *length ,
6334                                           GError **error )  __attribute__((__malloc__)) ;   6334                                           GError **error )  __attribute__((__malloc__)) ;
6335 extern void g_key_file_set_string_list(GKeyFile *key_file ,   6335 extern void g_key_file_set_string_list(GKeyFile *key_file ,
6336                                        gchar const   *group_name ,   6336                                        gchar const   *group_name ,
6337                                        gchar const   *key ,   6337                                        gchar const   *key ,
6338                                        gchar const   * const  *list ,   6338                                        gchar const   * const  *list ,
6339                                        gsize length ) ;   6339                                        gsize length ) ;
6340 extern gchar **g_key_file_get_locale_string_list(GKeyFile *key_file ,   6340 extern gchar **g_key_file_get_locale_string_list(GKeyFile *key_file ,
6341                                                  gchar const   *group_name ,   6341                                                  gchar const   *group_name ,
6342                                                  gchar const   *key ,   6342                                                  gchar const   *key ,
6343                                                  gchar const   *locale ,   6343                                                  gchar const   *locale ,
6344                                                  gsize *length , GError **error )  __attribute__((__malloc__)) ;   6344                                                  gsize *length , GError **error )  __attribute__((__malloc__)) ;
6345 extern void g_key_file_set_locale_string_list(GKeyFile *key_file ,   6345 extern void g_key_file_set_locale_string_list(GKeyFile *key_file ,
6346                                               gchar const   *group_name ,   6346                                               gchar const   *group_name ,
6347                                               gchar const   *key ,   6347                                               gchar const   *key ,
6348                                               gchar const   *locale ,   6348                                               gchar const   *locale ,
6349                                               gchar const   * const  *list ,   6349                                               gchar const   * const  *list ,
6350                                               gsize length ) ;   6350                                               gsize length ) ;
6351 extern gboolean *g_key_file_get_boolean_list(GKeyFile *key_file ,   6351 extern gboolean *g_key_file_get_boolean_list(GKeyFile *key_file ,
6352                                              gchar const   *group_name ,   6352                                              gchar const   *group_name ,
6353                                              gchar const   *key ,   6353                                              gchar const   *key ,
6354                                              gsize *length , GError **error )  __attribute__((__malloc__)) ;   6354                                              gsize *length , GError **error )  __attribute__((__malloc__)) ;
6355 extern void g_key_file_set_boolean_list(GKeyFile *key_file ,   6355 extern void g_key_file_set_boolean_list(GKeyFile *key_file ,
6356                                         gchar const   *group_name ,   6356                                         gchar const   *group_name ,
6357                                         gchar const   *key , gboolean *list ,   6357                                         gchar const   *key , gboolean *list ,
6358                                         gsize length ) ;   6358                                         gsize length ) ;
6359 extern gint *g_key_file_get_integer_list(GKeyFile *key_file ,   6359 extern gint *g_key_file_get_integer_list(GKeyFile *key_file ,
6360                                          gchar const   *group_name ,   6360                                          gchar const   *group_name ,
6361                                          gchar const   *key , gsize *length ,   6361                                          gchar const   *key , gsize *length ,
6362                                          GError **error )  __attribute__((__malloc__)) ;   6362                                          GError **error )  __attribute__((__malloc__)) ;
6363 extern void g_key_file_set_double_list(GKeyFile *key_file ,   6363 extern void g_key_file_set_double_list(GKeyFile *key_file ,
6364                                        gchar const   *group_name ,   6364                                        gchar const   *group_name ,
6365                                        gchar const   *key , gdouble *list ,   6365                                        gchar const   *key , gdouble *list ,
6366                                        gsize length ) ;   6366                                        gsize length ) ;
6367 extern gdouble *g_key_file_get_double_list(GKeyFile *key_file ,   6367 extern gdouble *g_key_file_get_double_list(GKeyFile *key_file ,
6368                                            gchar const   *group_name ,   6368                                            gchar const   *group_name ,
6369                                            gchar const   *key , gsize *length ,   6369                                            gchar const   *key , gsize *length ,
6370                                            GError **error )  __attribute__((__malloc__)) ;   6370                                            GError **error )  __attribute__((__malloc__)) ;
6371 extern void g_key_file_set_integer_list(GKeyFile *key_file ,   6371 extern void g_key_file_set_integer_list(GKeyFile *key_file ,
6372                                         gchar const   *group_name ,   6372                                         gchar const   *group_name ,
6373                                         gchar const   *key , gint *list ,   6373                                         gchar const   *key , gint *list ,
6374                                         gsize length ) ;   6374                                         gsize length ) ;
6375 extern gboolean g_key_file_set_comment(GKeyFile *key_file ,   6375 extern gboolean g_key_file_set_comment(GKeyFile *key_file ,
6376                                        gchar const   *group_name ,   6376                                        gchar const   *group_name ,
6377                                        gchar const   *key ,   6377                                        gchar const   *key ,
6378                                        gchar const   *comment , GError **error ) ;   6378                                        gchar const   *comment , GError **error ) ;
6379 extern gchar *g_key_file_get_comment(GKeyFile *key_file ,   6379 extern gchar *g_key_file_get_comment(GKeyFile *key_file ,
6380                                      gchar const   *group_name ,   6380                                      gchar const   *group_name ,
6381                                      gchar const   *key , GError **error )  __attribute__((__malloc__)) ;   6381                                      gchar const   *key , GError **error )  __attribute__((__malloc__)) ;
6382 extern gboolean g_key_file_remove_comment(GKeyFile *key_file ,   6382 extern gboolean g_key_file_remove_comment(GKeyFile *key_file ,
6383                                           gchar const   *group_name ,   6383                                           gchar const   *group_name ,
6384                                           gchar const   *key , GError **error ) ;   6384                                           gchar const   *key , GError **error ) ;
6385 extern gboolean g_key_file_remove_key(GKeyFile *key_file ,   6385 extern gboolean g_key_file_remove_key(GKeyFile *key_file ,
6386                                       gchar const   *group_name ,   6386                                       gchar const   *group_name ,
6387                                       gchar const   *key , GError **error ) ;   6387                                       gchar const   *key , GError **error ) ;
6388 extern gboolean g_key_file_remove_group(GKeyFile *key_file ,   6388 extern gboolean g_key_file_remove_group(GKeyFile *key_file ,
6389                                         gchar const   *group_name ,   6389                                         gchar const   *group_name ,
6390                                         GError **error ) ;   6390                                         GError **error ) ;
6391 extern GMappedFile *g_mapped_file_new(gchar const   *filename ,   6391 extern GMappedFile *g_mapped_file_new(gchar const   *filename ,
6392                                       gboolean writable , GError **error )  __attribute__((__malloc__)) ;   6392                                       gboolean writable , GError **error )  __attribute__((__malloc__)) ;
6393 extern gsize g_mapped_file_get_length(GMappedFile *file ) ;   6393 extern gsize g_mapped_file_get_length(GMappedFile *file ) ;
6394 extern gchar *g_mapped_file_get_contents(GMappedFile *file ) ;   6394 extern gchar *g_mapped_file_get_contents(GMappedFile *file ) ;
6395 extern GMappedFile *g_mapped_file_ref(GMappedFile *file ) ;   6395 extern GMappedFile *g_mapped_file_ref(GMappedFile *file ) ;
6396 extern void g_mapped_file_unref(GMappedFile *file ) ;   6396 extern void g_mapped_file_unref(GMappedFile *file ) ;
6397 extern void g_mapped_file_free(GMappedFile *file ) ;   6397 extern void g_mapped_file_free(GMappedFile *file ) ;
6398 extern GQuark g_markup_error_quark(void) ;   6398 extern GQuark g_markup_error_quark(void) ;
6399 extern GMarkupParseContext *g_markup_parse_context_new(GMarkupParser const   *parser ,   6399 extern GMarkupParseContext *g_markup_parse_context_new(GMarkupParser const   *parser ,
6400                                                        GMarkupParseFlags flags ,   6400                                                        GMarkupParseFlags flags ,
6401                                                        gpointer user_data ,   6401                                                        gpointer user_data ,
6402                                                        void (*user_data_dnotify)(gpointer data ) ) ;   6402                                                        void (*user_data_dnotify)(gpointer data ) ) ;
6403 extern void g_markup_parse_context_free(GMarkupParseContext *context ) ;   6403 extern void g_markup_parse_context_free(GMarkupParseContext *context ) ;
6404 extern gboolean g_markup_parse_context_parse(GMarkupParseContext *context ,   6404 extern gboolean g_markup_parse_context_parse(GMarkupParseContext *context ,
6405                                              gchar const   *text ,   6405                                              gchar const   *text ,
6406                                              gssize text_len , GError **error ) ;   6406                                              gssize text_len , GError **error ) ;
6407 extern void g_markup_parse_context_push(GMarkupParseContext *context ,   6407 extern void g_markup_parse_context_push(GMarkupParseContext *context ,
6408                                         GMarkupParser *parser ,   6408                                         GMarkupParser *parser ,
6409                                         gpointer user_data ) ;   6409                                         gpointer user_data ) ;
6410 extern gpointer g_markup_parse_context_pop(GMarkupParseContext *context ) ;   6410 extern gpointer g_markup_parse_context_pop(GMarkupParseContext *context ) ;
6411 extern gboolean g_markup_parse_context_end_parse(GMarkupParseContext *context ,   6411 extern gboolean g_markup_parse_context_end_parse(GMarkupParseContext *context ,
6412                                                  GError **error ) ;   6412                                                  GError **error ) ;
6413 extern gchar const   *g_markup_parse_context_get_element(GMarkupParseContext *context ) ;   6413 extern gchar const   *g_markup_parse_context_get_element(GMarkupParseContext *context ) ;
6414 extern GSList const   *g_markup_parse_context_get_element_stack(GMarkupParseContext *context ) ;   6414 extern GSList const   *g_markup_parse_context_get_element_stack(GMarkupParseContext *context ) ;
6415 extern void g_markup_parse_context_get_position(GMarkupParseContext *context ,   6415 extern void g_markup_parse_context_get_position(GMarkupParseContext *context ,
6416                                                 gint *line_number ,   6416                                                 gint *line_number ,
6417                                                 gint *char_number ) ;   6417                                                 gint *char_number ) ;
6418 extern gpointer g_markup_parse_context_get_user_data(GMarkupParseContext *context ) ;   6418 extern gpointer g_markup_parse_context_get_user_data(GMarkupParseContext *context ) ;
6419 extern gchar *g_markup_escape_text(gchar const   *text , gssize length ) ;   6419 extern gchar *g_markup_escape_text(gchar const   *text , gssize length ) ;
6420 extern gchar *( /* format attribute */  g_markup_printf_escaped)(char const   *format   6420 extern gchar *( /* format attribute */  g_markup_printf_escaped)(char const   *format
6421                                                                  , ...) ;   6421                                                                  , ...) ;
6422 extern gchar *g_markup_vprintf_escaped(char const   *format , va_list args ) ;   6422 extern gchar *g_markup_vprintf_escaped(char const   *format , va_list args ) ;
6423 extern gboolean g_markup_collect_attributes(gchar const   *element_name ,   6423 extern gboolean g_markup_collect_attributes(gchar const   *element_name ,
6424                                             gchar const   **attribute_names ,   6424                                             gchar const   **attribute_names ,
6425                                             gchar const   **attribute_values ,   6425                                             gchar const   **attribute_values ,
6426                                             GError **error ,   6426                                             GError **error ,
6427                                             GMarkupCollectType first_type ,   6427                                             GMarkupCollectType first_type ,
6428                                             gchar const   *first_attr  , ...) ;   6428                                             gchar const   *first_attr  , ...) ;
6429 extern gsize g_printf_string_upper_bound(gchar const   *format , va_list args ) ;   6429 extern gsize g_printf_string_upper_bound(gchar const   *format , va_list args ) ;
6430 extern guint g_log_set_handler(gchar const   *log_domain ,   6430 extern guint g_log_set_handler(gchar const   *log_domain ,
6431                                GLogLevelFlags log_levels ,   6431                                GLogLevelFlags log_levels ,
6432                                void (*log_func)(gchar const   *log_domain ,   6432                                void (*log_func)(gchar const   *log_domain ,
6433                                                 GLogLevelFlags log_level ,   6433                                                 GLogLevelFlags log_level ,
6434                                                 gchar const   *message ,   6434                                                 gchar const   *message ,
6435                                                 gpointer user_data ) ,   6435                                                 gpointer user_data ) ,
6436                                gpointer user_data ) ;   6436                                gpointer user_data ) ;
6437 extern void g_log_remove_handler(gchar const   *log_domain , guint handler_id ) ;   6437 extern void g_log_remove_handler(gchar const   *log_domain , guint handler_id ) ;
6438 extern void g_log_default_handler(gchar const   *log_domain ,   6438 extern void g_log_default_handler(gchar const   *log_domain ,
6439                                   GLogLevelFlags log_level ,   6439                                   GLogLevelFlags log_level ,
6440                                   gchar const   *message , gpointer unused_data ) ;   6440                                   gchar const   *message , gpointer unused_data ) ;
6441 extern GLogFunc g_log_set_default_handler(void (*log_func)(gchar const   *log_domain ,   6441 extern GLogFunc g_log_set_default_handler(void (*log_func)(gchar const   *log_domain ,
6442                                                            GLogLevelFlags log_level ,   6442                                                            GLogLevelFlags log_level ,
6443                                                            gchar const   *message ,   6443                                                            gchar const   *message ,
6444                                                            gpointer user_data ) ,   6444                                                            gpointer user_data ) ,
6445                                           gpointer user_data ) ;   6445                                           gpointer user_data ) ;
6446 extern void ( /* format attribute */  g_log)(gchar const   *log_domain ,   6446 extern void ( /* format attribute */  g_log)(gchar const   *log_domain ,
6447                                              GLogLevelFlags log_level ,   6447                                              GLogLevelFlags log_level ,
6448                                              gchar const   *format  , ...) ;   6448                                              gchar const   *format  , ...) ;
6449 extern void g_logv(gchar const   *log_domain , GLogLevelFlags log_level ,   6449 extern void g_logv(gchar const   *log_domain , GLogLevelFlags log_level ,
6450                    gchar const   *format , va_list args ) ;   6450                    gchar const   *format , va_list args ) ;
6451 extern GLogLevelFlags g_log_set_fatal_mask(gchar const   *log_domain ,   6451 extern GLogLevelFlags g_log_set_fatal_mask(gchar const   *log_domain ,
6452                                            GLogLevelFlags fatal_mask ) ;   6452                                            GLogLevelFlags fatal_mask ) ;
6453 extern GLogLevelFlags g_log_set_always_fatal(GLogLevelFlags fatal_mask ) ;   6453 extern GLogLevelFlags g_log_set_always_fatal(GLogLevelFlags fatal_mask ) ;
6454 extern void __attribute__((__visibility__("hidden")))  _g_log_fallback_handler(gchar const   *log_domain ,   6454 extern void __attribute__((__visibility__("hidden")))  _g_log_fallback_handler(gchar const   *log_domain ,
6455                                                                                GLogLevelFlags log_level ,   6455                                                                                GLogLevelFlags log_level ,
6456                                                                                gchar const   *message ,   6456                                                                                gchar const   *message ,
6457                                                                                gpointer unused_data ) ;   6457                                                                                gpointer unused_data ) ;
6458 extern void g_return_if_fail_warning(char const   *log_domain ,   6458 extern void g_return_if_fail_warning(char const   *log_domain ,
6459                                      char const   *pretty_function ,   6459                                      char const   *pretty_function ,
6460                                      char const   *expression ) ;   6460                                      char const   *expression ) ;
6461 extern void g_warn_message(char const   *domain , char const   *file ,   6461 extern void g_warn_message(char const   *domain , char const   *file ,
6462                            int line , char const   *func ,   6462                            int line , char const   *func ,
6463                            char const   *warnexpr ) ;   6463                            char const   *warnexpr ) ;
6464 extern  __attribute__((__noreturn__)) void g_assert_warning(char const   *log_domain ,   6464 extern  __attribute__((__noreturn__)) void g_assert_warning(char const   *log_domain ,
6465                                                             char const   *file ,   6465                                                             char const   *file ,
6466                                                             int const   line ,   6466                                                             int const   line ,
6467                                                             char const   *pretty_function ,   6467                                                             char const   *pretty_function ,
6468                                                             char const   *expression ) ;   6468                                                             char const   *expression ) ;
6469 extern void ( /* format attribute */  g_print)(gchar const   *format  , ...) ;   6469 extern void ( /* format attribute */  g_print)(gchar const   *format  , ...) ;
6470 extern GPrintFunc g_set_print_handler(void (*func)(gchar const   *string ) ) ;   6470 extern GPrintFunc g_set_print_handler(void (*func)(gchar const   *string ) ) ;
6471 extern void ( /* format attribute */  g_printerr)(gchar const   *format  , ...) ;   6471 extern void ( /* format attribute */  g_printerr)(gchar const   *format  , ...) ;
6472 extern GPrintFunc g_set_printerr_handler(void (*func)(gchar const   *string ) ) ;   6472 extern GPrintFunc g_set_printerr_handler(void (*func)(gchar const   *string ) ) ;
6473 extern GNode *g_node_new(gpointer data ) ;   6473 extern GNode *g_node_new(gpointer data ) ;
6474 extern void g_node_destroy(GNode *root ) ;   6474 extern void g_node_destroy(GNode *root ) ;
6475 extern void g_node_unlink(GNode *node ) ;   6475 extern void g_node_unlink(GNode *node ) ;
6476 extern GNode *g_node_copy_deep(GNode *node ,   6476 extern GNode *g_node_copy_deep(GNode *node ,
6477                                gpointer (*copy_func)(gconstpointer src ,   6477                                gpointer (*copy_func)(gconstpointer src ,
6478                                                      gpointer data ) ,   6478                                                      gpointer data ) ,
6479                                gpointer data ) ;   6479                                gpointer data ) ;
6480 extern GNode *g_node_copy(GNode *node ) ;   6480 extern GNode *g_node_copy(GNode *node ) ;
6481 extern GNode *g_node_insert(GNode *parent , gint position , GNode *node ) ;   6481 extern GNode *g_node_insert(GNode *parent , gint position , GNode *node ) ;
6482 extern GNode *g_node_insert_before(GNode *parent , GNode *sibling , GNode *node ) ;   6482 extern GNode *g_node_insert_before(GNode *parent , GNode *sibling , GNode *node ) ;
6483 extern GNode *g_node_insert_after(GNode *parent , GNode *sibling , GNode *node ) ;   6483 extern GNode *g_node_insert_after(GNode *parent , GNode *sibling , GNode *node ) ;
6484 extern GNode *g_node_prepend(GNode *parent , GNode *node ) ;   6484 extern GNode *g_node_prepend(GNode *parent , GNode *node ) ;
6485 extern guint g_node_n_nodes(GNode *root , GTraverseFlags flags ) ;   6485 extern guint g_node_n_nodes(GNode *root , GTraverseFlags flags ) ;
6486 extern GNode *g_node_get_root(GNode *node ) ;   6486 extern GNode *g_node_get_root(GNode *node ) ;
6487 extern gboolean g_node_is_ancestor(GNode *node , GNode *descendant ) ;   6487 extern gboolean g_node_is_ancestor(GNode *node , GNode *descendant ) ;
6488 extern guint g_node_depth(GNode *node ) ;   6488 extern guint g_node_depth(GNode *node ) ;
6489 extern GNode *g_node_find(GNode *root , GTraverseType order ,   6489 extern GNode *g_node_find(GNode *root , GTraverseType order ,
6490                           GTraverseFlags flags , gpointer data ) ;   6490                           GTraverseFlags flags , gpointer data ) ;
6491 extern void g_node_traverse(GNode *root , GTraverseType order ,   6491 extern void g_node_traverse(GNode *root , GTraverseType order ,
6492                             GTraverseFlags flags , gint max_depth ,   6492                             GTraverseFlags flags , gint max_depth ,
6493                             gboolean (*func)(GNode *node , gpointer data ) ,   6493                             gboolean (*func)(GNode *node , gpointer data ) ,
6494                             gpointer data ) ;   6494                             gpointer data ) ;
6495 extern guint g_node_max_height(GNode *root ) ;   6495 extern guint g_node_max_height(GNode *root ) ;
6496 extern void g_node_children_foreach(GNode *node , GTraverseFlags flags ,   6496 extern void g_node_children_foreach(GNode *node , GTraverseFlags flags ,
6497                                     void (*func)(GNode *node , gpointer data ) ,   6497                                     void (*func)(GNode *node , gpointer data ) ,
6498                                     gpointer data ) ;   6498                                     gpointer data ) ;
6499 extern void g_node_reverse_children(GNode *node ) ;   6499 extern void g_node_reverse_children(GNode *node ) ;
6500 extern guint g_node_n_children(GNode *node ) ;   6500 extern guint g_node_n_children(GNode *node ) ;
6501 extern GNode *g_node_nth_child(GNode *node , guint n ) ;   6501 extern GNode *g_node_nth_child(GNode *node , guint n ) ;
6502 extern GNode *g_node_last_child(GNode *node ) ;   6502 extern GNode *g_node_last_child(GNode *node ) ;
6503 extern GNode *g_node_find_child(GNode *node , GTraverseFlags flags ,   6503 extern GNode *g_node_find_child(GNode *node , GTraverseFlags flags ,
6504                                 gpointer data ) ;   6504                                 gpointer data ) ;
6505 extern gint g_node_child_position(GNode *node , GNode *child ) ;   6505 extern gint g_node_child_position(GNode *node , GNode *child ) ;
6506 extern gint g_node_child_index(GNode *node , gpointer data ) ;   6506 extern gint g_node_child_index(GNode *node , gpointer data ) ;
6507 extern GNode *g_node_first_sibling(GNode *node ) ;   6507 extern GNode *g_node_first_sibling(GNode *node ) ;
6508 extern GNode *g_node_last_sibling(GNode *node ) ;   6508 extern GNode *g_node_last_sibling(GNode *node ) ;
6509 extern void g_node_push_allocator(gpointer dummy ) ;   6509 extern void g_node_push_allocator(gpointer dummy ) ;
6510 extern void g_node_pop_allocator(void) ;   6510 extern void g_node_pop_allocator(void) ;
6511 extern GQuark g_option_error_quark(void) ;   6511 extern GQuark g_option_error_quark(void) ;
6512 extern GOptionContext *g_option_context_new(gchar const   *parameter_string ) ;   6512 extern GOptionContext *g_option_context_new(gchar const   *parameter_string ) ;
6513 extern void g_option_context_set_summary(GOptionContext *context ,   6513 extern void g_option_context_set_summary(GOptionContext *context ,
6514                                          gchar const   *summary ) ;   6514                                          gchar const   *summary ) ;
6515 extern gchar const   *g_option_context_get_summary(GOptionContext *context ) ;   6515 extern gchar const   *g_option_context_get_summary(GOptionContext *context ) ;
6516 extern void g_option_context_set_description(GOptionContext *context ,   6516 extern void g_option_context_set_description(GOptionContext *context ,
6517                                              gchar const   *description ) ;   6517                                              gchar const   *description ) ;
6518 extern gchar const   *g_option_context_get_description(GOptionContext *context ) ;   6518 extern gchar const   *g_option_context_get_description(GOptionContext *context ) ;
6519 extern void g_option_context_free(GOptionContext *context ) ;   6519 extern void g_option_context_free(GOptionContext *context ) ;
6520 extern void g_option_context_set_help_enabled(GOptionContext *context ,   6520 extern void g_option_context_set_help_enabled(GOptionContext *context ,
6521                                               gboolean help_enabled ) ;   6521                                               gboolean help_enabled ) ;
6522 extern gboolean g_option_context_get_help_enabled(GOptionContext *context ) ;   6522 extern gboolean g_option_context_get_help_enabled(GOptionContext *context ) ;
6523 extern void g_option_context_set_ignore_unknown_options(GOptionContext *context ,   6523 extern void g_option_context_set_ignore_unknown_options(GOptionContext *context ,
6524                                                         gboolean ignore_unknown ) ;   6524                                                         gboolean ignore_unknown ) ;
6525 extern gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context ) ;   6525 extern gboolean g_option_context_get_ignore_unknown_options(GOptionContext *context ) ;
6526 extern void g_option_context_add_main_entries(GOptionContext *context ,   6526 extern void g_option_context_add_main_entries(GOptionContext *context ,
6527                                               GOptionEntry const   *entries ,   6527                                               GOptionEntry const   *entries ,
6528                                               gchar const   *translation_domain ) ;   6528                                               gchar const   *translation_domain ) ;
6529 extern gboolean g_option_context_parse(GOptionContext *context , gint *argc ,   6529 extern gboolean g_option_context_parse(GOptionContext *context , gint *argc ,
6530                                        gchar ***argv , GError **error ) ;   6530                                        gchar ***argv , GError **error ) ;
6531 extern void g_option_context_set_translate_func(GOptionContext *context ,   6531 extern void g_option_context_set_translate_func(GOptionContext *context ,
6532                                                 gchar const   *(*func)(gchar const   *str ,   6532                                                 gchar const   *(*func)(gchar const   *str ,
6533                                                                        gpointer data ) ,   6533                                                                        gpointer data ) ,
6534                                                 gpointer data ,   6534                                                 gpointer data ,
6535                                                 void (*destroy_notify)(gpointer data ) ) ;   6535                                                 void (*destroy_notify)(gpointer data ) ) ;
6536 extern void g_option_context_set_translation_domain(GOptionContext *context ,   6536 extern void g_option_context_set_translation_domain(GOptionContext *context ,
6537                                                     gchar const   *domain ) ;   6537                                                     gchar const   *domain ) ;
6538 extern void g_option_context_add_group(GOptionContext *context ,   6538 extern void g_option_context_add_group(GOptionContext *context ,
6539                                        GOptionGroup *group ) ;   6539                                        GOptionGroup *group ) ;
6540 extern void g_option_context_set_main_group(GOptionContext *context ,   6540 extern void g_option_context_set_main_group(GOptionContext *context ,
6541                                             GOptionGroup *group ) ;   6541                                             GOptionGroup *group ) ;
6542 extern GOptionGroup *g_option_context_get_main_group(GOptionContext *context ) ;   6542 extern GOptionGroup *g_option_context_get_main_group(GOptionContext *context ) ;
6543 extern gchar *g_option_context_get_help(GOptionContext *context ,   6543 extern gchar *g_option_context_get_help(GOptionContext *context ,
6544                                         gboolean main_help ,   6544                                         gboolean main_help ,
6545                                         GOptionGroup *group ) ;   6545                                         GOptionGroup *group ) ;
6546 extern GOptionGroup *g_option_group_new(gchar const   *name ,   6546 extern GOptionGroup *g_option_group_new(gchar const   *name ,
6547                                         gchar const   *description ,   6547                                         gchar const   *description ,
6548                                         gchar const   *help_description ,   6548                                         gchar const   *help_description ,
6549                                         gpointer user_data ,   6549                                         gpointer user_data ,
6550                                         void (*destroy)(gpointer data ) ) ;   6550                                         void (*destroy)(gpointer data ) ) ;
6551 extern void g_option_group_set_parse_hooks(GOptionGroup *group ,   6551 extern void g_option_group_set_parse_hooks(GOptionGroup *group ,
6552                                            gboolean (*pre_parse_func)(GOptionContext *context ,   6552                                            gboolean (*pre_parse_func)(GOptionContext *context ,
6553                                                                       GOptionGroup *group ,   6553                                                                       GOptionGroup *group ,
6554                                                                       gpointer data ,   6554                                                                       gpointer data ,
6555                                                                       GError **error ) ,   6555                                                                       GError **error ) ,
6556                                            gboolean (*post_parse_func)(GOptionContext *context ,   6556                                            gboolean (*post_parse_func)(GOptionContext *context ,
6557                                                                        GOptionGroup *group ,   6557                                                                        GOptionGroup *group ,
6558                                                                        gpointer data ,   6558                                                                        gpointer data ,
6559                                                                        GError **error ) ) ;   6559                                                                        GError **error ) ) ;
6560 extern void g_option_group_set_error_hook(GOptionGroup *group ,   6560 extern void g_option_group_set_error_hook(GOptionGroup *group ,
6561                                           void (*error_func)(GOptionContext *context ,   6561                                           void (*error_func)(GOptionContext *context ,
6562                                                              GOptionGroup *group ,   6562                                                              GOptionGroup *group ,
6563                                                              gpointer data ,   6563                                                              gpointer data ,
6564                                                              GError **error ) ) ;   6564                                                              GError **error ) ) ;
6565 extern void g_option_group_free(GOptionGroup *group ) ;   6565 extern void g_option_group_free(GOptionGroup *group ) ;
6566 extern void g_option_group_add_entries(GOptionGroup *group ,   6566 extern void g_option_group_add_entries(GOptionGroup *group ,
6567                                        GOptionEntry const   *entries ) ;   6567                                        GOptionEntry const   *entries ) ;
6568 extern void g_option_group_set_translate_func(GOptionGroup *group ,   6568 extern void g_option_group_set_translate_func(GOptionGroup *group ,
6569                                               gchar const   *(*func)(gchar const   *str ,   6569                                               gchar const   *(*func)(gchar const   *str ,
6570                                                                      gpointer data ) ,   6570                                                                      gpointer data ) ,
6571                                               gpointer data ,   6571                                               gpointer data ,
6572                                               void (*destroy_notify)(gpointer data ) ) ;   6572                                               void (*destroy_notify)(gpointer data ) ) ;
6573 extern void g_option_group_set_translation_domain(GOptionGroup *group ,   6573 extern void g_option_group_set_translation_domain(GOptionGroup *group ,
6574                                                   gchar const   *domain ) ;   6574                                                   gchar const   *domain ) ;
6575 extern GPatternSpec *g_pattern_spec_new(gchar const   *pattern ) ;   6575 extern GPatternSpec *g_pattern_spec_new(gchar const   *pattern ) ;
6576 extern void g_pattern_spec_free(GPatternSpec *pspec ) ;   6576 extern void g_pattern_spec_free(GPatternSpec *pspec ) ;
6577 extern gboolean g_pattern_spec_equal(GPatternSpec *pspec1 ,   6577 extern gboolean g_pattern_spec_equal(GPatternSpec *pspec1 ,
6578                                      GPatternSpec *pspec2 ) ;   6578                                      GPatternSpec *pspec2 ) ;
6579 extern gboolean g_pattern_match(GPatternSpec *pspec , guint string_length ,   6579 extern gboolean g_pattern_match(GPatternSpec *pspec , guint string_length ,
6580                                 gchar const   *string ,   6580                                 gchar const   *string ,
6581                                 gchar const   *string_reversed ) ;   6581                                 gchar const   *string_reversed ) ;
6582 extern gboolean g_pattern_match_string(GPatternSpec *pspec ,   6582 extern gboolean g_pattern_match_string(GPatternSpec *pspec ,
6583                                        gchar const   *string ) ;   6583                                        gchar const   *string ) ;
6584 extern gboolean g_pattern_match_simple(gchar const   *pattern ,   6584 extern gboolean g_pattern_match_simple(gchar const   *pattern ,
6585                                        gchar const   *string ) ;   6585                                        gchar const   *string ) ;
6586 extern guint g_spaced_primes_closest(guint num )  __attribute__((__const__)) ;   6586 extern guint g_spaced_primes_closest(guint num )  __attribute__((__const__)) ;
6587 extern void g_qsort_with_data(gconstpointer pbase , gint total_elems ,   6587 extern void g_qsort_with_data(gconstpointer pbase , gint total_elems ,
6588                               gsize size ,   6588                               gsize size ,
6589                               gint (*compare_func)(gconstpointer a ,   6589                               gint (*compare_func)(gconstpointer a ,
6590                                                    gconstpointer b ,   6590                                                    gconstpointer b ,
6591                                                    gpointer user_data ) ,   6591                                                    gpointer user_data ) ,
6592                               gpointer user_data ) ;   6592                               gpointer user_data ) ;
6593 extern GQueue *g_queue_new(void) ;   6593 extern GQueue *g_queue_new(void) ;
6594 extern void g_queue_free(GQueue *queue ) ;   6594 extern void g_queue_free(GQueue *queue ) ;
6595 extern void g_queue_init(GQueue *queue ) ;   6595 extern void g_queue_init(GQueue *queue ) ;
6596 extern void g_queue_clear(GQueue *queue ) ;   6596 extern void g_queue_clear(GQueue *queue ) ;
6597 extern gboolean g_queue_is_empty(GQueue *queue ) ;   6597 extern gboolean g_queue_is_empty(GQueue *queue ) ;
6598 extern guint g_queue_get_length(GQueue *queue ) ;   6598 extern guint g_queue_get_length(GQueue *queue ) ;
6599 extern void g_queue_reverse(GQueue *queue ) ;   6599 extern void g_queue_reverse(GQueue *queue ) ;
6600 extern GQueue *g_queue_copy(GQueue *queue ) ;   6600 extern GQueue *g_queue_copy(GQueue *queue ) ;
6601 extern void g_queue_foreach(GQueue *queue , void (*func)(gpointer data ,   6601 extern void g_queue_foreach(GQueue *queue , void (*func)(gpointer data ,
6602                                                          gpointer user_data ) ,   6602                                                          gpointer user_data ) ,
6603                             gpointer user_data ) ;   6603                             gpointer user_data ) ;
6604 extern GList *g_queue_find(GQueue *queue , gconstpointer data ) ;   6604 extern GList *g_queue_find(GQueue *queue , gconstpointer data ) ;
6605 extern GList *g_queue_find_custom(GQueue *queue , gconstpointer data ,   6605 extern GList *g_queue_find_custom(GQueue *queue , gconstpointer data ,
6606                                   gint (*func)(gconstpointer a ,   6606                                   gint (*func)(gconstpointer a ,
6607                                                gconstpointer b ) ) ;   6607                                                gconstpointer b ) ) ;
6608 extern void g_queue_sort(GQueue *queue ,   6608 extern void g_queue_sort(GQueue *queue ,
6609                          gint (*compare_func)(gconstpointer a ,   6609                          gint (*compare_func)(gconstpointer a ,
6610                                               gconstpointer b ,   6610                                               gconstpointer b ,
6611                                               gpointer user_data ) ,   6611                                               gpointer user_data ) ,
6612                          gpointer user_data ) ;   6612                          gpointer user_data ) ;
6613 extern void g_queue_push_head(GQueue *queue , gpointer data ) ;   6613 extern void g_queue_push_head(GQueue *queue , gpointer data ) ;
6614 extern void g_queue_push_tail(GQueue *queue , gpointer data ) ;   6614 extern void g_queue_push_tail(GQueue *queue , gpointer data ) ;
6615 extern void g_queue_push_nth(GQueue *queue , gpointer data , gint n ) ;   6615 extern void g_queue_push_nth(GQueue *queue , gpointer data , gint n ) ;
6616 extern gpointer g_queue_pop_head(GQueue *queue ) ;   6616 extern gpointer g_queue_pop_head(GQueue *queue ) ;
6617 extern gpointer g_queue_pop_tail(GQueue *queue ) ;   6617 extern gpointer g_queue_pop_tail(GQueue *queue ) ;
6618 extern gpointer g_queue_pop_nth(GQueue *queue , guint n ) ;   6618 extern gpointer g_queue_pop_nth(GQueue *queue , guint n ) ;
6619 extern gpointer g_queue_peek_head(GQueue *queue ) ;   6619 extern gpointer g_queue_peek_head(GQueue *queue ) ;
6620 extern gpointer g_queue_peek_tail(GQueue *queue ) ;   6620 extern gpointer g_queue_peek_tail(GQueue *queue ) ;
6621 extern gpointer g_queue_peek_nth(GQueue *queue , guint n ) ;   6621 extern gpointer g_queue_peek_nth(GQueue *queue , guint n ) ;
6622 extern gint g_queue_index(GQueue *queue , gconstpointer data ) ;   6622 extern gint g_queue_index(GQueue *queue , gconstpointer data ) ;
6623 extern void g_queue_remove(GQueue *queue , gconstpointer data ) ;   6623 extern void g_queue_remove(GQueue *queue , gconstpointer data ) ;
6624 extern void g_queue_remove_all(GQueue *queue , gconstpointer data ) ;   6624 extern void g_queue_remove_all(GQueue *queue , gconstpointer data ) ;
6625 extern void g_queue_insert_before(GQueue *queue , GList *sibling ,   6625 extern void g_queue_insert_before(GQueue *queue , GList *sibling ,
6626                                   gpointer data ) ;   6626                                   gpointer data ) ;
6627 extern void g_queue_insert_after(GQueue *queue , GList *sibling , gpointer data ) ;   6627 extern void g_queue_insert_after(GQueue *queue , GList *sibling , gpointer data ) ;
6628 extern void g_queue_insert_sorted(GQueue *queue , gpointer data ,   6628 extern void g_queue_insert_sorted(GQueue *queue , gpointer data ,
6629                                   gint (*func)(gconstpointer a ,   6629                                   gint (*func)(gconstpointer a ,
6630                                                gconstpointer b ,   6630                                                gconstpointer b ,
6631                                                gpointer user_data ) ,   6631                                                gpointer user_data ) ,
6632                                   gpointer user_data ) ;   6632                                   gpointer user_data ) ;
6633 extern void g_queue_push_head_link(GQueue *queue , GList *link_ ) ;   6633 extern void g_queue_push_head_link(GQueue *queue , GList *link_ ) ;
6634 extern void g_queue_push_tail_link(GQueue *queue , GList *link_ ) ;   6634 extern void g_queue_push_tail_link(GQueue *queue , GList *link_ ) ;
6635 extern void g_queue_push_nth_link(GQueue *queue , gint n , GList *link_ ) ;   6635 extern void g_queue_push_nth_link(GQueue *queue , gint n , GList *link_ ) ;
6636 extern GList *g_queue_pop_head_link(GQueue *queue ) ;   6636 extern GList *g_queue_pop_head_link(GQueue *queue ) ;
6637 extern GList *g_queue_pop_tail_link(GQueue *queue ) ;   6637 extern GList *g_queue_pop_tail_link(GQueue *queue ) ;
6638 extern GList *g_queue_pop_nth_link(GQueue *queue , guint n ) ;   6638 extern GList *g_queue_pop_nth_link(GQueue *queue , guint n ) ;
6639 extern GList *g_queue_peek_head_link(GQueue *queue ) ;   6639 extern GList *g_queue_peek_head_link(GQueue *queue ) ;
6640 extern GList *g_queue_peek_tail_link(GQueue *queue ) ;   6640 extern GList *g_queue_peek_tail_link(GQueue *queue ) ;
6641 extern GList *g_queue_peek_nth_link(GQueue *queue , guint n ) ;   6641 extern GList *g_queue_peek_nth_link(GQueue *queue , guint n ) ;
6642 extern gint g_queue_link_index(GQueue *queue , GList *link_ ) ;   6642 extern gint g_queue_link_index(GQueue *queue , GList *link_ ) ;
6643 extern void g_queue_unlink(GQueue *queue , GList *link_ ) ;   6643 extern void g_queue_unlink(GQueue *queue , GList *link_ ) ;
6644 extern void g_queue_delete_link(GQueue *queue , GList *link_ ) ;   6644 extern void g_queue_delete_link(GQueue *queue , GList *link_ ) ;
6645 extern GRand *g_rand_new_with_seed(guint32 seed ) ;   6645 extern GRand *g_rand_new_with_seed(guint32 seed ) ;
6646 extern GRand *g_rand_new_with_seed_array(guint32 const   *seed ,   6646 extern GRand *g_rand_new_with_seed_array(guint32 const   *seed ,
6647                                          guint seed_length ) ;   6647                                          guint seed_length ) ;
6648 extern GRand *g_rand_new(void) ;   6648 extern GRand *g_rand_new(void) ;
6649 extern void g_rand_free(GRand *rand_ ) ;   6649 extern void g_rand_free(GRand *rand_ ) ;
6650 extern GRand *g_rand_copy(GRand *rand_ ) ;   6650 extern GRand *g_rand_copy(GRand *rand_ ) ;
6651 extern void g_rand_set_seed(GRand *rand_ , guint32 seed ) ;   6651 extern void g_rand_set_seed(GRand *rand_ , guint32 seed ) ;
6652 extern void g_rand_set_seed_array(GRand *rand_ , guint32 const   *seed ,   6652 extern void g_rand_set_seed_array(GRand *rand_ , guint32 const   *seed ,
6653                                   guint seed_length ) ;   6653                                   guint seed_length ) ;
6654 extern guint32 g_rand_int(GRand *rand_ ) ;   6654 extern guint32 g_rand_int(GRand *rand_ ) ;
6655 extern gint32 g_rand_int_range(GRand *rand_ , gint32 begin , gint32 end ) ;   6655 extern gint32 g_rand_int_range(GRand *rand_ , gint32 begin , gint32 end ) ;
6656 extern gdouble g_rand_double(GRand *rand_ ) ;   6656 extern gdouble g_rand_double(GRand *rand_ ) ;
6657 extern gdouble g_rand_double_range(GRand *rand_ , gdouble begin , gdouble end ) ;   6657 extern gdouble g_rand_double_range(GRand *rand_ , gdouble begin , gdouble end ) ;
6658 extern void g_random_set_seed(guint32 seed ) ;   6658 extern void g_random_set_seed(guint32 seed ) ;
6659 extern guint32 g_random_int(void) ;   6659 extern guint32 g_random_int(void) ;
6660 extern gint32 g_random_int_range(gint32 begin , gint32 end ) ;   6660 extern gint32 g_random_int_range(gint32 begin , gint32 end ) ;
6661 extern gdouble g_random_double(void) ;   6661 extern gdouble g_random_double(void) ;
6662 extern gdouble g_random_double_range(gdouble begin , gdouble end ) ;   6662 extern gdouble g_random_double_range(gdouble begin , gdouble end ) ;
6663 extern GRelation *g_relation_new(gint fields ) ;   6663 extern GRelation *g_relation_new(gint fields ) ;
6664 extern void g_relation_destroy(GRelation *relation ) ;   6664 extern void g_relation_destroy(GRelation *relation ) ;
6665 extern void g_relation_index(GRelation *relation , gint field ,   6665 extern void g_relation_index(GRelation *relation , gint field ,
6666                              guint (*hash_func)(gconstpointer key ) ,   6666                              guint (*hash_func)(gconstpointer key ) ,
6667                              gboolean (*key_equal_func)(gconstpointer a ,   6667                              gboolean (*key_equal_func)(gconstpointer a ,
6668                                                         gconstpointer b ) ) ;   6668                                                         gconstpointer b ) ) ;
6669 extern void g_relation_insert(GRelation *relation  , ...) ;   6669 extern void g_relation_insert(GRelation *relation  , ...) ;
6670 extern gint g_relation_delete(GRelation *relation , gconstpointer key ,   6670 extern gint g_relation_delete(GRelation *relation , gconstpointer key ,
6671                               gint field ) ;   6671                               gint field ) ;
6672 extern GTuples *g_relation_select(GRelation *relation , gconstpointer key ,   6672 extern GTuples *g_relation_select(GRelation *relation , gconstpointer key ,
6673                                   gint field ) ;   6673                                   gint field ) ;
6674 extern gint g_relation_count(GRelation *relation , gconstpointer key ,   6674 extern gint g_relation_count(GRelation *relation , gconstpointer key ,
6675                              gint field ) ;   6675                              gint field ) ;
6676 extern gboolean g_relation_exists(GRelation *relation  , ...) ;   6676 extern gboolean g_relation_exists(GRelation *relation  , ...) ;
6677 extern void g_relation_print(GRelation *relation ) ;   6677 extern void g_relation_print(GRelation *relation ) ;
6678 extern void g_tuples_destroy(GTuples *tuples ) ;   6678 extern void g_tuples_destroy(GTuples *tuples ) ;
6679 extern gpointer g_tuples_index(GTuples *tuples , gint index_ , gint field ) ;   6679 extern gpointer g_tuples_index(GTuples *tuples , gint index_ , gint field ) ;
6680 extern GQuark g_regex_error_quark(void) ;   6680 extern GQuark g_regex_error_quark(void) ;
6681 extern GRegex *g_regex_new(gchar const   *pattern ,   6681 extern GRegex *g_regex_new(gchar const   *pattern ,
6682                            GRegexCompileFlags compile_options ,   6682                            GRegexCompileFlags compile_options ,
6683                            GRegexMatchFlags match_options , GError **error ) ;   6683                            GRegexMatchFlags match_options , GError **error ) ;
6684 extern GRegex *g_regex_ref(GRegex *regex ) ;   6684 extern GRegex *g_regex_ref(GRegex *regex ) ;
6685 extern void g_regex_unref(GRegex *regex ) ;   6685 extern void g_regex_unref(GRegex *regex ) ;
6686 extern gchar const   *g_regex_get_pattern(GRegex const   *regex ) ;   6686 extern gchar const   *g_regex_get_pattern(GRegex const   *regex ) ;
6687 extern gint g_regex_get_max_backref(GRegex const   *regex ) ;   6687 extern gint g_regex_get_max_backref(GRegex const   *regex ) ;
6688 extern gint g_regex_get_capture_count(GRegex const   *regex ) ;   6688 extern gint g_regex_get_capture_count(GRegex const   *regex ) ;
6689 extern gint g_regex_get_string_number(GRegex const   *regex ,   6689 extern gint g_regex_get_string_number(GRegex const   *regex ,
6690                                       gchar const   *name ) ;   6690                                       gchar const   *name ) ;
6691 extern gchar *g_regex_escape_string(gchar const   *string , gint length ) ;   6691 extern gchar *g_regex_escape_string(gchar const   *string , gint length ) ;
6692 extern gboolean g_regex_match_simple(gchar const   *pattern ,   6692 extern gboolean g_regex_match_simple(gchar const   *pattern ,
6693                                      gchar const   *string ,   6693                                      gchar const   *string ,
6694                                      GRegexCompileFlags compile_options ,   6694                                      GRegexCompileFlags compile_options ,
6695                                      GRegexMatchFlags match_options ) ;   6695                                      GRegexMatchFlags match_options ) ;
6696 extern gboolean g_regex_match(GRegex const   *regex , gchar const   *string ,   6696 extern gboolean g_regex_match(GRegex const   *regex , gchar const   *string ,
6697                               GRegexMatchFlags match_options ,   6697                               GRegexMatchFlags match_options ,
6698                               GMatchInfo **match_info ) ;   6698                               GMatchInfo **match_info ) ;
6699 extern gboolean g_regex_match_full(GRegex const   *regex ,   6699 extern gboolean g_regex_match_full(GRegex const   *regex ,
6700                                    gchar const   *string , gssize string_len ,   6700                                    gchar const   *string , gssize string_len ,
6701                                    gint start_position ,   6701                                    gint start_position ,
6702                                    GRegexMatchFlags match_options ,   6702                                    GRegexMatchFlags match_options ,
6703                                    GMatchInfo **match_info , GError **error ) ;   6703                                    GMatchInfo **match_info , GError **error ) ;
6704 extern gboolean g_regex_match_all(GRegex const   *regex ,   6704 extern gboolean g_regex_match_all(GRegex const   *regex ,
6705                                   gchar const   *string ,   6705                                   gchar const   *string ,
6706                                   GRegexMatchFlags match_options ,   6706                                   GRegexMatchFlags match_options ,
6707                                   GMatchInfo **match_info ) ;   6707                                   GMatchInfo **match_info ) ;
6708 extern gboolean g_regex_match_all_full(GRegex const   *regex ,   6708 extern gboolean g_regex_match_all_full(GRegex const   *regex ,
6709                                        gchar const   *string ,   6709                                        gchar const   *string ,
6710                                        gssize string_len , gint start_position ,   6710                                        gssize string_len , gint start_position ,
6711                                        GRegexMatchFlags match_options ,   6711                                        GRegexMatchFlags match_options ,
6712                                        GMatchInfo **match_info , GError **error ) ;   6712                                        GMatchInfo **match_info , GError **error ) ;
6713 extern gchar **g_regex_split_simple(gchar const   *pattern ,   6713 extern gchar **g_regex_split_simple(gchar const   *pattern ,
6714                                     gchar const   *string ,   6714                                     gchar const   *string ,
6715                                     GRegexCompileFlags compile_options ,   6715                                     GRegexCompileFlags compile_options ,
6716                                     GRegexMatchFlags match_options ) ;   6716                                     GRegexMatchFlags match_options ) ;
6717 extern gchar **g_regex_split(GRegex const   *regex , gchar const   *string ,   6717 extern gchar **g_regex_split(GRegex const   *regex , gchar const   *string ,
6718                              GRegexMatchFlags match_options ) ;   6718                              GRegexMatchFlags match_options ) ;
6719 extern gchar **g_regex_split_full(GRegex const   *regex ,   6719 extern gchar **g_regex_split_full(GRegex const   *regex ,
6720                                   gchar const   *string , gssize string_len ,   6720                                   gchar const   *string , gssize string_len ,
6721                                   gint start_position ,   6721                                   gint start_position ,
6722                                   GRegexMatchFlags match_options ,   6722                                   GRegexMatchFlags match_options ,
6723                                   gint max_tokens , GError **error ) ;   6723                                   gint max_tokens , GError **error ) ;
6724 extern gchar *g_regex_replace(GRegex const   *regex , gchar const   *string ,   6724 extern gchar *g_regex_replace(GRegex const   *regex , gchar const   *string ,
6725                               gssize string_len , gint start_position ,   6725                               gssize string_len , gint start_position ,
6726                               gchar const   *replacement ,   6726                               gchar const   *replacement ,
6727                               GRegexMatchFlags match_options , GError **error ) ;   6727                               GRegexMatchFlags match_options , GError **error ) ;
6728 extern gchar *g_regex_replace_literal(GRegex const   *regex ,   6728 extern gchar *g_regex_replace_literal(GRegex const   *regex ,
6729                                       gchar const   *string ,   6729                                       gchar const   *string ,
6730                                       gssize string_len , gint start_position ,   6730                                       gssize string_len , gint start_position ,
6731                                       gchar const   *replacement ,   6731                                       gchar const   *replacement ,
6732                                       GRegexMatchFlags match_options ,   6732                                       GRegexMatchFlags match_options ,
6733                                       GError **error ) ;   6733                                       GError **error ) ;
6734 extern gchar *g_regex_replace_eval(GRegex const   *regex ,   6734 extern gchar *g_regex_replace_eval(GRegex const   *regex ,
6735                                    gchar const   *string , gssize string_len ,   6735                                    gchar const   *string , gssize string_len ,
6736                                    gint start_position ,   6736                                    gint start_position ,
6737                                    GRegexMatchFlags match_options ,   6737                                    GRegexMatchFlags match_options ,
6738                                    gboolean (*eval)(GMatchInfo const   *match_info ,   6738                                    gboolean (*eval)(GMatchInfo const   *match_info ,
6739                                                     GString *result ,   6739                                                     GString *result ,
6740                                                     gpointer user_data ) ,   6740                                                     gpointer user_data ) ,
6741                                    gpointer user_data , GError **error ) ;   6741                                    gpointer user_data , GError **error ) ;
6742 extern gboolean g_regex_check_replacement(gchar const   *replacement ,   6742 extern gboolean g_regex_check_replacement(gchar const   *replacement ,
6743                                           gboolean *has_references ,   6743                                           gboolean *has_references ,
6744                                           GError **error ) ;   6744                                           GError **error ) ;
6745 extern GRegex *g_match_info_get_regex(GMatchInfo const   *match_info ) ;   6745 extern GRegex *g_match_info_get_regex(GMatchInfo const   *match_info ) ;
6746 extern gchar const   *g_match_info_get_string(GMatchInfo const   *match_info ) ;   6746 extern gchar const   *g_match_info_get_string(GMatchInfo const   *match_info ) ;
6747 extern void g_match_info_free(GMatchInfo *match_info ) ;   6747 extern void g_match_info_free(GMatchInfo *match_info ) ;
6748 extern gboolean g_match_info_next(GMatchInfo *match_info , GError **error ) ;   6748 extern gboolean g_match_info_next(GMatchInfo *match_info , GError **error ) ;
6749 extern gboolean g_match_info_matches(GMatchInfo const   *match_info ) ;   6749 extern gboolean g_match_info_matches(GMatchInfo const   *match_info ) ;
6750 extern gint g_match_info_get_match_count(GMatchInfo const   *match_info ) ;   6750 extern gint g_match_info_get_match_count(GMatchInfo const   *match_info ) ;
6751 extern gboolean g_match_info_is_partial_match(GMatchInfo const   *match_info ) ;   6751 extern gboolean g_match_info_is_partial_match(GMatchInfo const   *match_info ) ;
6752 extern gchar *g_match_info_expand_references(GMatchInfo const   *match_info ,   6752 extern gchar *g_match_info_expand_references(GMatchInfo const   *match_info ,
6753                                              gchar const   *string_to_expand ,   6753                                              gchar const   *string_to_expand ,
6754                                              GError **error ) ;   6754                                              GError **error ) ;
6755 extern gchar *g_match_info_fetch(GMatchInfo const   *match_info ,   6755 extern gchar *g_match_info_fetch(GMatchInfo const   *match_info ,
6756                                  gint match_num ) ;   6756                                  gint match_num ) ;
6757 extern gboolean g_match_info_fetch_pos(GMatchInfo const   *match_info ,   6757 extern gboolean g_match_info_fetch_pos(GMatchInfo const   *match_info ,
6758                                        gint match_num , gint *start_pos ,   6758                                        gint match_num , gint *start_pos ,
6759                                        gint *end_pos ) ;   6759                                        gint *end_pos ) ;
6760 extern gchar *g_match_info_fetch_named(GMatchInfo const   *match_info ,   6760 extern gchar *g_match_info_fetch_named(GMatchInfo const   *match_info ,
6761                                        gchar const   *name ) ;   6761                                        gchar const   *name ) ;
6762 extern gboolean g_match_info_fetch_named_pos(GMatchInfo const   *match_info ,   6762 extern gboolean g_match_info_fetch_named_pos(GMatchInfo const   *match_info ,
6763                                              gchar const   *name ,   6763                                              gchar const   *name ,
6764                                              gint *start_pos , gint *end_pos ) ;   6764                                              gint *start_pos , gint *end_pos ) ;
6765 extern gchar **g_match_info_fetch_all(GMatchInfo const   *match_info ) ;   6765 extern gchar **g_match_info_fetch_all(GMatchInfo const   *match_info ) ;
6766 extern GScanner *g_scanner_new(GScannerConfig const   *config_templ ) ;   6766 extern GScanner *g_scanner_new(GScannerConfig const   *config_templ ) ;
6767 extern void g_scanner_destroy(GScanner *scanner ) ;   6767 extern void g_scanner_destroy(GScanner *scanner ) ;
6768 extern void g_scanner_input_file(GScanner *scanner , gint input_fd ) ;   6768 extern void g_scanner_input_file(GScanner *scanner , gint input_fd ) ;
6769 extern void g_scanner_sync_file_offset(GScanner *scanner ) ;   6769 extern void g_scanner_sync_file_offset(GScanner *scanner ) ;
6770 extern void g_scanner_input_text(GScanner *scanner , gchar const   *text ,   6770 extern void g_scanner_input_text(GScanner *scanner , gchar const   *text ,
6771                                  guint text_len ) ;   6771                                  guint text_len ) ;
6772 extern GTokenType g_scanner_get_next_token(GScanner *scanner ) ;   6772 extern GTokenType g_scanner_get_next_token(GScanner *scanner ) ;
6773 extern GTokenType g_scanner_peek_next_token(GScanner *scanner ) ;   6773 extern GTokenType g_scanner_peek_next_token(GScanner *scanner ) ;
6774 extern GTokenType g_scanner_cur_token(GScanner *scanner ) ;   6774 extern GTokenType g_scanner_cur_token(GScanner *scanner ) ;
6775 extern GTokenValue g_scanner_cur_value(GScanner *scanner ) ;   6775 extern GTokenValue g_scanner_cur_value(GScanner *scanner ) ;
6776 extern guint g_scanner_cur_line(GScanner *scanner ) ;   6776 extern guint g_scanner_cur_line(GScanner *scanner ) ;
6777 extern guint g_scanner_cur_position(GScanner *scanner ) ;   6777 extern guint g_scanner_cur_position(GScanner *scanner ) ;
6778 extern gboolean g_scanner_eof(GScanner *scanner ) ;   6778 extern gboolean g_scanner_eof(GScanner *scanner ) ;
6779 extern guint g_scanner_set_scope(GScanner *scanner , guint scope_id ) ;   6779 extern guint g_scanner_set_scope(GScanner *scanner , guint scope_id ) ;
6780 extern void g_scanner_scope_add_symbol(GScanner *scanner , guint scope_id ,   6780 extern void g_scanner_scope_add_symbol(GScanner *scanner , guint scope_id ,
6781                                        gchar const   *symbol , gpointer value ) ;   6781                                        gchar const   *symbol , gpointer value ) ;
6782 extern void g_scanner_scope_remove_symbol(GScanner *scanner , guint scope_id ,   6782 extern void g_scanner_scope_remove_symbol(GScanner *scanner , guint scope_id ,
6783                                           gchar const   *symbol ) ;   6783                                           gchar const   *symbol ) ;
6784 extern gpointer g_scanner_scope_lookup_symbol(GScanner *scanner ,   6784 extern gpointer g_scanner_scope_lookup_symbol(GScanner *scanner ,
6785                                               guint scope_id ,   6785                                               guint scope_id ,
6786                                               gchar const   *symbol ) ;   6786                                               gchar const   *symbol ) ;
6787 extern void g_scanner_scope_foreach_symbol(GScanner *scanner , guint scope_id ,   6787 extern void g_scanner_scope_foreach_symbol(GScanner *scanner , guint scope_id ,
6788                                            void (*func)(gpointer key ,   6788                                            void (*func)(gpointer key ,
6789                                                         gpointer value ,   6789                                                         gpointer value ,
6790                                                         gpointer user_data ) ,   6790                                                         gpointer user_data ) ,
6791                                            gpointer user_data ) ;   6791                                            gpointer user_data ) ;
6792 extern gpointer g_scanner_lookup_symbol(GScanner *scanner ,   6792 extern gpointer g_scanner_lookup_symbol(GScanner *scanner ,
6793                                         gchar const   *symbol ) ;   6793                                         gchar const   *symbol ) ;
6794 extern void g_scanner_unexp_token(GScanner *scanner ,   6794 extern void g_scanner_unexp_token(GScanner *scanner ,
6795                                   GTokenType expected_token ,   6795                                   GTokenType expected_token ,
6796                                   gchar const   *identifier_spec ,   6796                                   gchar const   *identifier_spec ,
6797                                   gchar const   *symbol_spec ,   6797                                   gchar const   *symbol_spec ,
6798                                   gchar const   *symbol_name ,   6798                                   gchar const   *symbol_name ,
6799                                   gchar const   *message , gint is_error ) ;   6799                                   gchar const   *message , gint is_error ) ;
6800 extern void ( /* format attribute */  g_scanner_error)(GScanner *scanner ,   6800 extern void ( /* format attribute */  g_scanner_error)(GScanner *scanner ,
6801                                                        gchar const   *format   6801                                                        gchar const   *format
6802                                                        , ...) ;   6802                                                        , ...) ;
6803 extern void ( /* format attribute */  g_scanner_warn)(GScanner *scanner ,   6803 extern void ( /* format attribute */  g_scanner_warn)(GScanner *scanner ,
6804                                                       gchar const   *format   6804                                                       gchar const   *format
6805                                                       , ...) ;   6805                                                       , ...) ;
6806 extern GSequence *g_sequence_new(void (*data_destroy)(gpointer data ) ) ;   6806 extern GSequence *g_sequence_new(void (*data_destroy)(gpointer data ) ) ;
6807 extern void g_sequence_free(GSequence *seq ) ;   6807 extern void g_sequence_free(GSequence *seq ) ;
6808 extern gint g_sequence_get_length(GSequence *seq ) ;   6808 extern gint g_sequence_get_length(GSequence *seq ) ;
6809 extern void g_sequence_foreach(GSequence *seq ,   6809 extern void g_sequence_foreach(GSequence *seq ,
6810                                void (*func)(gpointer data , gpointer user_data ) ,   6810                                void (*func)(gpointer data , gpointer user_data ) ,
6811                                gpointer user_data ) ;   6811                                gpointer user_data ) ;
6812 extern void g_sequence_foreach_range(GSequenceIter *begin , GSequenceIter *end ,   6812 extern void g_sequence_foreach_range(GSequenceIter *begin , GSequenceIter *end ,
6813                                      void (*func)(gpointer data ,   6813                                      void (*func)(gpointer data ,
6814                                                   gpointer user_data ) ,   6814                                                   gpointer user_data ) ,
6815                                      gpointer user_data ) ;   6815                                      gpointer user_data ) ;
6816 extern void g_sequence_sort(GSequence *seq ,   6816 extern void g_sequence_sort(GSequence *seq ,
6817                             gint (*cmp_func)(gconstpointer a ,   6817                             gint (*cmp_func)(gconstpointer a ,
6818                                              gconstpointer b ,   6818                                              gconstpointer b ,
6819                                              gpointer user_data ) ,   6819                                              gpointer user_data ) ,
6820                             gpointer cmp_data ) ;   6820                             gpointer cmp_data ) ;
6821 extern void g_sequence_sort_iter(GSequence *seq ,   6821 extern void g_sequence_sort_iter(GSequence *seq ,
6822                                  gint (*cmp_func)(GSequenceIter *a ,   6822                                  gint (*cmp_func)(GSequenceIter *a ,
6823                                                   GSequenceIter *b ,   6823                                                   GSequenceIter *b ,
6824                                                   gpointer data ) ,   6824                                                   gpointer data ) ,
6825                                  gpointer cmp_data ) ;   6825                                  gpointer cmp_data ) ;
6826 extern GSequenceIter *g_sequence_get_begin_iter(GSequence *seq ) ;   6826 extern GSequenceIter *g_sequence_get_begin_iter(GSequence *seq ) ;
6827 extern GSequenceIter *g_sequence_get_end_iter(GSequence *seq ) ;   6827 extern GSequenceIter *g_sequence_get_end_iter(GSequence *seq ) ;
6828 extern GSequenceIter *g_sequence_get_iter_at_pos(GSequence *seq , gint pos ) ;   6828 extern GSequenceIter *g_sequence_get_iter_at_pos(GSequence *seq , gint pos ) ;
6829 extern GSequenceIter *g_sequence_append(GSequence *seq , gpointer data ) ;   6829 extern GSequenceIter *g_sequence_append(GSequence *seq , gpointer data ) ;
6830 extern GSequenceIter *g_sequence_prepend(GSequence *seq , gpointer data ) ;   6830 extern GSequenceIter *g_sequence_prepend(GSequence *seq , gpointer data ) ;
6831 extern GSequenceIter *g_sequence_insert_before(GSequenceIter *iter ,   6831 extern GSequenceIter *g_sequence_insert_before(GSequenceIter *iter ,
6832                                                gpointer data ) ;   6832                                                gpointer data ) ;
6833 extern void g_sequence_move(GSequenceIter *src , GSequenceIter *dest ) ;   6833 extern void g_sequence_move(GSequenceIter *src , GSequenceIter *dest ) ;
6834 extern void g_sequence_swap(GSequenceIter *a , GSequenceIter *b ) ;   6834 extern void g_sequence_swap(GSequenceIter *a , GSequenceIter *b ) ;
6835 extern GSequenceIter *g_sequence_insert_sorted(GSequence *seq , gpointer data ,   6835 extern GSequenceIter *g_sequence_insert_sorted(GSequence *seq , gpointer data ,
6836                                                gint (*cmp_func)(gconstpointer a ,   6836                                                gint (*cmp_func)(gconstpointer a ,
6837                                                                 gconstpointer b ,   6837                                                                 gconstpointer b ,
6838                                                                 gpointer user_data ) ,   6838                                                                 gpointer user_data ) ,
6839                                                gpointer cmp_data ) ;   6839                                                gpointer cmp_data ) ;
6840 extern GSequenceIter *g_sequence_insert_sorted_iter(GSequence *seq ,   6840 extern GSequenceIter *g_sequence_insert_sorted_iter(GSequence *seq ,
6841                                                     gpointer data ,   6841                                                     gpointer data ,
6842                                                     gint (*iter_cmp)(GSequenceIter *a ,   6842                                                     gint (*iter_cmp)(GSequenceIter *a ,
6843                                                                      GSequenceIter *b ,   6843                                                                      GSequenceIter *b ,
6844                                                                      gpointer data ) ,   6844                                                                      gpointer data ) ,
6845                                                     gpointer cmp_data ) ;   6845                                                     gpointer cmp_data ) ;
6846 extern void g_sequence_sort_changed(GSequenceIter *iter ,   6846 extern void g_sequence_sort_changed(GSequenceIter *iter ,
6847                                     gint (*cmp_func)(gconstpointer a ,   6847                                     gint (*cmp_func)(gconstpointer a ,
6848                                                      gconstpointer b ,   6848                                                      gconstpointer b ,
6849                                                      gpointer user_data ) ,   6849                                                      gpointer user_data ) ,
6850                                     gpointer cmp_data ) ;   6850                                     gpointer cmp_data ) ;
6851 extern void g_sequence_sort_changed_iter(GSequenceIter *iter ,   6851 extern void g_sequence_sort_changed_iter(GSequenceIter *iter ,
6852                                          gint (*iter_cmp)(GSequenceIter *a ,   6852                                          gint (*iter_cmp)(GSequenceIter *a ,
6853                                                           GSequenceIter *b ,   6853                                                           GSequenceIter *b ,
6854                                                           gpointer data ) ,   6854                                                           gpointer data ) ,
6855                                          gpointer cmp_data ) ;   6855                                          gpointer cmp_data ) ;
6856 extern void g_sequence_remove(GSequenceIter *iter ) ;   6856 extern void g_sequence_remove(GSequenceIter *iter ) ;
6857 extern void g_sequence_remove_range(GSequenceIter *begin , GSequenceIter *end ) ;   6857 extern void g_sequence_remove_range(GSequenceIter *begin , GSequenceIter *end ) ;
6858 extern void g_sequence_move_range(GSequenceIter *dest , GSequenceIter *begin ,   6858 extern void g_sequence_move_range(GSequenceIter *dest , GSequenceIter *begin ,
6859                                   GSequenceIter *end ) ;   6859                                   GSequenceIter *end ) ;
6860 extern GSequenceIter *g_sequence_search(GSequence *seq , gpointer data ,   6860 extern GSequenceIter *g_sequence_search(GSequence *seq , gpointer data ,
6861                                         gint (*cmp_func)(gconstpointer a ,   6861                                         gint (*cmp_func)(gconstpointer a ,
6862                                                          gconstpointer b ,   6862                                                          gconstpointer b ,
6863                                                          gpointer user_data ) ,   6863                                                          gpointer user_data ) ,
6864                                         gpointer cmp_data ) ;   6864                                         gpointer cmp_data ) ;
6865 extern GSequenceIter *g_sequence_search_iter(GSequence *seq , gpointer data ,   6865 extern GSequenceIter *g_sequence_search_iter(GSequence *seq , gpointer data ,
6866                                              gint (*iter_cmp)(GSequenceIter *a ,   6866                                              gint (*iter_cmp)(GSequenceIter *a ,
6867                                                               GSequenceIter *b ,   6867                                                               GSequenceIter *b ,
6868                                                               gpointer data ) ,   6868                                                               gpointer data ) ,
6869                                              gpointer cmp_data ) ;   6869                                              gpointer cmp_data ) ;
6870 extern gpointer g_sequence_get(GSequenceIter *iter ) ;   6870 extern gpointer g_sequence_get(GSequenceIter *iter ) ;
6871 extern void g_sequence_set(GSequenceIter *iter , gpointer data ) ;   6871 extern void g_sequence_set(GSequenceIter *iter , gpointer data ) ;
6872 extern gboolean g_sequence_iter_is_begin(GSequenceIter *iter ) ;   6872 extern gboolean g_sequence_iter_is_begin(GSequenceIter *iter ) ;
6873 extern gboolean g_sequence_iter_is_end(GSequenceIter *iter ) ;   6873 extern gboolean g_sequence_iter_is_end(GSequenceIter *iter ) ;
6874 extern GSequenceIter *g_sequence_iter_next(GSequenceIter *iter ) ;   6874 extern GSequenceIter *g_sequence_iter_next(GSequenceIter *iter ) ;
6875 extern GSequenceIter *g_sequence_iter_prev(GSequenceIter *iter ) ;   6875 extern GSequenceIter *g_sequence_iter_prev(GSequenceIter *iter ) ;
6876 extern gint g_sequence_iter_get_position(GSequenceIter *iter ) ;   6876 extern gint g_sequence_iter_get_position(GSequenceIter *iter ) ;
6877 extern GSequenceIter *g_sequence_iter_move(GSequenceIter *iter , gint delta ) ;   6877 extern GSequenceIter *g_sequence_iter_move(GSequenceIter *iter , gint delta ) ;
6878 extern GSequence *g_sequence_iter_get_sequence(GSequenceIter *iter ) ;   6878 extern GSequence *g_sequence_iter_get_sequence(GSequenceIter *iter ) ;
6879 extern gint g_sequence_iter_compare(GSequenceIter *a , GSequenceIter *b ) ;   6879 extern gint g_sequence_iter_compare(GSequenceIter *a , GSequenceIter *b ) ;
6880 extern GSequenceIter *g_sequence_range_get_midpoint(GSequenceIter *begin ,   6880 extern GSequenceIter *g_sequence_range_get_midpoint(GSequenceIter *begin ,
6881                                                     GSequenceIter *end ) ;   6881                                                     GSequenceIter *end ) ;
6882 extern GQuark g_shell_error_quark(void) ;   6882 extern GQuark g_shell_error_quark(void) ;
6883 extern gchar *g_shell_quote(gchar const   *unquoted_string ) ;   6883 extern gchar *g_shell_quote(gchar const   *unquoted_string ) ;
6884 extern gchar *g_shell_unquote(gchar const   *quoted_string , GError **error ) ;   6884 extern gchar *g_shell_unquote(gchar const   *quoted_string , GError **error ) ;
6885 extern gboolean g_shell_parse_argv(gchar const   *command_line , gint *argcp ,   6885 extern gboolean g_shell_parse_argv(gchar const   *command_line , gint *argcp ,
6886                                    gchar ***argvp , GError **error ) ;   6886                                    gchar ***argvp , GError **error ) ;
6887 extern GQuark g_spawn_error_quark(void) ;   6887 extern GQuark g_spawn_error_quark(void) ;
6888 extern gboolean g_spawn_async(gchar const   *working_directory , gchar **argv ,   6888 extern gboolean g_spawn_async(gchar const   *working_directory , gchar **argv ,
6889                               gchar **envp , GSpawnFlags flags ,   6889                               gchar **envp , GSpawnFlags flags ,
6890                               void (*child_setup)(gpointer user_data ) ,   6890                               void (*child_setup)(gpointer user_data ) ,
6891                               gpointer user_data , GPid *child_pid ,   6891                               gpointer user_data , GPid *child_pid ,
6892                               GError **error ) ;   6892                               GError **error ) ;
6893 extern gboolean g_spawn_async_with_pipes(gchar const   *working_directory ,   6893 extern gboolean g_spawn_async_with_pipes(gchar const   *working_directory ,
6894                                          gchar **argv , gchar **envp ,   6894                                          gchar **argv , gchar **envp ,
6895                                          GSpawnFlags flags ,   6895                                          GSpawnFlags flags ,
6896                                          void (*child_setup)(gpointer user_data ) ,   6896                                          void (*child_setup)(gpointer user_data ) ,
6897                                          gpointer user_data , GPid *child_pid ,   6897                                          gpointer user_data , GPid *child_pid ,
6898                                          gint *standard_input ,   6898                                          gint *standard_input ,
6899                                          gint *standard_output ,   6899                                          gint *standard_output ,
6900                                          gint *standard_error , GError **error ) ;   6900                                          gint *standard_error , GError **error ) ;
6901 extern gboolean g_spawn_sync(gchar const   *working_directory , gchar **argv ,   6901 extern gboolean g_spawn_sync(gchar const   *working_directory , gchar **argv ,
6902                              gchar **envp , GSpawnFlags flags ,   6902                              gchar **envp , GSpawnFlags flags ,
6903                              void (*child_setup)(gpointer user_data ) ,   6903                              void (*child_setup)(gpointer user_data ) ,
6904                              gpointer user_data , gchar **standard_output ,   6904                              gpointer user_data , gchar **standard_output ,
6905                              gchar **standard_error , gint *exit_status ,   6905                              gchar **standard_error , gint *exit_status ,
6906                              GError **error ) ;   6906                              GError **error ) ;
6907 extern gboolean g_spawn_command_line_sync(gchar const   *command_line ,   6907 extern gboolean g_spawn_command_line_sync(gchar const   *command_line ,
6908                                           gchar **standard_output ,   6908                                           gchar **standard_output ,
6909                                           gchar **standard_error ,   6909                                           gchar **standard_error ,
6910                                           gint *exit_status , GError **error ) ;   6910                                           gint *exit_status , GError **error ) ;
6911 extern gboolean g_spawn_command_line_async(gchar const   *command_line ,   6911 extern gboolean g_spawn_command_line_async(gchar const   *command_line ,
6912                                            GError **error ) ;   6912                                            GError **error ) ;
6913 extern void g_spawn_close_pid(GPid pid ) ;   6913 extern void g_spawn_close_pid(GPid pid ) ;
6914 extern guint16 const   * const  g_ascii_table ;   6914 extern guint16 const   * const  g_ascii_table ;
6915 extern gchar g_ascii_tolower(gchar c )  __attribute__((__const__)) ;   6915 extern gchar g_ascii_tolower(gchar c )  __attribute__((__const__)) ;
6916 extern gchar g_ascii_toupper(gchar c )  __attribute__((__const__)) ;   6916 extern gchar g_ascii_toupper(gchar c )  __attribute__((__const__)) ;
6917 extern gint g_ascii_digit_value(gchar c )  __attribute__((__const__)) ;   6917 extern gint g_ascii_digit_value(gchar c )  __attribute__((__const__)) ;
6918 extern gint g_ascii_xdigit_value(gchar c )  __attribute__((__const__)) ;   6918 extern gint g_ascii_xdigit_value(gchar c )  __attribute__((__const__)) ;
6919 extern gchar *g_strdelimit(gchar *string , gchar const   *delimiters ,   6919 extern gchar *g_strdelimit(gchar *string , gchar const   *delimiters ,
6920                            gchar new_delimiter ) ;   6920                            gchar new_delimiter ) ;
6921 extern gchar *g_strcanon(gchar *string , gchar const   *valid_chars ,   6921 extern gchar *g_strcanon(gchar *string , gchar const   *valid_chars ,
6922                          gchar substitutor ) ;   6922                          gchar substitutor ) ;
6923 extern gchar const   *g_strerror(gint errnum )  __attribute__((__const__)) ;   6923 extern gchar const   *g_strerror(gint errnum )  __attribute__((__const__)) ;
6924 extern gchar const   *g_strsignal(gint signum )  __attribute__((__const__)) ;   6924 extern gchar const   *g_strsignal(gint signum )  __attribute__((__const__)) ;
6925 extern gchar *g_strreverse(gchar *string ) ;   6925 extern gchar *g_strreverse(gchar *string ) ;
6926 extern gsize g_strlcpy(gchar *dest , gchar const   *src , gsize dest_size ) ;   6926 extern gsize g_strlcpy(gchar *dest , gchar const   *src , gsize dest_size ) ;
6927 extern gsize g_strlcat(gchar *dest , gchar const   *src , gsize dest_size ) ;   6927 extern gsize g_strlcat(gchar *dest , gchar const   *src , gsize dest_size ) ;
6928 extern gchar *g_strstr_len(gchar const   *haystack , gssize haystack_len ,   6928 extern gchar *g_strstr_len(gchar const   *haystack , gssize haystack_len ,
6929                            gchar const   *needle ) ;   6929                            gchar const   *needle ) ;
6930 extern gchar *g_strrstr(gchar const   *haystack , gchar const   *needle ) ;   6930 extern gchar *g_strrstr(gchar const   *haystack , gchar const   *needle ) ;
6931 extern gchar *g_strrstr_len(gchar const   *haystack , gssize haystack_len ,   6931 extern gchar *g_strrstr_len(gchar const   *haystack , gssize haystack_len ,
6932                             gchar const   *needle ) ;   6932                             gchar const   *needle ) ;
6933 extern gboolean g_str_has_suffix(gchar const   *str , gchar const   *suffix ) ;   6933 extern gboolean g_str_has_suffix(gchar const   *str , gchar const   *suffix ) ;
6934 extern gboolean g_str_has_prefix(gchar const   *str , gchar const   *prefix ) ;   6934 extern gboolean g_str_has_prefix(gchar const   *str , gchar const   *prefix ) ;
6935 extern gdouble g_strtod(gchar const   *nptr , gchar **endptr ) ;   6935 extern gdouble g_strtod(gchar const   *nptr , gchar **endptr ) ;
6936 extern gdouble g_ascii_strtod(gchar const   *nptr , gchar **endptr ) ;   6936 extern gdouble g_ascii_strtod(gchar const   *nptr , gchar **endptr ) ;
6937 extern guint64 g_ascii_strtoull(gchar const   *nptr , gchar **endptr ,   6937 extern guint64 g_ascii_strtoull(gchar const   *nptr , gchar **endptr ,
6938                                 guint base ) ;   6938                                 guint base ) ;
6939 extern gint64 g_ascii_strtoll(gchar const   *nptr , gchar **endptr , guint base ) ;   6939 extern gint64 g_ascii_strtoll(gchar const   *nptr , gchar **endptr , guint base ) ;
6940 extern gchar *g_ascii_dtostr(gchar *buffer , gint buf_len , gdouble d ) ;   6940 extern gchar *g_ascii_dtostr(gchar *buffer , gint buf_len , gdouble d ) ;
6941 extern gchar *g_ascii_formatd(gchar *buffer , gint buf_len ,   6941 extern gchar *g_ascii_formatd(gchar *buffer , gint buf_len ,
6942                               gchar const   *format , gdouble d ) ;   6942                               gchar const   *format , gdouble d ) ;
6943 extern gchar *g_strchug(gchar *string ) ;   6943 extern gchar *g_strchug(gchar *string ) ;
6944 extern gchar *g_strchomp(gchar *string ) ;   6944 extern gchar *g_strchomp(gchar *string ) ;
6945 extern gint g_ascii_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;   6945 extern gint g_ascii_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;
6946 extern gint g_ascii_strncasecmp(gchar const   *s1 , gchar const   *s2 , gsize n ) ;   6946 extern gint g_ascii_strncasecmp(gchar const   *s1 , gchar const   *s2 , gsize n ) ;
6947 extern gchar *g_ascii_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6947 extern gchar *g_ascii_strdown(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6948 extern gchar *g_ascii_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;   6948 extern gchar *g_ascii_strup(gchar const   *str , gssize len )  __attribute__((__malloc__)) ;
6949 extern gint g_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;   6949 extern gint g_strcasecmp(gchar const   *s1 , gchar const   *s2 ) ;
6950 extern gint g_strncasecmp(gchar const   *s1 , gchar const   *s2 , guint n ) ;   6950 extern gint g_strncasecmp(gchar const   *s1 , gchar const   *s2 , guint n ) ;
6951 extern gchar *g_strdown(gchar *string ) ;   6951 extern gchar *g_strdown(gchar *string ) ;
6952 extern gchar *g_strup(gchar *string ) ;   6952 extern gchar *g_strup(gchar *string ) ;
6953 extern gchar *g_strdup(gchar const   *str )  __attribute__((__malloc__)) ;   6953 extern gchar *g_strdup(gchar const   *str )  __attribute__((__malloc__)) ;
6954 extern gchar *( /* format attribute */  g_strdup_printf)(gchar const   *format   6954 extern gchar *( /* format attribute */  g_strdup_printf)(gchar const   *format
6955                                                          , ...)  __attribute__((__malloc__)) ;   6955                                                          , ...)  __attribute__((__malloc__)) ;
6956 extern gchar *g_strdup_vprintf(gchar const   *format , va_list args )  __attribute__((__malloc__)) ;   6956 extern gchar *g_strdup_vprintf(gchar const   *format , va_list args )  __attribute__((__malloc__)) ;
6957 extern gchar *g_strndup(gchar const   *str , gsize n )  __attribute__((__malloc__)) ;   6957 extern gchar *g_strndup(gchar const   *str , gsize n )  __attribute__((__malloc__)) ;
6958 extern gchar *g_strnfill(gsize length , gchar fill_char )  __attribute__((__malloc__)) ;   6958 extern gchar *g_strnfill(gsize length , gchar fill_char )  __attribute__((__malloc__)) ;
6959 extern gchar *g_strconcat(gchar const   *string1  , ...)  __attribute__((__sentinel__,   6959 extern gchar *g_strconcat(gchar const   *string1  , ...)  __attribute__((__sentinel__,
6960 __malloc__)) ;   6960 __malloc__)) ;
6961 extern gchar *g_strjoin(gchar const   *separator  , ...)  __attribute__((__sentinel__,   6961 extern gchar *g_strjoin(gchar const   *separator  , ...)  __attribute__((__sentinel__,
6962 __malloc__)) ;   6962 __malloc__)) ;
6963 extern gchar *g_strcompress(gchar const   *source )  __attribute__((__malloc__)) ;   6963 extern gchar *g_strcompress(gchar const   *source )  __attribute__((__malloc__)) ;
6964 extern gchar *g_strescape(gchar const   *source , gchar const   *exceptions )  __attribute__((__malloc__)) ;   6964 extern gchar *g_strescape(gchar const   *source , gchar const   *exceptions )  __attribute__((__malloc__)) ;
6965 extern gpointer g_memdup(gconstpointer mem , guint byte_size )  __attribute__((__malloc__,   6965 extern gpointer g_memdup(gconstpointer mem , guint byte_size )  __attribute__((__malloc__,
6966 __alloc_size__(2))) ;   6966 __alloc_size__(2))) ;
6967 extern gchar **g_strsplit(gchar const   *string , gchar const   *delimiter ,   6967 extern gchar **g_strsplit(gchar const   *string , gchar const   *delimiter ,
6968                           gint max_tokens )  __attribute__((__malloc__)) ;   6968                           gint max_tokens )  __attribute__((__malloc__)) ;
6969 extern gchar **g_strsplit_set(gchar const   *string ,   6969 extern gchar **g_strsplit_set(gchar const   *string ,
6970                               gchar const   *delimiters , gint max_tokens )  __attribute__((__malloc__)) ;   6970                               gchar const   *delimiters , gint max_tokens )  __attribute__((__malloc__)) ;
6971 extern gchar *g_strjoinv(gchar const   *separator , gchar **str_array )  __attribute__((__malloc__)) ;   6971 extern gchar *g_strjoinv(gchar const   *separator , gchar **str_array )  __attribute__((__malloc__)) ;
6972 extern void g_strfreev(gchar **str_array ) ;   6972 extern void g_strfreev(gchar **str_array ) ;
6973 extern gchar **g_strdupv(gchar **str_array )  __attribute__((__malloc__)) ;   6973 extern gchar **g_strdupv(gchar **str_array )  __attribute__((__malloc__)) ;
6974 extern guint g_strv_length(gchar **str_array ) ;   6974 extern guint g_strv_length(gchar **str_array ) ;
6975 extern gchar *g_stpcpy(gchar *dest , char const   *src ) ;   6975 extern gchar *g_stpcpy(gchar *dest , char const   *src ) ;
6976 extern gchar const   *g_strip_context(gchar const   *msgid ,   6976 extern gchar const   *g_strip_context(gchar const   *msgid ,
6977                                       gchar const   *msgval )  __attribute__((__format_arg__(1))) ;   6977                                       gchar const   *msgval )  __attribute__((__format_arg__(1))) ;
6978 extern gchar const   *g_dgettext(gchar const   *domain , gchar const   *msgid )  __attribute__((__format_arg__(2))) ;   6978 extern gchar const   *g_dgettext(gchar const   *domain , gchar const   *msgid )  __attribute__((__format_arg__(2))) ;
6979 extern gchar const   *g_dngettext(gchar const   *domain , gchar const   *msgid ,   6979 extern gchar const   *g_dngettext(gchar const   *domain , gchar const   *msgid ,
6980                                   gchar const   *msgid_plural , gulong n )  __attribute__((__format_arg__(3))) ;   6980                                   gchar const   *msgid_plural , gulong n )  __attribute__((__format_arg__(3))) ;
6981 extern gchar const   *g_dpgettext(gchar const   *domain ,   6981 extern gchar const   *g_dpgettext(gchar const   *domain ,
6982                                   gchar const   *msgctxtid , gsize msgidoffset )  __attribute__((__format_arg__(2))) ;   6982                                   gchar const   *msgctxtid , gsize msgidoffset )  __attribute__((__format_arg__(2))) ;
6983 extern gchar const   *g_dpgettext2(gchar const   *domain ,   6983 extern gchar const   *g_dpgettext2(gchar const   *domain ,
6984                                    gchar const   *context ,   6984                                    gchar const   *context ,
6985                                    gchar const   *msgid )  __attribute__((__format_arg__(3))) ;   6985                                    gchar const   *msgid )  __attribute__((__format_arg__(3))) ;
6986 extern int g_strcmp0(char const   *str1 , char const   *str2 ) ;   6986 extern int g_strcmp0(char const   *str1 , char const   *str2 ) ;
6987 extern void ( /* format attribute */  g_test_minimized_result)(double minimized_quantity ,   6987 extern void ( /* format attribute */  g_test_minimized_result)(double minimized_quantity ,
6988                                                                char const   *format   6988                                                                char const   *format
6989                                                                , ...) ;   6989                                                                , ...) ;
6990 extern void ( /* format attribute */  g_test_maximized_result)(double maximized_quantity ,   6990 extern void ( /* format attribute */  g_test_maximized_result)(double maximized_quantity ,
6991                                                                char const   *format   6991                                                                char const   *format
6992                                                                , ...) ;   6992                                                                , ...) ;
6993 extern void g_test_init(int *argc , char ***argv  , ...) ;   6993 extern void g_test_init(int *argc , char ***argv  , ...) ;
6994 extern int g_test_run(void) ;   6994 extern int g_test_run(void) ;
6995 extern void g_test_add_func(char const   *testpath , void (*test_func)(void) ) ;   6995 extern void g_test_add_func(char const   *testpath , void (*test_func)(void) ) ;
6996 extern void g_test_add_data_func(char const   *testpath ,   6996 extern void g_test_add_data_func(char const   *testpath ,
6997                                  gconstpointer test_data ,   6997                                  gconstpointer test_data ,
6998                                  void (*test_func)(gconstpointer  ) ) ;   6998                                  void (*test_func)(gconstpointer  ) ) ;
6999 extern void ( /* format attribute */  g_test_message)(char const   *format   6999 extern void ( /* format attribute */  g_test_message)(char const   *format
7000                                                       , ...) ;   7000                                                       , ...) ;
7001 extern void g_test_bug_base(char const   *uri_pattern ) ;   7001 extern void g_test_bug_base(char const   *uri_pattern ) ;
7002 extern void g_test_bug(char const   *bug_uri_snippet ) ;   7002 extern void g_test_bug(char const   *bug_uri_snippet ) ;
7003 extern void g_test_timer_start(void) ;   7003 extern void g_test_timer_start(void) ;
7004 extern double g_test_timer_elapsed(void) ;   7004 extern double g_test_timer_elapsed(void) ;
7005 extern double g_test_timer_last(void) ;   7005 extern double g_test_timer_last(void) ;
7006 extern void g_test_queue_free(gpointer gfree_pointer ) ;   7006 extern void g_test_queue_free(gpointer gfree_pointer ) ;
7007 extern void g_test_queue_destroy(void (*destroy_func)(gpointer data ) ,   7007 extern void g_test_queue_destroy(void (*destroy_func)(gpointer data ) ,
7008                                  gpointer destroy_data ) ;   7008                                  gpointer destroy_data ) ;
7009 extern gboolean g_test_trap_fork(guint64 usec_timeout ,   7009 extern gboolean g_test_trap_fork(guint64 usec_timeout ,
7010                                  GTestTrapFlags test_trap_flags ) ;   7010                                  GTestTrapFlags test_trap_flags ) ;
7011 extern gboolean g_test_trap_has_passed(void) ;   7011 extern gboolean g_test_trap_has_passed(void) ;
7012 extern gboolean g_test_trap_reached_timeout(void) ;   7012 extern gboolean g_test_trap_reached_timeout(void) ;
7013 extern gint32 g_test_rand_int(void) ;   7013 extern gint32 g_test_rand_int(void) ;
7014 extern gint32 g_test_rand_int_range(gint32 begin , gint32 end ) ;   7014 extern gint32 g_test_rand_int_range(gint32 begin , gint32 end ) ;
7015 extern double g_test_rand_double(void) ;   7015 extern double g_test_rand_double(void) ;
7016 extern double g_test_rand_double_range(double range_start , double range_end ) ;   7016 extern double g_test_rand_double_range(double range_start , double range_end ) ;
7017 extern GTestCase *g_test_create_case(char const   *test_name , gsize data_size ,   7017 extern GTestCase *g_test_create_case(char const   *test_name , gsize data_size ,
7018                                      gconstpointer test_data ,   7018                                      gconstpointer test_data ,
7019                                      void (*data_setup)(void) ,   7019                                      void (*data_setup)(void) ,
7020                                      void (*data_test)(void) ,   7020                                      void (*data_test)(void) ,
7021                                      void (*data_teardown)(void) ) ;   7021                                      void (*data_teardown)(void) ) ;
7022 extern GTestSuite *g_test_create_suite(char const   *suite_name ) ;   7022 extern GTestSuite *g_test_create_suite(char const   *suite_name ) ;
7023 extern GTestSuite *g_test_get_root(void) ;   7023 extern GTestSuite *g_test_get_root(void) ;
7024 extern void g_test_suite_add(GTestSuite *suite , GTestCase *test_case ) ;   7024 extern void g_test_suite_add(GTestSuite *suite , GTestCase *test_case ) ;
7025 extern void g_test_suite_add_suite(GTestSuite *suite , GTestSuite *nestedsuite ) ;   7025 extern void g_test_suite_add_suite(GTestSuite *suite , GTestSuite *nestedsuite ) ;
7026 extern int g_test_run_suite(GTestSuite *suite ) ;   7026 extern int g_test_run_suite(GTestSuite *suite ) ;
7027 extern void g_test_trap_assertions(char const   *domain , char const   *file ,   7027 extern void g_test_trap_assertions(char const   *domain , char const   *file ,
7028                                    int line , char const   *func ,   7028                                    int line , char const   *func ,
7029                                    guint64 assertion_flags ,   7029                                    guint64 assertion_flags ,
7030                                    char const   *pattern ) ;   7030                                    char const   *pattern ) ;
7031 extern  __attribute__((__noreturn__)) void g_assertion_message(char const   *domain ,   7031 extern  __attribute__((__noreturn__)) void g_assertion_message(char const   *domain ,
7032                                                                char const   *file ,   7032                                                                char const   *file ,
7033                                                                int line ,   7033                                                                int line ,
7034                                                                char const   *func ,   7034                                                                char const   *func ,
7035                                                                char const   *message ) ;   7035                                                                char const   *message ) ;
7036 extern  __attribute__((__noreturn__)) void g_assertion_message_expr(char const   *domain ,   7036 extern  __attribute__((__noreturn__)) void g_assertion_message_expr(char const   *domain ,
7037                                                                     char const   *file ,   7037                                                                     char const   *file ,
7038                                                                     int line ,   7038                                                                     int line ,
7039                                                                     char const   *func ,   7039                                                                     char const   *func ,
7040                                                                     char const   *expr ) ;   7040                                                                     char const   *expr ) ;
7041 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpstr(char const   *domain ,   7041 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpstr(char const   *domain ,
7042                                                                       char const   *file ,   7042                                                                       char const   *file ,
7043                                                                       int line ,   7043                                                                       int line ,
7044                                                                       char const   *func ,   7044                                                                       char const   *func ,
7045                                                                       char const   *expr ,   7045                                                                       char const   *expr ,
7046                                                                       char const   *arg1 ,   7046                                                                       char const   *arg1 ,
7047                                                                       char const   *cmp ,   7047                                                                       char const   *cmp ,
7048                                                                       char const   *arg2 ) ;   7048                                                                       char const   *arg2 ) ;
7049 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpnum(char const   *domain ,   7049 extern  __attribute__((__noreturn__)) void g_assertion_message_cmpnum(char const   *domain ,
7050                                                                       char const   *file ,   7050                                                                       char const   *file ,
7051                                                                       int line ,   7051                                                                       int line ,
7052                                                                       char const   *func ,   7052                                                                       char const   *func ,
7053                                                                       char const   *expr ,   7053                                                                       char const   *expr ,
7054                                                                       long double arg1 ,   7054                                                                       long double arg1 ,
7055                                                                       char const   *cmp ,   7055                                                                       char const   *cmp ,
7056                                                                       long double arg2 ,   7056                                                                       long double arg2 ,
7057                                                                       char numtype ) ;   7057                                                                       char numtype ) ;
7058 extern  __attribute__((__noreturn__)) void g_assertion_message_error(char const   *domain ,   7058 extern  __attribute__((__noreturn__)) void g_assertion_message_error(char const   *domain ,
7059                                                                      char const   *file ,   7059                                                                      char const   *file ,
7060                                                                      int line ,   7060                                                                      int line ,
7061                                                                      char const   *func ,   7061                                                                      char const   *func ,
7062                                                                      char const   *expr ,   7062                                                                      char const   *expr ,
7063                                                                      GError *error ,   7063                                                                      GError *error ,
7064                                                                      GQuark error_domain ,   7064                                                                      GQuark error_domain ,
7065                                                                      int error_code ) ;   7065                                                                      int error_code ) ;
7066 extern void g_test_add_vtable(char const   *testpath , gsize data_size ,   7066 extern void g_test_add_vtable(char const   *testpath , gsize data_size ,
7067                               gconstpointer test_data ,   7067                               gconstpointer test_data ,
7068                               void (*data_setup)(void) ,   7068                               void (*data_setup)(void) ,
7069                               void (*data_test)(void) ,   7069                               void (*data_test)(void) ,
7070                               void (*data_teardown)(void) ) ;   7070                               void (*data_teardown)(void) ) ;
7071 extern GTestConfig const   * const  g_test_config_vars ;   7071 extern GTestConfig const   * const  g_test_config_vars ;
7072 extern char const   *g_test_log_type_name(GTestLogType log_type ) ;   7072 extern char const   *g_test_log_type_name(GTestLogType log_type ) ;
7073 extern GTestLogBuffer *g_test_log_buffer_new(void) ;   7073 extern GTestLogBuffer *g_test_log_buffer_new(void) ;
7074 extern void g_test_log_buffer_free(GTestLogBuffer *tbuffer ) ;   7074 extern void g_test_log_buffer_free(GTestLogBuffer *tbuffer ) ;
7075 extern void g_test_log_buffer_push(GTestLogBuffer *tbuffer , guint n_bytes ,   7075 extern void g_test_log_buffer_push(GTestLogBuffer *tbuffer , guint n_bytes ,
7076                                    guint8 const   *bytes ) ;   7076                                    guint8 const   *bytes ) ;
7077 extern GTestLogMsg *g_test_log_buffer_pop(GTestLogBuffer *tbuffer ) ;   7077 extern GTestLogMsg *g_test_log_buffer_pop(GTestLogBuffer *tbuffer ) ;
7078 extern void g_test_log_msg_free(GTestLogMsg *tmsg ) ;   7078 extern void g_test_log_msg_free(GTestLogMsg *tmsg ) ;
7079 extern void g_test_log_set_fatal_handler(gboolean (*log_func)(gchar const   *log_domain ,   7079 extern void g_test_log_set_fatal_handler(gboolean (*log_func)(gchar const   *log_domain ,
7080                                                               GLogLevelFlags log_level ,   7080                                                               GLogLevelFlags log_level ,
7081                                                               gchar const   *message ,   7081                                                               gchar const   *message ,
7082                                                               gpointer user_data ) ,   7082                                                               gpointer user_data ) ,
7083                                          gpointer user_data ) ;   7083                                          gpointer user_data ) ;
7084 extern GThreadPool *g_thread_pool_new(void (*func)(gpointer data ,   7084 extern GThreadPool *g_thread_pool_new(void (*func)(gpointer data ,
7085                                                    gpointer user_data ) ,   7085                                                    gpointer user_data ) ,
7086                                       gpointer user_data , gint max_threads ,   7086                                       gpointer user_data , gint max_threads ,
7087                                       gboolean exclusive , GError **error ) ;   7087                                       gboolean exclusive , GError **error ) ;
7088 extern void g_thread_pool_push(GThreadPool *pool , gpointer data ,   7088 extern void g_thread_pool_push(GThreadPool *pool , gpointer data ,
7089                                GError **error ) ;   7089                                GError **error ) ;
7090 extern void g_thread_pool_set_max_threads(GThreadPool *pool , gint max_threads ,   7090 extern void g_thread_pool_set_max_threads(GThreadPool *pool , gint max_threads ,
7091                                           GError **error ) ;   7091                                           GError **error ) ;
7092 extern gint g_thread_pool_get_max_threads(GThreadPool *pool ) ;   7092 extern gint g_thread_pool_get_max_threads(GThreadPool *pool ) ;
7093 extern guint g_thread_pool_get_num_threads(GThreadPool *pool ) ;   7093 extern guint g_thread_pool_get_num_threads(GThreadPool *pool ) ;
7094 extern guint g_thread_pool_unprocessed(GThreadPool *pool ) ;   7094 extern guint g_thread_pool_unprocessed(GThreadPool *pool ) ;
7095 extern void g_thread_pool_free(GThreadPool *pool , gboolean immediate ,   7095 extern void g_thread_pool_free(GThreadPool *pool , gboolean immediate ,
7096                                gboolean wait_ ) ;   7096                                gboolean wait_ ) ;
7097 extern void g_thread_pool_set_max_unused_threads(gint max_threads ) ;   7097 extern void g_thread_pool_set_max_unused_threads(gint max_threads ) ;
7098 extern gint g_thread_pool_get_max_unused_threads(void) ;   7098 extern gint g_thread_pool_get_max_unused_threads(void) ;
7099 extern guint g_thread_pool_get_num_unused_threads(void) ;   7099 extern guint g_thread_pool_get_num_unused_threads(void) ;
7100 extern void g_thread_pool_stop_unused_threads(void) ;   7100 extern void g_thread_pool_stop_unused_threads(void) ;
7101 extern void g_thread_pool_set_sort_function(GThreadPool *pool ,   7101 extern void g_thread_pool_set_sort_function(GThreadPool *pool ,
7102                                             gint (*func)(gconstpointer a ,   7102                                             gint (*func)(gconstpointer a ,
7103                                                          gconstpointer b ,   7103                                                          gconstpointer b ,
7104                                                          gpointer user_data ) ,   7104                                                          gpointer user_data ) ,
7105                                             gpointer user_data ) ;   7105                                             gpointer user_data ) ;
7106 extern void g_thread_pool_set_max_idle_time(guint interval ) ;   7106 extern void g_thread_pool_set_max_idle_time(guint interval ) ;
7107 extern guint g_thread_pool_get_max_idle_time(void) ;   7107 extern guint g_thread_pool_get_max_idle_time(void) ;
7108 extern GTimer *g_timer_new(void) ;   7108 extern GTimer *g_timer_new(void) ;
7109 extern void g_timer_destroy(GTimer *timer ) ;   7109 extern void g_timer_destroy(GTimer *timer ) ;
7110 extern void g_timer_start(GTimer *timer ) ;   7110 extern void g_timer_start(GTimer *timer ) ;
7111 extern void g_timer_stop(GTimer *timer ) ;   7111 extern void g_timer_stop(GTimer *timer ) ;
7112 extern void g_timer_reset(GTimer *timer ) ;   7112 extern void g_timer_reset(GTimer *timer ) ;
7113 extern void g_timer_continue(GTimer *timer ) ;   7113 extern void g_timer_continue(GTimer *timer ) ;
7114 extern gdouble g_timer_elapsed(GTimer *timer , gulong *microseconds ) ;   7114 extern gdouble g_timer_elapsed(GTimer *timer , gulong *microseconds ) ;
7115 extern void g_usleep(gulong microseconds ) ;   7115 extern void g_usleep(gulong microseconds ) ;
7116 extern void g_time_val_add(GTimeVal *time_ , glong microseconds ) ;   7116 extern void g_time_val_add(GTimeVal *time_ , glong microseconds ) ;
7117 extern gboolean g_time_val_from_iso8601(gchar const   *iso_date ,   7117 extern gboolean g_time_val_from_iso8601(gchar const   *iso_date ,
7118                                         GTimeVal *time_ ) ;   7118                                         GTimeVal *time_ ) ;
7119 extern gchar *g_time_val_to_iso8601(GTimeVal *time_ )  __attribute__((__malloc__)) ;   7119 extern gchar *g_time_val_to_iso8601(GTimeVal *time_ )  __attribute__((__malloc__)) ;
7120 extern GTree *g_tree_new(gint (*key_compare_func)(gconstpointer a ,   7120 extern GTree *g_tree_new(gint (*key_compare_func)(gconstpointer a ,
7121                                                   gconstpointer b ) ) ;   7121                                                   gconstpointer b ) ) ;
7122 extern GTree *g_tree_new_with_data(gint (*key_compare_func)(gconstpointer a ,   7122 extern GTree *g_tree_new_with_data(gint (*key_compare_func)(gconstpointer a ,
7123                                                             gconstpointer b ,   7123                                                             gconstpointer b ,
7124                                                             gpointer user_data ) ,   7124                                                             gpointer user_data ) ,
7125                                    gpointer key_compare_data ) ;   7125                                    gpointer key_compare_data ) ;
7126 extern GTree *g_tree_new_full(gint (*key_compare_func)(gconstpointer a ,   7126 extern GTree *g_tree_new_full(gint (*key_compare_func)(gconstpointer a ,
7127                                                        gconstpointer b ,   7127                                                        gconstpointer b ,
7128                                                        gpointer user_data ) ,   7128                                                        gpointer user_data ) ,
7129                               gpointer key_compare_data ,   7129                               gpointer key_compare_data ,
7130                               void (*key_destroy_func)(gpointer data ) ,   7130                               void (*key_destroy_func)(gpointer data ) ,
7131                               void (*value_destroy_func)(gpointer data ) ) ;   7131                               void (*value_destroy_func)(gpointer data ) ) ;
7132 extern GTree *g_tree_ref(GTree *tree ) ;   7132 extern GTree *g_tree_ref(GTree *tree ) ;
7133 extern void g_tree_unref(GTree *tree ) ;   7133 extern void g_tree_unref(GTree *tree ) ;
7134 extern void g_tree_destroy(GTree *tree ) ;   7134 extern void g_tree_destroy(GTree *tree ) ;
7135 extern void g_tree_insert(GTree *tree , gpointer key , gpointer value ) ;   7135 extern void g_tree_insert(GTree *tree , gpointer key , gpointer value ) ;
7136 extern void g_tree_replace(GTree *tree , gpointer key , gpointer value ) ;   7136 extern void g_tree_replace(GTree *tree , gpointer key , gpointer value ) ;
7137 extern gboolean g_tree_remove(GTree *tree , gconstpointer key ) ;   7137 extern gboolean g_tree_remove(GTree *tree , gconstpointer key ) ;
7138 extern gboolean g_tree_steal(GTree *tree , gconstpointer key ) ;   7138 extern gboolean g_tree_steal(GTree *tree , gconstpointer key ) ;
7139 extern gpointer g_tree_lookup(GTree *tree , gconstpointer key ) ;   7139 extern gpointer g_tree_lookup(GTree *tree , gconstpointer key ) ;
7140 extern gboolean g_tree_lookup_extended(GTree *tree , gconstpointer lookup_key ,   7140 extern gboolean g_tree_lookup_extended(GTree *tree , gconstpointer lookup_key ,
7141                                        gpointer *orig_key , gpointer *value ) ;   7141                                        gpointer *orig_key , gpointer *value ) ;
7142 extern void g_tree_foreach(GTree *tree , gboolean (*func)(gpointer key ,   7142 extern void g_tree_foreach(GTree *tree , gboolean (*func)(gpointer key ,
7143                                                           gpointer value ,   7143                                                           gpointer value ,
7144                                                           gpointer data ) ,   7144                                                           gpointer data ) ,
7145                            gpointer user_data ) ;   7145                            gpointer user_data ) ;
7146 extern void g_tree_traverse(GTree *tree ,   7146 extern void g_tree_traverse(GTree *tree ,
7147                             gboolean (*traverse_func)(gpointer key ,   7147                             gboolean (*traverse_func)(gpointer key ,
7148                                                       gpointer value ,   7148                                                       gpointer value ,
7149                                                       gpointer data ) ,   7149                                                       gpointer data ) ,
7150                             GTraverseType traverse_type , gpointer user_data ) ;   7150                             GTraverseType traverse_type , gpointer user_data ) ;
7151 extern gpointer g_tree_search(GTree *tree ,   7151 extern gpointer g_tree_search(GTree *tree ,
7152                               gint (*search_func)(gconstpointer a ,   7152                               gint (*search_func)(gconstpointer a ,
7153                                                   gconstpointer b ) ,   7153                                                   gconstpointer b ) ,
7154                               gconstpointer user_data ) ;   7154                               gconstpointer user_data ) ;
7155 extern gint g_tree_height(GTree *tree ) ;   7155 extern gint g_tree_height(GTree *tree ) ;
7156 extern gint g_tree_nnodes(GTree *tree ) ;   7156 extern gint g_tree_nnodes(GTree *tree ) ;
7157 extern char *g_uri_unescape_string(char const   *escaped_string ,   7157 extern char *g_uri_unescape_string(char const   *escaped_string ,
7158                                    char const   *illegal_characters ) ;   7158                                    char const   *illegal_characters ) ;
7159 extern char *g_uri_unescape_segment(char const   *escaped_string ,   7159 extern char *g_uri_unescape_segment(char const   *escaped_string ,
7160                                     char const   *escaped_string_end ,   7160                                     char const   *escaped_string_end ,
7161                                     char const   *illegal_characters ) ;   7161                                     char const   *illegal_characters ) ;
7162 extern char *g_uri_parse_scheme(char const   *uri ) ;   7162 extern char *g_uri_parse_scheme(char const   *uri ) ;
7163 extern char *g_uri_escape_string(char const   *unescaped ,   7163 extern char *g_uri_escape_string(char const   *unescaped ,
7164                                  char const   *reserved_chars_allowed ,   7164                                  char const   *reserved_chars_allowed ,
7165                                  gboolean allow_utf8 ) ;   7165                                  gboolean allow_utf8 ) ;
7166 extern gboolean g_variant_type_string_is_valid(gchar const   *type_string ) ;   7166 extern gboolean g_variant_type_string_is_valid(gchar const   *type_string ) ;
7167 extern gboolean g_variant_type_string_scan(gchar const   *string ,   7167 extern gboolean g_variant_type_string_scan(gchar const   *string ,
7168                                            gchar const   *limit ,   7168                                            gchar const   *limit ,
7169                                            gchar const   **endptr ) ;   7169                                            gchar const   **endptr ) ;
7170 extern void g_variant_type_free(GVariantType *type ) ;   7170 extern void g_variant_type_free(GVariantType *type ) ;
7171 extern GVariantType *g_variant_type_copy(GVariantType const   *type ) ;   7171 extern GVariantType *g_variant_type_copy(GVariantType const   *type ) ;
7172 extern GVariantType *g_variant_type_new(gchar const   *type_string ) ;   7172 extern GVariantType *g_variant_type_new(gchar const   *type_string ) ;
7173 extern gsize g_variant_type_get_string_length(GVariantType const   *type ) ;   7173 extern gsize g_variant_type_get_string_length(GVariantType const   *type ) ;
7174 extern gchar const   *g_variant_type_peek_string(GVariantType const   *type ) ;   7174 extern gchar const   *g_variant_type_peek_string(GVariantType const   *type ) ;
7175 extern gchar *g_variant_type_dup_string(GVariantType const   *type ) ;   7175 extern gchar *g_variant_type_dup_string(GVariantType const   *type ) ;
7176 extern gboolean g_variant_type_is_definite(GVariantType const   *type ) ;   7176 extern gboolean g_variant_type_is_definite(GVariantType const   *type ) ;
7177 extern gboolean g_variant_type_is_container(GVariantType const   *type ) ;   7177 extern gboolean g_variant_type_is_container(GVariantType const   *type ) ;
7178 extern gboolean g_variant_type_is_basic(GVariantType const   *type ) ;   7178 extern gboolean g_variant_type_is_basic(GVariantType const   *type ) ;
7179 extern gboolean g_variant_type_is_maybe(GVariantType const   *type ) ;   7179 extern gboolean g_variant_type_is_maybe(GVariantType const   *type ) ;
7180 extern gboolean g_variant_type_is_array(GVariantType const   *type ) ;   7180 extern gboolean g_variant_type_is_array(GVariantType const   *type ) ;
7181 extern gboolean g_variant_type_is_tuple(GVariantType const   *type ) ;   7181 extern gboolean g_variant_type_is_tuple(GVariantType const   *type ) ;
7182 extern gboolean g_variant_type_is_dict_entry(GVariantType const   *type ) ;   7182 extern gboolean g_variant_type_is_dict_entry(GVariantType const   *type ) ;
7183 extern gboolean g_variant_type_is_variant(GVariantType const   *type ) ;   7183 extern gboolean g_variant_type_is_variant(GVariantType const   *type ) ;
7184 extern guint g_variant_type_hash(gconstpointer type ) ;   7184 extern guint g_variant_type_hash(gconstpointer type ) ;
7185 extern gboolean g_variant_type_equal(gconstpointer type1 , gconstpointer type2 ) ;   7185 extern gboolean g_variant_type_equal(gconstpointer type1 , gconstpointer type2 ) ;
7186 extern gboolean g_variant_type_is_subtype_of(GVariantType const   *type ,   7186 extern gboolean g_variant_type_is_subtype_of(GVariantType const   *type ,
7187                                              GVariantType const   *supertype ) ;   7187                                              GVariantType const   *supertype ) ;
7188 extern GVariantType const   *g_variant_type_element(GVariantType const   *type ) ;   7188 extern GVariantType const   *g_variant_type_element(GVariantType const   *type ) ;
7189 extern GVariantType const   *g_variant_type_first(GVariantType const   *type ) ;   7189 extern GVariantType const   *g_variant_type_first(GVariantType const   *type ) ;
7190 extern GVariantType const   *g_variant_type_next(GVariantType const   *type ) ;   7190 extern GVariantType const   *g_variant_type_next(GVariantType const   *type ) ;
7191 extern gsize g_variant_type_n_items(GVariantType const   *type ) ;   7191 extern gsize g_variant_type_n_items(GVariantType const   *type ) ;
7192 extern GVariantType const   *g_variant_type_key(GVariantType const   *type ) ;   7192 extern GVariantType const   *g_variant_type_key(GVariantType const   *type ) ;
7193 extern GVariantType const   *g_variant_type_value(GVariantType const   *type ) ;   7193 extern GVariantType const   *g_variant_type_value(GVariantType const   *type ) ;
7194 extern GVariantType *g_variant_type_new_array(GVariantType const   *element ) ;   7194 extern GVariantType *g_variant_type_new_array(GVariantType const   *element ) ;
7195 extern GVariantType *g_variant_type_new_maybe(GVariantType const   *element ) ;   7195 extern GVariantType *g_variant_type_new_maybe(GVariantType const   *element ) ;
7196 extern GVariantType *g_variant_type_new_tuple(GVariantType const   * const  *items ,   7196 extern GVariantType *g_variant_type_new_tuple(GVariantType const   * const  *items ,
7197                                               gint length ) ;   7197                                               gint length ) ;
7198 extern GVariantType *g_variant_type_new_dict_entry(GVariantType const   *key ,   7198 extern GVariantType *g_variant_type_new_dict_entry(GVariantType const   *key ,
7199                                                    GVariantType const   *value ) ;   7199                                                    GVariantType const   *value ) ;
7200 extern GVariantType const   *g_variant_type_checked_(gchar const   * ) ;   7200 extern GVariantType const   *g_variant_type_checked_(gchar const   * ) ;
7201 extern void g_variant_unref(GVariant *value ) ;   7201 extern void g_variant_unref(GVariant *value ) ;
7202 extern GVariant *g_variant_ref(GVariant *value ) ;   7202 extern GVariant *g_variant_ref(GVariant *value ) ;
7203 extern GVariant *g_variant_ref_sink(GVariant *value ) ;   7203 extern GVariant *g_variant_ref_sink(GVariant *value ) ;
7204 extern GVariantType const   *g_variant_get_type(GVariant *value ) ;   7204 extern GVariantType const   *g_variant_get_type(GVariant *value ) ;
7205 extern gchar const   *g_variant_get_type_string(GVariant *value ) ;   7205 extern gchar const   *g_variant_get_type_string(GVariant *value ) ;
7206 extern gboolean g_variant_is_of_type(GVariant *value ,   7206 extern gboolean g_variant_is_of_type(GVariant *value ,
7207                                      GVariantType const   *type ) ;   7207                                      GVariantType const   *type ) ;
7208 extern gboolean g_variant_is_container(GVariant *value ) ;   7208 extern gboolean g_variant_is_container(GVariant *value ) ;
7209 extern GVariantClass g_variant_classify(GVariant *value ) ;   7209 extern GVariantClass g_variant_classify(GVariant *value ) ;
7210 extern GVariant *g_variant_new_boolean(gboolean boolean ) ;   7210 extern GVariant *g_variant_new_boolean(gboolean boolean ) ;
7211 extern GVariant *g_variant_new_byte(guchar byte ) ;   7211 extern GVariant *g_variant_new_byte(guchar byte ) ;
7212 extern GVariant *g_variant_new_int16(gint16 int16 ) ;   7212 extern GVariant *g_variant_new_int16(gint16 int16 ) ;
7213 extern GVariant *g_variant_new_uint16(guint16 uint16 ) ;   7213 extern GVariant *g_variant_new_uint16(guint16 uint16 ) ;
7214 extern GVariant *g_variant_new_int32(gint32 int32 ) ;   7214 extern GVariant *g_variant_new_int32(gint32 int32 ) ;
7215 extern GVariant *g_variant_new_uint32(guint32 uint32 ) ;   7215 extern GVariant *g_variant_new_uint32(guint32 uint32 ) ;
7216 extern GVariant *g_variant_new_int64(gint64 int64 ) ;   7216 extern GVariant *g_variant_new_int64(gint64 int64 ) ;
7217 extern GVariant *g_variant_new_uint64(guint64 uint64 ) ;   7217 extern GVariant *g_variant_new_uint64(guint64 uint64 ) ;
7218 extern GVariant *g_variant_new_handle(gint32 handle ) ;   7218 extern GVariant *g_variant_new_handle(gint32 handle ) ;
7219 extern GVariant *g_variant_new_double(gdouble floating ) ;   7219 extern GVariant *g_variant_new_double(gdouble floating ) ;
7220 extern GVariant *g_variant_new_string(gchar const   *string ) ;   7220 extern GVariant *g_variant_new_string(gchar const   *string ) ;
7221 extern GVariant *g_variant_new_object_path(gchar const   *object_path ) ;   7221 extern GVariant *g_variant_new_object_path(gchar const   *object_path ) ;
7222 extern gboolean g_variant_is_object_path(gchar const   *string ) ;   7222 extern gboolean g_variant_is_object_path(gchar const   *string ) ;
7223 extern GVariant *g_variant_new_signature(gchar const   *signature ) ;   7223 extern GVariant *g_variant_new_signature(gchar const   *signature ) ;
7224 extern gboolean g_variant_is_signature(gchar const   *string ) ;   7224 extern gboolean g_variant_is_signature(gchar const   *string ) ;
7225 extern GVariant *g_variant_new_variant(GVariant *value ) ;   7225 extern GVariant *g_variant_new_variant(GVariant *value ) ;
7226 extern GVariant *g_variant_new_strv(gchar const   * const  *strv ,   7226 extern GVariant *g_variant_new_strv(gchar const   * const  *strv ,
7227                                     gssize length ) ;   7227                                     gssize length ) ;
7228 extern gboolean g_variant_get_boolean(GVariant *value ) ;   7228 extern gboolean g_variant_get_boolean(GVariant *value ) ;
7229 extern guchar g_variant_get_byte(GVariant *value ) ;   7229 extern guchar g_variant_get_byte(GVariant *value ) ;
7230 extern gint16 g_variant_get_int16(GVariant *value ) ;   7230 extern gint16 g_variant_get_int16(GVariant *value ) ;
7231 extern guint16 g_variant_get_uint16(GVariant *value ) ;   7231 extern guint16 g_variant_get_uint16(GVariant *value ) ;
7232 extern gint32 g_variant_get_int32(GVariant *value ) ;   7232 extern gint32 g_variant_get_int32(GVariant *value ) ;
7233 extern guint32 g_variant_get_uint32(GVariant *value ) ;   7233 extern guint32 g_variant_get_uint32(GVariant *value ) ;
7234 extern gint64 g_variant_get_int64(GVariant *value ) ;   7234 extern gint64 g_variant_get_int64(GVariant *value ) ;
7235 extern guint64 g_variant_get_uint64(GVariant *value ) ;   7235 extern guint64 g_variant_get_uint64(GVariant *value ) ;
7236 extern gint32 g_variant_get_handle(GVariant *value ) ;   7236 extern gint32 g_variant_get_handle(GVariant *value ) ;
7237 extern gdouble g_variant_get_double(GVariant *value ) ;   7237 extern gdouble g_variant_get_double(GVariant *value ) ;
7238 extern GVariant *g_variant_get_variant(GVariant *value ) ;   7238 extern GVariant *g_variant_get_variant(GVariant *value ) ;
7239 extern gchar const   *g_variant_get_string(GVariant *value , gsize *length ) ;   7239 extern gchar const   *g_variant_get_string(GVariant *value , gsize *length ) ;
7240 extern gchar *g_variant_dup_string(GVariant *value , gsize *length ) ;   7240 extern gchar *g_variant_dup_string(GVariant *value , gsize *length ) ;
7241 extern gchar const   **g_variant_get_strv(GVariant *value , gsize *length ) ;   7241 extern gchar const   **g_variant_get_strv(GVariant *value , gsize *length ) ;
7242 extern gchar **g_variant_dup_strv(GVariant *value , gsize *length ) ;   7242 extern gchar **g_variant_dup_strv(GVariant *value , gsize *length ) ;
7243 extern GVariant *g_variant_new_maybe(GVariantType const   *child_type ,   7243 extern GVariant *g_variant_new_maybe(GVariantType const   *child_type ,
7244                                      GVariant *child ) ;   7244                                      GVariant *child ) ;
7245 extern GVariant *g_variant_new_array(GVariantType const   *child_type ,   7245 extern GVariant *g_variant_new_array(GVariantType const   *child_type ,
7246                                      GVariant * const  *children ,   7246                                      GVariant * const  *children ,
7247                                      gsize n_children ) ;   7247                                      gsize n_children ) ;
7248 extern GVariant *g_variant_new_tuple(GVariant * const  *children ,   7248 extern GVariant *g_variant_new_tuple(GVariant * const  *children ,
7249                                      gsize n_children ) ;   7249                                      gsize n_children ) ;
7250 extern GVariant *g_variant_new_dict_entry(GVariant *key , GVariant *value ) ;   7250 extern GVariant *g_variant_new_dict_entry(GVariant *key , GVariant *value ) ;
7251 extern GVariant *g_variant_get_maybe(GVariant *value ) ;   7251 extern GVariant *g_variant_get_maybe(GVariant *value ) ;
7252 extern gsize g_variant_n_children(GVariant *value ) ;   7252 extern gsize g_variant_n_children(GVariant *value ) ;
7253 extern void g_variant_get_child(GVariant *value , gsize index_ ,   7253 extern void g_variant_get_child(GVariant *value , gsize index_ ,
7254                                 gchar const   *format_string  , ...) ;   7254                                 gchar const   *format_string  , ...) ;
7255 extern GVariant *g_variant_get_child_value(GVariant *value , gsize index_ ) ;   7255 extern GVariant *g_variant_get_child_value(GVariant *value , gsize index_ ) ;
7256 extern gconstpointer g_variant_get_fixed_array(GVariant *value ,   7256 extern gconstpointer g_variant_get_fixed_array(GVariant *value ,
7257                                                gsize *n_elements ,   7257                                                gsize *n_elements ,
7258                                                gsize element_size ) ;   7258                                                gsize element_size ) ;
7259 extern gsize g_variant_get_size(GVariant *value ) ;   7259 extern gsize g_variant_get_size(GVariant *value ) ;
7260 extern gconstpointer g_variant_get_data(GVariant *value ) ;   7260 extern gconstpointer g_variant_get_data(GVariant *value ) ;
7261 extern void g_variant_store(GVariant *value , gpointer data ) ;   7261 extern void g_variant_store(GVariant *value , gpointer data ) ;
7262 extern gchar *g_variant_print(GVariant *value , gboolean type_annotate ) ;   7262 extern gchar *g_variant_print(GVariant *value , gboolean type_annotate ) ;
7263 extern GString *g_variant_print_string(GVariant *value , GString *string ,   7263 extern GString *g_variant_print_string(GVariant *value , GString *string ,
7264                                        gboolean type_annotate ) ;   7264                                        gboolean type_annotate ) ;
7265 extern guint g_variant_hash(gconstpointer value ) ;   7265 extern guint g_variant_hash(gconstpointer value ) ;
7266 extern gboolean g_variant_equal(gconstpointer one , gconstpointer two ) ;   7266 extern gboolean g_variant_equal(gconstpointer one , gconstpointer two ) ;
7267 extern GVariant *g_variant_get_normal_form(GVariant *value ) ;   7267 extern GVariant *g_variant_get_normal_form(GVariant *value ) ;
7268 extern gboolean g_variant_is_normal_form(GVariant *value ) ;   7268 extern gboolean g_variant_is_normal_form(GVariant *value ) ;
7269 extern GVariant *g_variant_byteswap(GVariant *value ) ;   7269 extern GVariant *g_variant_byteswap(GVariant *value ) ;
7270 extern GVariant *g_variant_new_from_data(GVariantType const   *type ,   7270 extern GVariant *g_variant_new_from_data(GVariantType const   *type ,
7271                                          gconstpointer data , gsize size ,   7271                                          gconstpointer data , gsize size ,
7272                                          gboolean trusted ,   7272                                          gboolean trusted ,
7273                                          void (*notify)(gpointer data ) ,   7273                                          void (*notify)(gpointer data ) ,
7274                                          gpointer user_data ) ;   7274                                          gpointer user_data ) ;
7275 extern GVariantIter *g_variant_iter_new(GVariant *value ) ;   7275 extern GVariantIter *g_variant_iter_new(GVariant *value ) ;
7276 extern gsize g_variant_iter_init(GVariantIter *iter , GVariant *value ) ;   7276 extern gsize g_variant_iter_init(GVariantIter *iter , GVariant *value ) ;
7277 extern GVariantIter *g_variant_iter_copy(GVariantIter *iter ) ;   7277 extern GVariantIter *g_variant_iter_copy(GVariantIter *iter ) ;
7278 extern gsize g_variant_iter_n_children(GVariantIter *iter ) ;   7278 extern gsize g_variant_iter_n_children(GVariantIter *iter ) ;
7279 extern void g_variant_iter_free(GVariantIter *iter ) ;   7279 extern void g_variant_iter_free(GVariantIter *iter ) ;
7280 extern GVariant *g_variant_iter_next_value(GVariantIter *iter ) ;   7280 extern GVariant *g_variant_iter_next_value(GVariantIter *iter ) ;
7281 extern gboolean g_variant_iter_next(GVariantIter *iter ,   7281 extern gboolean g_variant_iter_next(GVariantIter *iter ,
7282                                     gchar const   *format_string  , ...) ;   7282                                     gchar const   *format_string  , ...) ;
7283 extern gboolean g_variant_iter_loop(GVariantIter *iter ,   7283 extern gboolean g_variant_iter_loop(GVariantIter *iter ,
7284                                     gchar const   *format_string  , ...) ;   7284                                     gchar const   *format_string  , ...) ;
7285 extern GQuark g_variant_parser_get_error_quark(void) ;   7285 extern GQuark g_variant_parser_get_error_quark(void) ;
7286 extern GVariantBuilder *g_variant_builder_new(GVariantType const   *type ) ;   7286 extern GVariantBuilder *g_variant_builder_new(GVariantType const   *type ) ;
7287 extern void g_variant_builder_unref(GVariantBuilder *builder ) ;   7287 extern void g_variant_builder_unref(GVariantBuilder *builder ) ;
7288 extern GVariantBuilder *g_variant_builder_ref(GVariantBuilder *builder ) ;   7288 extern GVariantBuilder *g_variant_builder_ref(GVariantBuilder *builder ) ;
7289 extern void g_variant_builder_init(GVariantBuilder *builder ,   7289 extern void g_variant_builder_init(GVariantBuilder *builder ,
7290                                    GVariantType const   *type ) ;   7290                                    GVariantType const   *type ) ;
7291 extern GVariant *g_variant_builder_end(GVariantBuilder *builder ) ;   7291 extern GVariant *g_variant_builder_end(GVariantBuilder *builder ) ;
7292 extern void g_variant_builder_clear(GVariantBuilder *builder ) ;   7292 extern void g_variant_builder_clear(GVariantBuilder *builder ) ;
7293 extern void g_variant_builder_open(GVariantBuilder *builder ,   7293 extern void g_variant_builder_open(GVariantBuilder *builder ,
7294                                    GVariantType const   *type ) ;   7294                                    GVariantType const   *type ) ;
7295 extern void g_variant_builder_close(GVariantBuilder *builder ) ;   7295 extern void g_variant_builder_close(GVariantBuilder *builder ) ;
7296 extern void g_variant_builder_add_value(GVariantBuilder *builder ,   7296 extern void g_variant_builder_add_value(GVariantBuilder *builder ,
7297                                         GVariant *value ) ;   7297                                         GVariant *value ) ;
7298 extern void g_variant_builder_add(GVariantBuilder *builder ,   7298 extern void g_variant_builder_add(GVariantBuilder *builder ,
7299                                   gchar const   *format_string  , ...) ;   7299                                   gchar const   *format_string  , ...) ;
7300 extern GVariant *g_variant_new(gchar const   *format_string  , ...) ;   7300 extern GVariant *g_variant_new(gchar const   *format_string  , ...) ;
7301 extern void g_variant_get(GVariant *value , gchar const   *format_string  , ...) ;   7301 extern void g_variant_get(GVariant *value , gchar const   *format_string  , ...) ;
7302 extern GVariant *g_variant_new_va(gchar const   *format_string ,   7302 extern GVariant *g_variant_new_va(gchar const   *format_string ,
7303                                   gchar const   **endptr , va_list *app ) ;   7303                                   gchar const   **endptr , va_list *app ) ;
7304 extern void g_variant_get_va(GVariant *value , gchar const   *format_string ,   7304 extern void g_variant_get_va(GVariant *value , gchar const   *format_string ,
7305                              gchar const   **endptr , va_list *app ) ;   7305                              gchar const   **endptr , va_list *app ) ;
7306 extern GVariant *g_variant_parse(GVariantType const   *type ,   7306 extern GVariant *g_variant_parse(GVariantType const   *type ,
7307                                  gchar const   *text , gchar const   *limit ,   7307                                  gchar const   *text , gchar const   *limit ,
7308                                  gchar const   **endptr , GError **error ) ;   7308                                  gchar const   **endptr , GError **error ) ;
7309 extern GVariant *g_variant_new_parsed(gchar const   *format  , ...) ;   7309 extern GVariant *g_variant_new_parsed(gchar const   *format  , ...) ;
7310 extern GVariant *g_variant_new_parsed_va(gchar const   *format , va_list *app ) ;   7310 extern GVariant *g_variant_new_parsed_va(gchar const   *format , va_list *app ) ;
7311 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,   7311 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,
7312                                                                                        void const   * __restrict  __src ,   7312                                                                                        void const   * __restrict  __src ,
7313                                                                                        size_t __n ) ;   7313                                                                                        size_t __n ) ;
7314 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,   7314 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,
7315                                                                                         void const   *__src ,   7315                                                                                         void const   *__src ,
7316                                                                                         size_t __n ) ;   7316                                                                                         size_t __n ) ;
7317 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,   7317 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,
7318                                                                                         void const   * __restrict  __src ,   7318                                                                                         void const   * __restrict  __src ,
7319                                                                                         int __c ,   7319                                                                                         int __c ,
7320                                                                                         size_t __n ) ;   7320                                                                                         size_t __n ) ;
7321 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,   7321 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,
7322                                                                                      int __c ,   7322                                                                                      int __c ,
7323                                                                                      size_t __n ) ;   7323                                                                                      size_t __n ) ;
7324 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,   7324 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,
7325                                                                                      void const   *__s2 ,   7325                                                                                      void const   *__s2 ,
7326                                                                                      size_t __n )  __attribute__((__pure__)) ;   7326                                                                                      size_t __n )  __attribute__((__pure__)) ;
7327 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,   7327 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,
7328                                                                                      int __c ,   7328                                                                                      int __c ,
7329                                                                                      size_t __n )  __attribute__((__pure__)) ;   7329                                                                                      size_t __n )  __attribute__((__pure__)) ;
7330 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,   7330 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,
7331                                                                                        char const   * __restrict  __src ) ;   7331                                                                                        char const   * __restrict  __src ) ;
7332 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,   7332 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,
7333                                                                                         char const   * __restrict  __src ,   7333                                                                                         char const   * __restrict  __src ,
7334                                                                                         size_t __n ) ;   7334                                                                                         size_t __n ) ;
7335 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,   7335 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,
7336                                                                                        char const   * __restrict  __src ) ;   7336                                                                                        char const   * __restrict  __src ) ;
7337 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,   7337 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,
7338                                                                                         char const   * __restrict  __src ,   7338                                                                                         char const   * __restrict  __src ,
7339                                                                                         size_t __n ) ;   7339                                                                                         size_t __n ) ;
7340 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,   7340 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,
7341                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;   7341                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;
7342 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,   7342 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,
7343                                                                                       char const   *__s2 ,   7343                                                                                       char const   *__s2 ,
7344                                                                                       size_t __n )  __attribute__((__pure__)) ;   7344                                                                                       size_t __n )  __attribute__((__pure__)) ;
7345 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,   7345 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,
7346                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;   7346                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;
7347 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,   7347 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,
7348                                                                                        char const   * __restrict  __src ,   7348                                                                                        char const   * __restrict  __src ,
7349                                                                                        size_t __n ) ;   7349                                                                                        size_t __n ) ;
7350 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,   7350 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,
7351                                                                                           char const   *__s2 ,   7351                                                                                           char const   *__s2 ,
7352                                                                                           __locale_t __l )  __attribute__((__pure__)) ;   7352                                                                                           __locale_t __l )  __attribute__((__pure__)) ;
7353 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,   7353 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,
7354                                                                                            char const   *__src ,   7354                                                                                            char const   *__src ,
7355                                                                                            size_t __n ,   7355                                                                                            size_t __n ,
7356                                                                                            __locale_t __l ) ;   7356                                                                                            __locale_t __l ) ;
7357 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;   7357 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;
7358 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,   7358 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,
7359                                                                                       size_t __n )  __attribute__((__malloc__)) ;   7359                                                                                       size_t __n )  __attribute__((__malloc__)) ;
7360 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,   7360 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,
7361                                                                                      int __c )  __attribute__((__pure__)) ;   7361                                                                                      int __c )  __attribute__((__pure__)) ;
7362 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,   7362 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,
7363                                                                                       int __c )  __attribute__((__pure__)) ;   7363                                                                                       int __c )  __attribute__((__pure__)) ;
7364 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,   7364 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,
7365                                                                                          char const   *__reject )  __attribute__((__pure__)) ;   7365                                                                                          char const   *__reject )  __attribute__((__pure__)) ;
7366 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,   7366 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,
7367                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   7367                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
7368 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,   7368 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,
7369                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   7369                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
7370 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,   7370 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,
7371                                                                                        char const   *__needle )  __attribute__((__pure__)) ;   7371                                                                                        char const   *__needle )  __attribute__((__pure__)) ;
7372 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,   7372 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,
7373                                                                                      char const   * __restrict  __delim ) ;   7373                                                                                      char const   * __restrict  __delim ) ;
7374 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,   7374 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,
7375                                                                                            char const   * __restrict  __delim ,   7375                                                                                            char const   * __restrict  __delim ,
7376                                                                                            char ** __restrict  __save_ptr ) ;   7376                                                                                            char ** __restrict  __save_ptr ) ;
7377 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,   7377 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,
7378                                                                                          char const   * __restrict  __delim ,   7378                                                                                          char const   * __restrict  __delim ,
7379                                                                                          char ** __restrict  __save_ptr ) ;   7379                                                                                          char ** __restrict  __save_ptr ) ;
7380 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;   7380 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;
7381 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,   7381 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,
7382                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;   7382                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;
7383 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;   7383 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
7384 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,   7384 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,
7385                                                                                        char *__buf ,   7385                                                                                        char *__buf ,
7386                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;   7386                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;
7387 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,   7387 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,
7388                                                       __locale_t __l ) ;   7388                                                       __locale_t __l ) ;
7389 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,   7389 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,
7390                                                                                      size_t __n ) ;   7390                                                                                      size_t __n ) ;
7391 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,   7391 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,
7392                                                                                      void *__dest ,   7392                                                                                      void *__dest ,
7393                                                                                      size_t __n ) ;   7393                                                                                      size_t __n ) ;
7394 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,   7394 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,
7395                                                                                    size_t __n ) ;   7395                                                                                    size_t __n ) ;
7396 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,   7396 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,
7397                                                                                    void const   *__s2 ,   7397                                                                                    void const   *__s2 ,
7398                                                                                    size_t __n )  __attribute__((__pure__)) ;   7398                                                                                    size_t __n )  __attribute__((__pure__)) ;
7399 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,   7399 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,
7400                                                                                     int __c )  __attribute__((__pure__)) ;   7400                                                                                     int __c )  __attribute__((__pure__)) ;
7401 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,   7401 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,
7402                                                                                      int __c )  __attribute__((__pure__)) ;   7402                                                                                      int __c )  __attribute__((__pure__)) ;
7403 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;   7403 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
7404 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,   7404 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,
7405                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;   7405                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;
7406 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,   7406 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,
7407                                                                                           char const   *__s2 ,   7407                                                                                           char const   *__s2 ,
7408                                                                                           size_t __n )  __attribute__((__pure__)) ;   7408                                                                                           size_t __n )  __attribute__((__pure__)) ;
7409 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,   7409 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,
7410                                                                                        char const   * __restrict  __delim ) ;   7410                                                                                        char const   * __restrict  __delim ) ;
7411 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;   7411 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
7412 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,   7412 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,
7413                                                                                          char const   * __restrict  __src ) ;   7413                                                                                          char const   * __restrict  __src ) ;
7414 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,   7414 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,
7415                                                                                        char const   * __restrict  __src ) ;   7415                                                                                        char const   * __restrict  __src ) ;
7416 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,   7416 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,
7417                                                                                           char const   * __restrict  __src ,   7417                                                                                           char const   * __restrict  __src ,
7418                                                                                           size_t __n ) ;   7418                                                                                           size_t __n ) ;
7419 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,   7419 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,
7420                                                                                         char const   * __restrict  __src ,   7420                                                                                         char const   * __restrict  __src ,
7421                                                                                         size_t __n ) ;   7421                                                                                         size_t __n ) ;
7422 extern void *__rawmemchr(void const   *__s , int __c ) ;   7422 extern void *__rawmemchr(void const   *__s , int __c ) ;
7423 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;   7423 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;
7424 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )   7424 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )
7425 {   7425 {
7426   register size_t __result ;   7426   register size_t __result ;
7427     7427  
7428   {   7428   {
7429   __result = (size_t )0;   7429   __result = (size_t )0;
7430   while (1) {   7430   while (1) {
7431     if ((int const   )*(__s + __result) != 0) {   7431     if ((int const   )*(__s + __result) != 0) {
7432       if ((int const   )*(__s + __result) != (int const   )__reject) {   7432       if ((int const   )*(__s + __result) != (int const   )__reject) {
7433     7433  
7434       } else {   7434       } else {
7435         break;   7435         break;
7436       }   7436       }
7437     } else {   7437     } else {
7438       break;   7438       break;
7439     }   7439     }
7440     __result ++;   7440     __result ++;
7441   }   7441   }
7442   return (__result);   7442   return (__result);
7443 }   7443 }
7444 }   7444 }
7445 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   7445 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
7446                                     int __reject2 ) ;   7446                                     int __reject2 ) ;
7447 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   7447 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
7448                                     int __reject2 )   7448                                     int __reject2 )
7449 {   7449 {
7450   register size_t __result ;   7450   register size_t __result ;
7451     7451  
7452   {   7452   {
7453   __result = (size_t )0;   7453   __result = (size_t )0;
7454   while (1) {   7454   while (1) {
7455     if ((int const   )*(__s + __result) != 0) {   7455     if ((int const   )*(__s + __result) != 0) {
7456       if ((int const   )*(__s + __result) != (int const   )__reject1) {   7456       if ((int const   )*(__s + __result) != (int const   )__reject1) {
7457         if ((int const   )*(__s + __result) != (int const   )__reject2) {   7457         if ((int const   )*(__s + __result) != (int const   )__reject2) {
7458     7458  
7459         } else {   7459         } else {
7460           break;   7460           break;
7461         }   7461         }
7462       } else {   7462       } else {
7463         break;   7463         break;
7464       }   7464       }
7465     } else {   7465     } else {
7466       break;   7466       break;
7467     }   7467     }
7468     __result ++;   7468     __result ++;
7469   }   7469   }
7470   return (__result);   7470   return (__result);
7471 }   7471 }
7472 }   7472 }
7473 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   7473 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
7474                                     int __reject2 , int __reject3 ) ;   7474                                     int __reject2 , int __reject3 ) ;
7475 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   7475 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
7476                                     int __reject2 , int __reject3 )   7476                                     int __reject2 , int __reject3 )
7477 {   7477 {
7478   register size_t __result ;   7478   register size_t __result ;
7479     7479  
7480   {   7480   {
7481   __result = (size_t )0;   7481   __result = (size_t )0;
7482   while (1) {   7482   while (1) {
7483     if ((int const   )*(__s + __result) != 0) {   7483     if ((int const   )*(__s + __result) != 0) {
7484       if ((int const   )*(__s + __result) != (int const   )__reject1) {   7484       if ((int const   )*(__s + __result) != (int const   )__reject1) {
7485         if ((int const   )*(__s + __result) != (int const   )__reject2) {   7485         if ((int const   )*(__s + __result) != (int const   )__reject2) {
7486           if ((int const   )*(__s + __result) != (int const   )__reject3) {   7486           if ((int const   )*(__s + __result) != (int const   )__reject3) {
7487     7487  
7488           } else {   7488           } else {
7489             break;   7489             break;
7490           }   7490           }
7491         } else {   7491         } else {
7492           break;   7492           break;
7493         }   7493         }
7494       } else {   7494       } else {
7495         break;   7495         break;
7496       }   7496       }
7497     } else {   7497     } else {
7498       break;   7498       break;
7499     }   7499     }
7500     __result ++;   7500     __result ++;
7501   }   7501   }
7502   return (__result);   7502   return (__result);
7503 }   7503 }
7504 }   7504 }
7505 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;   7505 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;
7506 __inline extern size_t __strspn_c1(char const   *__s , int __accept )   7506 __inline extern size_t __strspn_c1(char const   *__s , int __accept )
7507 {   7507 {
7508   register size_t __result ;   7508   register size_t __result ;
7509     7509  
7510   {   7510   {
7511   __result = (size_t )0;   7511   __result = (size_t )0;
7512   while ((int const   )*(__s + __result) == (int const   )__accept) {   7512   while ((int const   )*(__s + __result) == (int const   )__accept) {
7513     __result ++;   7513     __result ++;
7514   }   7514   }
7515   return (__result);   7515   return (__result);
7516 }   7516 }
7517 }   7517 }
7518 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   7518 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
7519                                    int __accept2 ) ;   7519                                    int __accept2 ) ;
7520 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   7520 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
7521                                    int __accept2 )   7521                                    int __accept2 )
7522 {   7522 {
7523   register size_t __result ;   7523   register size_t __result ;
7524     7524  
7525   {   7525   {
7526   __result = (size_t )0;   7526   __result = (size_t )0;
7527   while (1) {   7527   while (1) {
7528     if ((int const   )*(__s + __result) == (int const   )__accept1) {   7528     if ((int const   )*(__s + __result) == (int const   )__accept1) {
7529     7529  
7530     } else   7530     } else
7531     if ((int const   )*(__s + __result) == (int const   )__accept2) {   7531     if ((int const   )*(__s + __result) == (int const   )__accept2) {
7532     7532  
7533     } else {   7533     } else {
7534       break;   7534       break;
7535     }   7535     }
7536     __result ++;   7536     __result ++;
7537   }   7537   }
7538   return (__result);   7538   return (__result);
7539 }   7539 }
7540 }   7540 }
7541 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   7541 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
7542                                    int __accept2 , int __accept3 ) ;   7542                                    int __accept2 , int __accept3 ) ;
7543 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   7543 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
7544                                    int __accept2 , int __accept3 )   7544                                    int __accept2 , int __accept3 )
7545 {   7545 {
7546   register size_t __result ;   7546   register size_t __result ;
7547     7547  
7548   {   7548   {
7549   __result = (size_t )0;   7549   __result = (size_t )0;
7550   while (1) {   7550   while (1) {
7551     if ((int const   )*(__s + __result) == (int const   )__accept1) {   7551     if ((int const   )*(__s + __result) == (int const   )__accept1) {
7552     7552  
7553     } else   7553     } else
7554     if ((int const   )*(__s + __result) == (int const   )__accept2) {   7554     if ((int const   )*(__s + __result) == (int const   )__accept2) {
7555     7555  
7556     } else   7556     } else
7557     if ((int const   )*(__s + __result) == (int const   )__accept3) {   7557     if ((int const   )*(__s + __result) == (int const   )__accept3) {
7558     7558  
7559     } else {   7559     } else {
7560       break;   7560       break;
7561     }   7561     }
7562     __result ++;   7562     __result ++;
7563   }   7563   }
7564   return (__result);   7564   return (__result);
7565 }   7565 }
7566 }   7566 }
7567 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   7567 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
7568                                    int __accept2 ) ;   7568                                    int __accept2 ) ;
7569 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   7569 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
7570                                    int __accept2 )   7570                                    int __accept2 )
7571 {   7571 {
7572   char *tmp ;   7572   char *tmp ;
7573     7573  
7574   {   7574   {
7575   while (1) {   7575   while (1) {
7576     if ((int const   )*__s != 0) {   7576     if ((int const   )*__s != 0) {
7577       if ((int const   )*__s != (int const   )__accept1) {   7577       if ((int const   )*__s != (int const   )__accept1) {
7578         if ((int const   )*__s != (int const   )__accept2) {   7578         if ((int const   )*__s != (int const   )__accept2) {
7579     7579  
7580         } else {   7580         } else {
7581           break;   7581           break;
7582         }   7582         }
7583       } else {   7583       } else {
7584         break;   7584         break;
7585       }   7585       }
7586     } else {   7586     } else {
7587       break;   7587       break;
7588     }   7588     }
7589     __s ++;   7589     __s ++;
7590   }   7590   }
7591   if ((int const   )*__s == 0) {   7591   if ((int const   )*__s == 0) {
7592     tmp = (char *)((void *)0);   7592     tmp = (char *)((void *)0);
7593   } else {   7593   } else {
7594     tmp = (char *)((size_t )__s);   7594     tmp = (char *)((size_t )__s);
7595   }   7595   }
7596   return (tmp);   7596   return (tmp);
7597 }   7597 }
7598 }   7598 }
7599 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   7599 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
7600                                    int __accept2 , int __accept3 ) ;   7600                                    int __accept2 , int __accept3 ) ;
7601 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   7601 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
7602                                    int __accept2 , int __accept3 )   7602                                    int __accept2 , int __accept3 )
7603 {   7603 {
7604   char *tmp ;   7604   char *tmp ;
7605     7605  
7606   {   7606   {
7607   while (1) {   7607   while (1) {
7608     if ((int const   )*__s != 0) {   7608     if ((int const   )*__s != 0) {
7609       if ((int const   )*__s != (int const   )__accept1) {   7609       if ((int const   )*__s != (int const   )__accept1) {
7610         if ((int const   )*__s != (int const   )__accept2) {   7610         if ((int const   )*__s != (int const   )__accept2) {
7611           if ((int const   )*__s != (int const   )__accept3) {   7611           if ((int const   )*__s != (int const   )__accept3) {
7612     7612  
7613           } else {   7613           } else {
7614             break;   7614             break;
7615           }   7615           }
7616         } else {   7616         } else {
7617           break;   7617           break;
7618         }   7618         }
7619       } else {   7619       } else {
7620         break;   7620         break;
7621       }   7621       }
7622     } else {   7622     } else {
7623       break;   7623       break;
7624     }   7624     }
7625     __s ++;   7625     __s ++;
7626   }   7626   }
7627   if ((int const   )*__s == 0) {   7627   if ((int const   )*__s == 0) {
7628     tmp = (char *)((void *)0);   7628     tmp = (char *)((void *)0);
7629   } else {   7629   } else {
7630     tmp = (char *)((size_t )__s);   7630     tmp = (char *)((size_t )__s);
7631   }   7631   }
7632   return (tmp);   7632   return (tmp);
7633 }   7633 }
7634 }   7634 }
7635 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;   7635 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;
7636 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )   7636 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )
7637 {   7637 {
7638   char *__result ;   7638   char *__result ;
7639   char *tmp ;   7639   char *tmp ;
7640   char *tmp___0 ;   7640   char *tmp___0 ;
7641     7641  
7642   {   7642   {
7643   if ((unsigned int )__s == (unsigned int )((void *)0)) {   7643   if ((unsigned int )__s == (unsigned int )((void *)0)) {
7644     __s = *__nextp;   7644     __s = *__nextp;
7645   } else {   7645   } else {
7646     7646  
7647   }   7647   }
7648   while ((int )*__s == (int )__sep) {   7648   while ((int )*__s == (int )__sep) {
7649     __s ++;   7649     __s ++;
7650   }   7650   }
7651   __result = (char *)((void *)0);   7651   __result = (char *)((void *)0);
7652   if ((int )*__s != 0) {   7652   if ((int )*__s != 0) {
7653     tmp = __s;   7653     tmp = __s;
7654     __s ++;   7654     __s ++;
7655     __result = tmp;   7655     __result = tmp;
7656     while ((int )*__s != 0) {   7656     while ((int )*__s != 0) {
7657       tmp___0 = __s;   7657       tmp___0 = __s;
7658       __s ++;   7658       __s ++;
7659       if ((int )*tmp___0 == (int )__sep) {   7659       if ((int )*tmp___0 == (int )__sep) {
7660         *(__s + -1) = (char )'\000';   7660         *(__s + -1) = (char )'\000';
7661         break;   7661         break;
7662       } else {   7662       } else {
7663     7663  
7664       }   7664       }
7665     }   7665     }
7666   } else {   7666   } else {
7667     7667  
7668   }   7668   }
7669   *__nextp = __s;   7669   *__nextp = __s;
7670   return (__result);   7670   return (__result);
7671 }   7671 }
7672 }   7672 }
7673 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;   7673 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
7674 __inline extern char *__strsep_1c(char **__s , char __reject ) ;   7674 __inline extern char *__strsep_1c(char **__s , char __reject ) ;
7675 __inline extern char *__strsep_1c(char **__s , char __reject )   7675 __inline extern char *__strsep_1c(char **__s , char __reject )
7676 {   7676 {
7677   register char *__retval ;   7677   register char *__retval ;
7678   char *tmp ;   7678   char *tmp ;
7679   char *tmp___0 ;   7679   char *tmp___0 ;
7680   void *tmp___1 ;   7680   void *tmp___1 ;
7681   char *tmp___2 ;   7681   char *tmp___2 ;
7682     7682  
7683   {   7683   {
7684   __retval = *__s;   7684   __retval = *__s;
7685   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   7685   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
7686     tmp___2 = __builtin_strchr(__retval, (int )__reject);   7686     tmp___2 = __builtin_strchr(__retval, (int )__reject);
7687     tmp___0 = tmp___2;   7687     tmp___0 = tmp___2;
7688     *__s = tmp___0;   7688     *__s = tmp___0;
7689     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   7689     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
7690       tmp = *__s;   7690       tmp = *__s;
7691       (*__s) ++;   7691       (*__s) ++;
7692       *tmp = (char )'\000';   7692       *tmp = (char )'\000';
7693     } else {   7693     } else {
7694     7694  
7695     }   7695     }
7696   } else {   7696   } else {
7697     7697  
7698   }   7698   }
7699   return (__retval);   7699   return (__retval);
7700 }   7700 }
7701 }   7701 }
7702 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;   7702 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;
7703 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )   7703 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )
7704 {   7704 {
7705   register char *__retval ;   7705   register char *__retval ;
7706   register char *__cp ;   7706   register char *__cp ;
7707   char *tmp ;   7707   char *tmp ;
7708     7708  
7709   {   7709   {
7710   __retval = *__s;   7710   __retval = *__s;
7711   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   7711   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
7712     __cp = __retval;   7712     __cp = __retval;
7713     while (1) {   7713     while (1) {
7714       if ((int )*__cp == 0) {   7714       if ((int )*__cp == 0) {
7715         __cp = (char *)((void *)0);   7715         __cp = (char *)((void *)0);
7716         break;   7716         break;
7717       } else {   7717       } else {
7718     7718  
7719       }   7719       }
7720       if ((int )*__cp == (int )__reject1) {   7720       if ((int )*__cp == (int )__reject1) {
7721         tmp = __cp;   7721         tmp = __cp;
7722         __cp ++;   7722         __cp ++;
7723         *tmp = (char )'\000';   7723         *tmp = (char )'\000';
7724         break;   7724         break;
7725       } else   7725       } else
7726       if ((int )*__cp == (int )__reject2) {   7726       if ((int )*__cp == (int )__reject2) {
7727         tmp = __cp;   7727         tmp = __cp;
7728         __cp ++;   7728         __cp ++;
7729         *tmp = (char )'\000';   7729         *tmp = (char )'\000';
7730         break;   7730         break;
7731       } else {   7731       } else {
7732     7732  
7733       }   7733       }
7734       __cp ++;   7734       __cp ++;
7735     }   7735     }
7736     *__s = __cp;   7736     *__s = __cp;
7737   } else {   7737   } else {
7738     7738  
7739   }   7739   }
7740   return (__retval);   7740   return (__retval);
7741 }   7741 }
7742 }   7742 }
7743 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   7743 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
7744                                   char __reject3 ) ;   7744                                   char __reject3 ) ;
7745 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   7745 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
7746                                   char __reject3 )   7746                                   char __reject3 )
7747 {   7747 {
7748   register char *__retval ;   7748   register char *__retval ;
7749   register char *__cp ;   7749   register char *__cp ;
7750   char *tmp ;   7750   char *tmp ;
7751     7751  
7752   {   7752   {
7753   __retval = *__s;   7753   __retval = *__s;
7754   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   7754   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
7755     __cp = __retval;   7755     __cp = __retval;
7756     while (1) {   7756     while (1) {
7757       if ((int )*__cp == 0) {   7757       if ((int )*__cp == 0) {
7758         __cp = (char *)((void *)0);   7758         __cp = (char *)((void *)0);
7759         break;   7759         break;
7760       } else {   7760       } else {
7761     7761  
7762       }   7762       }
7763       if ((int )*__cp == (int )__reject1) {   7763       if ((int )*__cp == (int )__reject1) {
7764         tmp = __cp;   7764         tmp = __cp;
7765         __cp ++;   7765         __cp ++;
7766         *tmp = (char )'\000';   7766         *tmp = (char )'\000';
7767         break;   7767         break;
7768       } else   7768       } else
7769       if ((int )*__cp == (int )__reject2) {   7769       if ((int )*__cp == (int )__reject2) {
7770         tmp = __cp;   7770         tmp = __cp;
7771         __cp ++;   7771         __cp ++;
7772         *tmp = (char )'\000';   7772         *tmp = (char )'\000';
7773         break;   7773         break;
7774       } else   7774       } else
7775       if ((int )*__cp == (int )__reject3) {   7775       if ((int )*__cp == (int )__reject3) {
7776         tmp = __cp;   7776         tmp = __cp;
7777         __cp ++;   7777         __cp ++;
7778         *tmp = (char )'\000';   7778         *tmp = (char )'\000';
7779         break;   7779         break;
7780       } else {   7780       } else {
7781     7781  
7782       }   7782       }
7783       __cp ++;   7783       __cp ++;
7784     }   7784     }
7785     *__s = __cp;   7785     *__s = __cp;
7786   } else {   7786   } else {
7787     7787  
7788   }   7788   }
7789   return (__retval);   7789   return (__retval);
7790 }   7790 }
7791 }   7791 }
7792 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;   7792 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
7793 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,   7793 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,
7794                                                      size_t __n )  __attribute__((__malloc__)) ;   7794                                                      size_t __n )  __attribute__((__malloc__)) ;
7795 extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;   7795 extern  __attribute__((__nothrow__)) unsigned short const   **__ctype_b_loc(void)  __attribute__((__const__)) ;
7796 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;   7796 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_tolower_loc(void)  __attribute__((__const__)) ;
7797 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;   7797 extern  __attribute__((__nothrow__)) __int32_t const   **__ctype_toupper_loc(void)  __attribute__((__const__)) ;
7798 extern  __attribute__((__nothrow__)) int isalnum(int  ) ;   7798 extern  __attribute__((__nothrow__)) int isalnum(int  ) ;
7799 extern  __attribute__((__nothrow__)) int isalpha(int  ) ;   7799 extern  __attribute__((__nothrow__)) int isalpha(int  ) ;
7800 extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;   7800 extern  __attribute__((__nothrow__)) int iscntrl(int  ) ;
7801 extern  __attribute__((__nothrow__)) int isdigit(int  ) ;   7801 extern  __attribute__((__nothrow__)) int isdigit(int  ) ;
7802 extern  __attribute__((__nothrow__)) int islower(int  ) ;   7802 extern  __attribute__((__nothrow__)) int islower(int  ) ;
7803 extern  __attribute__((__nothrow__)) int isgraph(int  ) ;   7803 extern  __attribute__((__nothrow__)) int isgraph(int  ) ;
7804 extern  __attribute__((__nothrow__)) int isprint(int  ) ;   7804 extern  __attribute__((__nothrow__)) int isprint(int  ) ;
7805 extern  __attribute__((__nothrow__)) int ispunct(int  ) ;   7805 extern  __attribute__((__nothrow__)) int ispunct(int  ) ;
7806 extern  __attribute__((__nothrow__)) int isspace(int  ) ;   7806 extern  __attribute__((__nothrow__)) int isspace(int  ) ;
7807 extern  __attribute__((__nothrow__)) int isupper(int  ) ;   7807 extern  __attribute__((__nothrow__)) int isupper(int  ) ;
7808 extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;   7808 extern  __attribute__((__nothrow__)) int isxdigit(int  ) ;
7809 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;   7809 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;
7810 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;   7810 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;
7811 extern  __attribute__((__nothrow__)) int isblank(int  ) ;   7811 extern  __attribute__((__nothrow__)) int isblank(int  ) ;
7812 extern  __attribute__((__nothrow__)) int isascii(int __c ) ;   7812 extern  __attribute__((__nothrow__)) int isascii(int __c ) ;
7813 extern  __attribute__((__nothrow__)) int toascii(int __c ) ;   7813 extern  __attribute__((__nothrow__)) int toascii(int __c ) ;
7814 extern  __attribute__((__nothrow__)) int _toupper(int  ) ;   7814 extern  __attribute__((__nothrow__)) int _toupper(int  ) ;
7815 extern  __attribute__((__nothrow__)) int _tolower(int  ) ;   7815 extern  __attribute__((__nothrow__)) int _tolower(int  ) ;
7816 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;   7816 __inline extern  __attribute__((__nothrow__)) int tolower(int __c ) ;
7817 __inline extern int tolower(int __c )   7817 __inline extern int tolower(int __c )
7818 {   7818 {
7819   __int32_t const   **tmp ;   7819   __int32_t const   **tmp ;
7820   __int32_t tmp___0 ;   7820   __int32_t tmp___0 ;
7821     7821  
7822   {   7822   {
7823   if (__c >= -128) {   7823   if (__c >= -128) {
7824     if (__c < 256) {   7824     if (__c < 256) {
7825       tmp = __ctype_tolower_loc();   7825       tmp = __ctype_tolower_loc();
7826       tmp___0 = *(*tmp + __c);   7826       tmp___0 = *(*tmp + __c);
7827     } else {   7827     } else {
7828       tmp___0 = (__int32_t const   )__c;   7828       tmp___0 = (__int32_t const   )__c;
7829     }   7829     }
7830   } else {   7830   } else {
7831     tmp___0 = (__int32_t const   )__c;   7831     tmp___0 = (__int32_t const   )__c;
7832   }   7832   }
7833   return ((int )tmp___0);   7833   return ((int )tmp___0);
7834 }   7834 }
7835 }   7835 }
7836 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;   7836 __inline extern  __attribute__((__nothrow__)) int toupper(int __c ) ;
7837 __inline extern int toupper(int __c )   7837 __inline extern int toupper(int __c )
7838 {   7838 {
7839   __int32_t const   **tmp ;   7839   __int32_t const   **tmp ;
7840   __int32_t tmp___0 ;   7840   __int32_t tmp___0 ;
7841     7841  
7842   {   7842   {
7843   if (__c >= -128) {   7843   if (__c >= -128) {
7844     if (__c < 256) {   7844     if (__c < 256) {
7845       tmp = __ctype_toupper_loc();   7845       tmp = __ctype_toupper_loc();
7846       tmp___0 = *(*tmp + __c);   7846       tmp___0 = *(*tmp + __c);
7847     } else {   7847     } else {
7848       tmp___0 = (__int32_t const   )__c;   7848       tmp___0 = (__int32_t const   )__c;
7849     }   7849     }
7850   } else {   7850   } else {
7851     tmp___0 = (__int32_t const   )__c;   7851     tmp___0 = (__int32_t const   )__c;
7852   }   7852   }
7853   return ((int )tmp___0);   7853   return ((int )tmp___0);
7854 }   7854 }
7855 }   7855 }
7856 extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;   7856 extern  __attribute__((__nothrow__)) int isalnum_l(int  , __locale_t  ) ;
7857 extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;   7857 extern  __attribute__((__nothrow__)) int isalpha_l(int  , __locale_t  ) ;
7858 extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;   7858 extern  __attribute__((__nothrow__)) int iscntrl_l(int  , __locale_t  ) ;
7859 extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;   7859 extern  __attribute__((__nothrow__)) int isdigit_l(int  , __locale_t  ) ;
7860 extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;   7860 extern  __attribute__((__nothrow__)) int islower_l(int  , __locale_t  ) ;
7861 extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;   7861 extern  __attribute__((__nothrow__)) int isgraph_l(int  , __locale_t  ) ;
7862 extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;   7862 extern  __attribute__((__nothrow__)) int isprint_l(int  , __locale_t  ) ;
7863 extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;   7863 extern  __attribute__((__nothrow__)) int ispunct_l(int  , __locale_t  ) ;
7864 extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;   7864 extern  __attribute__((__nothrow__)) int isspace_l(int  , __locale_t  ) ;
7865 extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;   7865 extern  __attribute__((__nothrow__)) int isupper_l(int  , __locale_t  ) ;
7866 extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;   7866 extern  __attribute__((__nothrow__)) int isxdigit_l(int  , __locale_t  ) ;
7867 extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;   7867 extern  __attribute__((__nothrow__)) int isblank_l(int  , __locale_t  ) ;
7868 extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;   7868 extern  __attribute__((__nothrow__)) int __tolower_l(int __c , __locale_t __l ) ;
7869 extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;   7869 extern  __attribute__((__nothrow__)) int tolower_l(int __c , __locale_t __l ) ;
7870 extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;   7870 extern  __attribute__((__nothrow__)) int __toupper_l(int __c , __locale_t __l ) ;
7871 extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;   7871 extern  __attribute__((__nothrow__)) int toupper_l(int __c , __locale_t __l ) ;
7872 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   7872 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
7873                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;   7873                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;
7874 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   7874 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
7875                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;   7875                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;
7876 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   7876 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
7877                                                                                                char const   * __restrict  __filename ,   7877                                                                                                char const   * __restrict  __filename ,
7878                                                                                                struct stat * __restrict  __statbuf ,   7878                                                                                                struct stat * __restrict  __statbuf ,
7879                                                                                                int __flag )  __asm__("fstatat64")  ;   7879                                                                                                int __flag )  __asm__("fstatat64")  ;
7880 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   7880 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
7881                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;   7881                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;
7882 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const   *__file ,   7882 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chmod)(char const   *__file ,
7883                                                                                   __mode_t __mode ) ;   7883                                                                                   __mode_t __mode ) ;
7884 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const   *__file ,   7884 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchmod)(char const   *__file ,
7885                                                                                    __mode_t __mode ) ;   7885                                                                                    __mode_t __mode ) ;
7886 extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;   7886 extern  __attribute__((__nothrow__)) int fchmod(int __fd , __mode_t __mode ) ;
7887 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd ,   7887 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchmodat)(int __fd ,
7888                                                                                      char const   *__file ,   7888                                                                                      char const   *__file ,
7889                                                                                      __mode_t __mode ,   7889                                                                                      __mode_t __mode ,
7890                                                                                      int __flag ) ;   7890                                                                                      int __flag ) ;
7891 extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;   7891 extern  __attribute__((__nothrow__)) __mode_t umask(__mode_t __mask ) ;
7892 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const   *__path ,   7892 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkdir)(char const   *__path ,
7893                                                                                   __mode_t __mode ) ;   7893                                                                                   __mode_t __mode ) ;
7894 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd ,   7894 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkdirat)(int __fd ,
7895                                                                                     char const   *__path ,   7895                                                                                     char const   *__path ,
7896                                                                                     __mode_t __mode ) ;   7896                                                                                     __mode_t __mode ) ;
7897 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   7897 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
7898                                                                                            __mode_t __mode ,   7898                                                                                            __mode_t __mode ,
7899                                                                                            __dev_t __dev ) ;   7899                                                                                            __dev_t __dev ) ;
7900 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   7900 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
7901                                                                                              char const   *__path ,   7901                                                                                              char const   *__path ,
7902                                                                                              __mode_t __mode ,   7902                                                                                              __mode_t __mode ,
7903                                                                                              __dev_t __dev ) ;   7903                                                                                              __dev_t __dev ) ;
7904 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const   *__path ,   7904 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mkfifo)(char const   *__path ,
7905                                                                                    __mode_t __mode ) ;   7905                                                                                    __mode_t __mode ) ;
7906 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd ,   7906 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mkfifoat)(int __fd ,
7907                                                                                      char const   *__path ,   7907                                                                                      char const   *__path ,
7908                                                                                      __mode_t __mode ) ;   7908                                                                                      __mode_t __mode ) ;
7909 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd ,   7909 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) utimensat)(int __fd ,
7910                                                                                       char const   *__path ,   7910                                                                                       char const   *__path ,
7911                                                                                       struct timespec  const  *__times ,   7911                                                                                       struct timespec  const  *__times ,
7912                                                                                       int __flags ) ;   7912                                                                                       int __flags ) ;
7913 extern  __attribute__((__nothrow__)) int futimens(int __fd ,   7913 extern  __attribute__((__nothrow__)) int futimens(int __fd ,
7914                                                   struct timespec  const  *__times ) ;   7914                                                   struct timespec  const  *__times ) ;
7915 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver ,   7915 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3))) __fxstat)(int __ver ,
7916                                                                                      int __fildes ,   7916                                                                                      int __fildes ,
7917                                                                                      struct stat *__stat_buf )  __asm__("__fxstat64")  ;   7917                                                                                      struct stat *__stat_buf )  __asm__("__fxstat64")  ;
7918 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver ,   7918 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __xstat)(int __ver ,
7919                                                                                       char const   *__filename ,   7919                                                                                       char const   *__filename ,
7920                                                                                       struct stat *__stat_buf )  __asm__("__xstat64")  ;   7920                                                                                       struct stat *__stat_buf )  __asm__("__xstat64")  ;
7921 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver ,   7921 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) __lxstat)(int __ver ,
7922                                                                                        char const   *__filename ,   7922                                                                                        char const   *__filename ,
7923                                                                                        struct stat *__stat_buf )  __asm__("__lxstat64")  ;   7923                                                                                        struct stat *__stat_buf )  __asm__("__lxstat64")  ;
7924 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver ,   7924 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4))) __fxstatat)(int __ver ,
7925                                                                                          int __fildes ,   7925                                                                                          int __fildes ,
7926                                                                                          char const   *__filename ,   7926                                                                                          char const   *__filename ,
7927                                                                                          struct stat *__stat_buf ,   7927                                                                                          struct stat *__stat_buf ,
7928                                                                                          int __flag )  __asm__("__fxstatat64")  ;   7928                                                                                          int __flag )  __asm__("__fxstatat64")  ;
7929 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver ,   7929 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) __xmknod)(int __ver ,
7930                                                                                        char const   *__path ,   7930                                                                                        char const   *__path ,
7931                                                                                        __mode_t __mode ,   7931                                                                                        __mode_t __mode ,
7932                                                                                        __dev_t *__dev ) ;   7932                                                                                        __dev_t *__dev ) ;
7933 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver ,   7933 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,5))) __xmknodat)(int __ver ,
7934                                                                                          int __fd ,   7934                                                                                          int __fd ,
7935                                                                                          char const   *__path ,   7935                                                                                          char const   *__path ,
7936                                                                                          __mode_t __mode ,   7936                                                                                          __mode_t __mode ,
7937                                                                                          __dev_t *__dev ) ;   7937                                                                                          __dev_t *__dev ) ;
7938 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   7938 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
7939                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;   7939                                                                                             struct stat * __restrict  __statbuf )  __asm__("stat64")  ;
7940 __inline extern int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,   7940 __inline extern int ( __attribute__((__nonnull__(1,2))) stat)(char const   * __restrict  __path ,
7941                                                               struct stat * __restrict  __statbuf )   7941                                                               struct stat * __restrict  __statbuf )
7942 {   7942 {
7943   int tmp ;   7943   int tmp ;
7944     7944  
7945   {   7945   {
7946   tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);   7946   tmp = __xstat(3, (char const   *)__path, (struct stat *)__statbuf);
7947   return (tmp);   7947   return (tmp);
7948 }   7948 }
7949 }   7949 }
7950 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   7950 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
7951                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;   7951                                                                                              struct stat * __restrict  __statbuf )  __asm__("lstat64")  ;
7952 __inline extern int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,   7952 __inline extern int ( __attribute__((__nonnull__(1,2))) lstat)(char const   * __restrict  __path ,
7953                                                                struct stat * __restrict  __statbuf )   7953                                                                struct stat * __restrict  __statbuf )
7954 {   7954 {
7955   int tmp ;   7955   int tmp ;
7956     7956  
7957   {   7957   {
7958   tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);   7958   tmp = __lxstat(3, (char const   *)__path, (struct stat *)__statbuf);
7959   return (tmp);   7959   return (tmp);
7960 }   7960 }
7961 }   7961 }
7962 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   7962 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
7963                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;   7963                                                                                            struct stat *__statbuf )  __asm__("fstat64")  ;
7964 __inline extern int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,   7964 __inline extern int ( __attribute__((__nonnull__(2))) fstat)(int __fd ,
7965                                                              struct stat *__statbuf )   7965                                                              struct stat *__statbuf )
7966 {   7966 {
7967   int tmp ;   7967   int tmp ;
7968     7968  
7969   {   7969   {
7970   tmp = __fxstat(3, __fd, __statbuf);   7970   tmp = __fxstat(3, __fd, __statbuf);
7971   return (tmp);   7971   return (tmp);
7972 }   7972 }
7973 }   7973 }
7974 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   7974 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
7975                                                                                                char const   * __restrict  __filename ,   7975                                                                                                char const   * __restrict  __filename ,
7976                                                                                                struct stat * __restrict  __statbuf ,   7976                                                                                                struct stat * __restrict  __statbuf ,
7977                                                                                                int __flag )  __asm__("fstatat64")  ;   7977                                                                                                int __flag )  __asm__("fstatat64")  ;
7978 __inline extern int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,   7978 __inline extern int ( __attribute__((__nonnull__(2,3))) fstatat)(int __fd ,
7979                                                                  char const   * __restrict  __filename ,   7979                                                                  char const   * __restrict  __filename ,
7980                                                                  struct stat * __restrict  __statbuf ,   7980                                                                  struct stat * __restrict  __statbuf ,
7981                                                                  int __flag )   7981                                                                  int __flag )
7982 {   7982 {
7983   int tmp ;   7983   int tmp ;
7984     7984  
7985   {   7985   {
7986   tmp = __fxstatat(3, __fd, (char const   *)__filename,   7986   tmp = __fxstatat(3, __fd, (char const   *)__filename,
7987                    (struct stat *)__statbuf, __flag);   7987                    (struct stat *)__statbuf, __flag);
7988   return (tmp);   7988   return (tmp);
7989 }   7989 }
7990 }   7990 }
7991 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   7991 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
7992                                                                                            __mode_t __mode ,   7992                                                                                            __mode_t __mode ,
7993                                                                                            __dev_t __dev ) ;   7993                                                                                            __dev_t __dev ) ;
7994 __inline extern int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,   7994 __inline extern int ( __attribute__((__nonnull__(1))) mknod)(char const   *__path ,
7995                                                              __mode_t __mode ,   7995                                                              __mode_t __mode ,
7996                                                              __dev_t __dev )   7996                                                              __dev_t __dev )
7997 {   7997 {
7998   int tmp ;   7998   int tmp ;
7999     7999  
8000   {   8000   {
8001   tmp = __xmknod(1, __path, __mode, & __dev);   8001   tmp = __xmknod(1, __path, __mode, & __dev);
8002   return (tmp);   8002   return (tmp);
8003 }   8003 }
8004 }   8004 }
8005 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   8005 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
8006                                                                                              char const   *__path ,   8006                                                                                              char const   *__path ,
8007                                                                                              __mode_t __mode ,   8007                                                                                              __mode_t __mode ,
8008                                                                                              __dev_t __dev ) ;   8008                                                                                              __dev_t __dev ) ;
8009 __inline extern int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,   8009 __inline extern int ( __attribute__((__nonnull__(2))) mknodat)(int __fd ,
8010                                                                char const   *__path ,   8010                                                                char const   *__path ,
8011                                                                __mode_t __mode ,   8011                                                                __mode_t __mode ,
8012                                                                __dev_t __dev )   8012                                                                __dev_t __dev )
8013 {   8013 {
8014   int tmp ;   8014   int tmp ;
8015     8015  
8016   {   8016   {
8017   tmp = __xmknodat(1, __fd, __path, __mode, & __dev);   8017   tmp = __xmknodat(1, __fd, __path, __mode, & __dev);
8018   return (tmp);   8018   return (tmp);
8019 }   8019 }
8020 }   8020 }
8021 extern int fcntl(int __fd , int __cmd  , ...) ;   8021 extern int fcntl(int __fd , int __cmd  , ...) ;
8022 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,   8022 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,
8023                                                    int __oflag  , ...)  __asm__("open64")  ;   8023                                                    int __oflag  , ...)  __asm__("open64")  ;
8024 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,   8024 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,
8025                                                      char const   *__file ,   8025                                                      char const   *__file ,
8026                                                      int __oflag  , ...)  __asm__("openat64")  ;   8026                                                      int __oflag  , ...)  __asm__("openat64")  ;
8027 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,   8027 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,
8028                                                     __mode_t __mode )  __asm__("creat64")  ;   8028                                                     __mode_t __mode )  __asm__("creat64")  ;
8029 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;   8029 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;
8030 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,   8030 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,
8031                                                        __off64_t __offset ,   8031                                                        __off64_t __offset ,
8032                                                        __off64_t __len ,   8032                                                        __off64_t __len ,
8033                                                        int __advise )  __asm__("posix_fadvise64")  ;   8033                                                        int __advise )  __asm__("posix_fadvise64")  ;
8034 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;   8034 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;
8035 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,   8035 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) access)(char const   *__name ,
8036                                                                                    int __type ) ;   8036                                                                                    int __type ) ;
8037 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,   8037 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) faccessat)(int __fd ,
8038                                                                                       char const   *__file ,   8038                                                                                       char const   *__file ,
8039                                                                                       int __type ,   8039                                                                                       int __type ,
8040                                                                                       int __flag ) ;   8040                                                                                       int __flag ) ;
8041 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,   8041 extern  __attribute__((__nothrow__)) __off64_t lseek(int __fd ,
8042                                                      __off64_t __offset ,   8042                                                      __off64_t __offset ,
8043                                                      int __whence )  __asm__("lseek64")  ;   8043                                                      int __whence )  __asm__("lseek64")  ;
8044 extern int close(int __fd ) ;   8044 extern int close(int __fd ) ;
8045 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;   8045 extern ssize_t read(int __fd , void *__buf , size_t __nbytes ) ;
8046 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;   8046 extern ssize_t write(int __fd , void const   *__buf , size_t __n ) ;
8047 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,   8047 extern ssize_t pread(int __fd , void *__buf , size_t __nbytes ,
8048                      __off64_t __offset )  __asm__("pread64")  ;   8048                      __off64_t __offset )  __asm__("pread64")  ;
8049 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,   8049 extern ssize_t pwrite(int __fd , void const   *__buf , size_t __nbytes ,
8050                       __off64_t __offset )  __asm__("pwrite64")  ;   8050                       __off64_t __offset )  __asm__("pwrite64")  ;
8051 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;   8051 extern  __attribute__((__nothrow__)) int pipe(int *__pipedes ) ;
8052 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;   8052 extern  __attribute__((__nothrow__)) unsigned int alarm(unsigned int __seconds ) ;
8053 extern unsigned int sleep(unsigned int __seconds ) ;   8053 extern unsigned int sleep(unsigned int __seconds ) ;
8054 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,   8054 extern  __attribute__((__nothrow__)) __useconds_t ualarm(__useconds_t __value ,
8055                                                          __useconds_t __interval ) ;   8055                                                          __useconds_t __interval ) ;
8056 extern int usleep(__useconds_t __useconds ) ;   8056 extern int usleep(__useconds_t __useconds ) ;
8057 extern int pause(void) ;   8057 extern int pause(void) ;
8058 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,   8058 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chown)(char const   *__file ,
8059                                                                                   __uid_t __owner ,   8059                                                                                   __uid_t __owner ,
8060                                                                                   __gid_t __group ) ;   8060                                                                                   __gid_t __group ) ;
8061 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,   8061 extern  __attribute__((__nothrow__)) int fchown(int __fd , __uid_t __owner ,
8062                                                 __gid_t __group ) ;   8062                                                 __gid_t __group ) ;
8063 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,   8063 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lchown)(char const   *__file ,
8064                                                                                    __uid_t __owner ,   8064                                                                                    __uid_t __owner ,
8065                                                                                    __gid_t __group ) ;   8065                                                                                    __gid_t __group ) ;
8066 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,   8066 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fchownat)(int __fd ,
8067                                                                                      char const   *__file ,   8067                                                                                      char const   *__file ,
8068                                                                                      __uid_t __owner ,   8068                                                                                      __uid_t __owner ,
8069                                                                                      __gid_t __group ,   8069                                                                                      __gid_t __group ,
8070                                                                                      int __flag ) ;   8070                                                                                      int __flag ) ;
8071 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;   8071 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chdir)(char const   *__path ) ;
8072 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;   8072 extern  __attribute__((__nothrow__)) int fchdir(int __fd ) ;
8073 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;   8073 extern  __attribute__((__nothrow__)) char *getcwd(char *__buf , size_t __size ) ;
8074 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;   8074 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getwd)(char *__buf )  __attribute__((__deprecated__)) ;
8075 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;   8075 extern  __attribute__((__nothrow__)) int dup(int __fd ) ;
8076 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;   8076 extern  __attribute__((__nothrow__)) int dup2(int __fd , int __fd2 ) ;
8077 extern char **__environ ;   8077 extern char **__environ ;
8078 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,   8078 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execve)(char const   *__path ,
8079                                                                                      char * const  *__argv ,   8079                                                                                      char * const  *__argv ,
8080                                                                                      char * const  *__envp ) ;   8080                                                                                      char * const  *__envp ) ;
8081 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,   8081 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) fexecve)(int __fd ,
8082                                                                                     char * const  *__argv ,   8082                                                                                     char * const  *__argv ,
8083                                                                                     char * const  *__envp ) ;   8083                                                                                     char * const  *__envp ) ;
8084 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,   8084 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execv)(char const   *__path ,
8085                                                                                     char * const  *__argv ) ;   8085                                                                                     char * const  *__argv ) ;
8086 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,   8086 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execle)(char const   *__path ,
8087                                                                                      char const   *__arg   8087                                                                                      char const   *__arg
8088                                                                                      , ...) ;   8088                                                                                      , ...) ;
8089 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,   8089 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execl)(char const   *__path ,
8090                                                                                     char const   *__arg   8090                                                                                     char const   *__arg
8091                                                                                     , ...) ;   8091                                                                                     , ...) ;
8092 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,   8092 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execvp)(char const   *__file ,
8093                                                                                      char * const  *__argv ) ;   8093                                                                                      char * const  *__argv ) ;
8094 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,   8094 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) execlp)(char const   *__file ,
8095                                                                                      char const   *__arg   8095                                                                                      char const   *__arg
8096                                                                                      , ...) ;   8096                                                                                      , ...) ;
8097 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;   8097 extern  __attribute__((__nothrow__)) int nice(int __inc ) ;
8098 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;   8098 extern  __attribute__((__noreturn__)) void _exit(int __status ) ;
8099 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,   8099 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) pathconf)(char const   *__path ,
8100                                                                                       int __name ) ;   8100                                                                                       int __name ) ;
8101 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;   8101 extern  __attribute__((__nothrow__)) long fpathconf(int __fd , int __name ) ;
8102 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;   8102 extern  __attribute__((__nothrow__)) long sysconf(int __name ) ;
8103 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,   8103 extern  __attribute__((__nothrow__)) size_t confstr(int __name , char *__buf ,
8104                                                     size_t __len ) ;   8104                                                     size_t __len ) ;
8105 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;   8105 extern  __attribute__((__nothrow__)) __pid_t getpid(void) ;
8106 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;   8106 extern  __attribute__((__nothrow__)) __pid_t getppid(void) ;
8107 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;   8107 extern  __attribute__((__nothrow__)) __pid_t getpgrp(void) ;
8108 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;   8108 extern  __attribute__((__nothrow__)) __pid_t __getpgid(__pid_t __pid ) ;
8109 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;   8109 extern  __attribute__((__nothrow__)) __pid_t getpgid(__pid_t __pid ) ;
8110 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;   8110 extern  __attribute__((__nothrow__)) int setpgid(__pid_t __pid , __pid_t __pgid ) ;
8111 extern  __attribute__((__nothrow__)) int setpgrp(void) ;   8111 extern  __attribute__((__nothrow__)) int setpgrp(void) ;
8112 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;   8112 extern  __attribute__((__nothrow__)) __pid_t setsid(void) ;
8113 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;   8113 extern  __attribute__((__nothrow__)) __pid_t getsid(__pid_t __pid ) ;
8114 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;   8114 extern  __attribute__((__nothrow__)) __uid_t getuid(void) ;
8115 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;   8115 extern  __attribute__((__nothrow__)) __uid_t geteuid(void) ;
8116 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;   8116 extern  __attribute__((__nothrow__)) __gid_t getgid(void) ;
8117 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;   8117 extern  __attribute__((__nothrow__)) __gid_t getegid(void) ;
8118 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;   8118 extern  __attribute__((__nothrow__)) int getgroups(int __size , __gid_t *__list ) ;
8119 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;   8119 extern  __attribute__((__nothrow__)) int setuid(__uid_t __uid ) ;
8120 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,   8120 extern  __attribute__((__nothrow__)) int setreuid(__uid_t __ruid ,
8121                                                   __uid_t __euid ) ;   8121                                                   __uid_t __euid ) ;
8122 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;   8122 extern  __attribute__((__nothrow__)) int seteuid(__uid_t __uid ) ;
8123 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;   8123 extern  __attribute__((__nothrow__)) int setgid(__gid_t __gid ) ;
8124 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,   8124 extern  __attribute__((__nothrow__)) int setregid(__gid_t __rgid ,
8125                                                   __gid_t __egid ) ;   8125                                                   __gid_t __egid ) ;
8126 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;   8126 extern  __attribute__((__nothrow__)) int setegid(__gid_t __gid ) ;
8127 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;   8127 extern  __attribute__((__nothrow__)) __pid_t fork(void) ;
8128 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;   8128 extern  __attribute__((__nothrow__)) __pid_t vfork(void) ;
8129 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;   8129 extern  __attribute__((__nothrow__)) char *ttyname(int __fd ) ;
8130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,   8130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) ttyname_r)(int __fd ,
8131                                                                                       char *__buf ,   8131                                                                                       char *__buf ,
8132                                                                                       size_t __buflen ) ;   8132                                                                                       size_t __buflen ) ;
8133 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;   8133 extern  __attribute__((__nothrow__)) int isatty(int __fd ) ;
8134 extern  __attribute__((__nothrow__)) int ttyslot(void) ;   8134 extern  __attribute__((__nothrow__)) int ttyslot(void) ;
8135 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,   8135 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) link)(char const   *__from ,
8136                                                                                    char const   *__to ) ;   8136                                                                                    char const   *__to ) ;
8137 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,   8137 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) linkat)(int __fromfd ,
8138                                                                                      char const   *__from ,   8138                                                                                      char const   *__from ,
8139                                                                                      int __tofd ,   8139                                                                                      int __tofd ,
8140                                                                                      char const   *__to ,   8140                                                                                      char const   *__to ,
8141                                                                                      int __flags ) ;   8141                                                                                      int __flags ) ;
8142 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,   8142 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) symlink)(char const   *__from ,
8143                                                                                       char const   *__to ) ;   8143                                                                                       char const   *__to ) ;
8144 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,   8144 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(1,2))) readlink)(char const   * __restrict  __path ,
8145                                                                                            char * __restrict  __buf ,   8145                                                                                            char * __restrict  __buf ,
8146                                                                                            size_t __len ) ;   8146                                                                                            size_t __len ) ;
8147 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,   8147 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,3))) symlinkat)(char const   *__from ,
8148                                                                                         int __tofd ,   8148                                                                                         int __tofd ,
8149                                                                                         char const   *__to ) ;   8149                                                                                         char const   *__to ) ;
8150 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,   8150 extern  __attribute__((__nothrow__)) ssize_t ( __attribute__((__nonnull__(2,3))) readlinkat)(int __fd ,
8151                                                                                              char const   * __restrict  __path ,   8151                                                                                              char const   * __restrict  __path ,
8152                                                                                              char * __restrict  __buf ,   8152                                                                                              char * __restrict  __buf ,
8153                                                                                              size_t __len ) ;   8153                                                                                              size_t __len ) ;
8154 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;   8154 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unlink)(char const   *__name ) ;
8155 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,   8155 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) unlinkat)(int __fd ,
8156                                                                                      char const   *__name ,   8156                                                                                      char const   *__name ,
8157                                                                                      int __flag ) ;   8157                                                                                      int __flag ) ;
8158 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;   8158 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rmdir)(char const   *__path ) ;
8159 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;   8159 extern  __attribute__((__nothrow__)) __pid_t tcgetpgrp(int __fd ) ;
8160 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;   8160 extern  __attribute__((__nothrow__)) int tcsetpgrp(int __fd , __pid_t __pgrp_id ) ;
8161 extern char *getlogin(void) ;   8161 extern char *getlogin(void) ;
8162 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,   8162 extern int ( __attribute__((__nonnull__(1))) getlogin_r)(char *__name ,
8163                                                          size_t __name_len ) ;   8163                                                          size_t __name_len ) ;
8164 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;   8164 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setlogin)(char const   *__name ) ;
8165 extern char *optarg ;   8165 extern char *optarg ;
8166 extern int optind ;   8166 extern int optind ;
8167 extern int opterr ;   8167 extern int opterr ;
8168 extern int optopt ;   8168 extern int optopt ;
8169 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,   8169 extern  __attribute__((__nothrow__)) int getopt(int ___argc ,
8170                                                 char * const  *___argv ,   8170                                                 char * const  *___argv ,
8171                                                 char const   *__shortopts ) ;   8171                                                 char const   *__shortopts ) ;
8172 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,   8172 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gethostname)(char *__name ,
8173                                                                                         size_t __len ) ;   8173                                                                                         size_t __len ) ;
8174 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,   8174 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) sethostname)(char const   *__name ,
8175                                                                                         size_t __len ) ;   8175                                                                                         size_t __len ) ;
8176 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;   8176 extern  __attribute__((__nothrow__)) int sethostid(long __id ) ;
8177 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,   8177 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getdomainname)(char *__name ,
8178                                                                                           size_t __len ) ;   8178                                                                                           size_t __len ) ;
8179 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,   8179 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) setdomainname)(char const   *__name ,
8180                                                                                           size_t __len ) ;   8180                                                                                           size_t __len ) ;
8181 extern  __attribute__((__nothrow__)) int vhangup(void) ;   8181 extern  __attribute__((__nothrow__)) int vhangup(void) ;
8182 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;   8182 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) revoke)(char const   *__file ) ;
8183 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,   8183 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) profil)(unsigned short *__sample_buffer ,
8184                                                                                    size_t __size ,   8184                                                                                    size_t __size ,
8185                                                                                    size_t __offset ,   8185                                                                                    size_t __offset ,
8186                                                                                    unsigned int __scale ) ;   8186                                                                                    unsigned int __scale ) ;
8187 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;   8187 extern  __attribute__((__nothrow__)) int acct(char const   *__name ) ;
8188 extern  __attribute__((__nothrow__)) char *getusershell(void) ;   8188 extern  __attribute__((__nothrow__)) char *getusershell(void) ;
8189 extern  __attribute__((__nothrow__)) void endusershell(void) ;   8189 extern  __attribute__((__nothrow__)) void endusershell(void) ;
8190 extern  __attribute__((__nothrow__)) void setusershell(void) ;   8190 extern  __attribute__((__nothrow__)) void setusershell(void) ;
8191 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;   8191 extern  __attribute__((__nothrow__)) int daemon(int __nochdir , int __noclose ) ;
8192 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;   8192 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) chroot)(char const   *__path ) ;
8193 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;   8193 extern char *( __attribute__((__nonnull__(1))) getpass)(char const   *__prompt ) ;
8194 extern int fsync(int __fd ) ;   8194 extern int fsync(int __fd ) ;
8195 extern long gethostid(void) ;   8195 extern long gethostid(void) ;
8196 extern  __attribute__((__nothrow__)) void sync(void) ;   8196 extern  __attribute__((__nothrow__)) void sync(void) ;
8197 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;   8197 extern  __attribute__((__nothrow__)) int getpagesize(void)  __attribute__((__const__)) ;
8198 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;   8198 extern  __attribute__((__nothrow__)) int getdtablesize(void) ;
8199 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,   8199 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) truncate)(char const   *__file ,
8200                                                                                      __off64_t __length )  __asm__("truncate64")  ;   8200                                                                                      __off64_t __length )  __asm__("truncate64")  ;
8201 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,   8201 extern  __attribute__((__nothrow__)) int ftruncate(int __fd ,
8202                                                    __off64_t __length )  __asm__("ftruncate64")  ;   8202                                                    __off64_t __length )  __asm__("ftruncate64")  ;
8203 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;   8203 extern  __attribute__((__nothrow__)) int brk(void *__addr ) ;
8204 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;   8204 extern  __attribute__((__nothrow__)) void *sbrk(intptr_t __delta ) ;
8205 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;   8205 extern  __attribute__((__nothrow__)) long syscall(long __sysno  , ...) ;
8206 extern int fdatasync(int __fildes ) ;   8206 extern int fdatasync(int __fildes ) ;
8207 extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;   8207 extern ssize_t readv(int __fd , struct iovec  const  *__iovec , int __count ) ;
8208 extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;   8208 extern ssize_t writev(int __fd , struct iovec  const  *__iovec , int __count ) ;
8209 extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count ,   8209 extern ssize_t preadv(int __fd , struct iovec  const  *__iovec , int __count ,
8210                       __off64_t __offset )  __asm__("preadv64")  ;   8210                       __off64_t __offset )  __asm__("preadv64")  ;
8211 extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count ,   8211 extern ssize_t pwritev(int __fd , struct iovec  const  *__iovec , int __count ,
8212                        __off64_t __offset )  __asm__("pwritev64")  ;   8212                        __off64_t __offset )  __asm__("pwritev64")  ;
8213 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,   8213 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,
8214                                                                             struct cmsghdr *__cmsg ) ;   8214                                                                             struct cmsghdr *__cmsg ) ;
8215 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,   8215 __inline extern  __attribute__((__nothrow__)) struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,
8216                                                                             struct cmsghdr *__cmsg ) ;   8216                                                                             struct cmsghdr *__cmsg ) ;
8217 __inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,   8217 __inline extern struct cmsghdr *__cmsg_nxthdr(struct msghdr *__mhdr ,
8218                                               struct cmsghdr *__cmsg )   8218                                               struct cmsghdr *__cmsg )
8219 {   8219 {
8220     8220  
8221     8221  
8222   {   8222   {
8223   if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {   8223   if (__cmsg->cmsg_len < sizeof(struct cmsghdr )) {
8224     return ((struct cmsghdr *)0);   8224     return ((struct cmsghdr *)0);
8225   } else {   8225   } else {
8226     8226  
8227   }   8227   }
8228   __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));   8228   __cmsg = (struct cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U)));
8229   if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {   8229   if ((unsigned int )((unsigned char *)(__cmsg + 1)) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
8230     return ((struct cmsghdr *)0);   8230     return ((struct cmsghdr *)0);
8231   } else   8231   } else
8232   if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {   8232   if ((unsigned int )((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(size_t )) - 1U) & ~ (sizeof(size_t ) - 1U))) > (unsigned int )((unsigned char *)__mhdr->msg_control + __mhdr->msg_controllen)) {
8233     return ((struct cmsghdr *)0);   8233     return ((struct cmsghdr *)0);
8234   } else {   8234   } else {
8235     8235  
8236   }   8236   }
8237   return (__cmsg);   8237   return (__cmsg);
8238 }   8238 }
8239 }   8239 }
8240 extern int recvmmsg(int __fd , struct mmsghdr *__vmessages ,   8240 extern int recvmmsg(int __fd , struct mmsghdr *__vmessages ,
8241                     unsigned int __vlen , int __flags ,   8241                     unsigned int __vlen , int __flags ,
8242                     struct timespec  const  *__tmo ) ;   8242                     struct timespec  const  *__tmo ) ;
8243 extern  __attribute__((__nothrow__)) int socket(int __domain , int __type ,   8243 extern  __attribute__((__nothrow__)) int socket(int __domain , int __type ,
8244                                                 int __protocol ) ;   8244                                                 int __protocol ) ;
8245 extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type ,   8245 extern  __attribute__((__nothrow__)) int socketpair(int __domain , int __type ,
8246                                                     int __protocol , int *__fds ) ;   8246                                                     int __protocol , int *__fds ) ;
8247 extern  __attribute__((__nothrow__)) int bind(int __fd ,   8247 extern  __attribute__((__nothrow__)) int bind(int __fd ,
8248                                               struct sockaddr  const  *__addr ,   8248                                               struct sockaddr  const  *__addr ,
8249                                               socklen_t __len ) ;   8249                                               socklen_t __len ) ;
8250 extern  __attribute__((__nothrow__)) int getsockname(int __fd ,   8250 extern  __attribute__((__nothrow__)) int getsockname(int __fd ,
8251                                                      struct sockaddr * __restrict  __addr ,   8251                                                      struct sockaddr * __restrict  __addr ,
8252                                                      socklen_t * __restrict  __len ) ;   8252                                                      socklen_t * __restrict  __len ) ;
8253 extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;   8253 extern int connect(int __fd , struct sockaddr  const  *__addr , socklen_t __len ) ;
8254 extern  __attribute__((__nothrow__)) int getpeername(int __fd ,   8254 extern  __attribute__((__nothrow__)) int getpeername(int __fd ,
8255                                                      struct sockaddr * __restrict  __addr ,   8255                                                      struct sockaddr * __restrict  __addr ,
8256                                                      socklen_t * __restrict  __len ) ;   8256                                                      socklen_t * __restrict  __len ) ;
8257 extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;   8257 extern ssize_t send(int __fd , void const   *__buf , size_t __n , int __flags ) ;
8258 extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;   8258 extern ssize_t recv(int __fd , void *__buf , size_t __n , int __flags ) ;
8259 extern ssize_t sendto(int __fd , void const   *__buf , size_t __n ,   8259 extern ssize_t sendto(int __fd , void const   *__buf , size_t __n ,
8260                       int __flags , struct sockaddr  const  *__addr ,   8260                       int __flags , struct sockaddr  const  *__addr ,
8261                       socklen_t __addr_len ) ;   8261                       socklen_t __addr_len ) ;
8262 extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n ,   8262 extern ssize_t recvfrom(int __fd , void * __restrict  __buf , size_t __n ,
8263                         int __flags , struct sockaddr * __restrict  __addr ,   8263                         int __flags , struct sockaddr * __restrict  __addr ,
8264                         socklen_t * __restrict  __addr_len ) ;   8264                         socklen_t * __restrict  __addr_len ) ;
8265 extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message ,   8265 extern ssize_t sendmsg(int __fd , struct msghdr  const  *__message ,
8266                        int __flags ) ;   8266                        int __flags ) ;
8267 extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;   8267 extern ssize_t recvmsg(int __fd , struct msghdr *__message , int __flags ) ;
8268 extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level ,   8268 extern  __attribute__((__nothrow__)) int getsockopt(int __fd , int __level ,
8269                                                     int __optname ,   8269                                                     int __optname ,
8270                                                     void * __restrict  __optval ,   8270                                                     void * __restrict  __optval ,
8271                                                     socklen_t * __restrict  __optlen ) ;   8271                                                     socklen_t * __restrict  __optlen ) ;
8272 extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level ,   8272 extern  __attribute__((__nothrow__)) int setsockopt(int __fd , int __level ,
8273                                                     int __optname ,   8273                                                     int __optname ,
8274                                                     void const   *__optval ,   8274                                                     void const   *__optval ,
8275                                                     socklen_t __optlen ) ;   8275                                                     socklen_t __optlen ) ;
8276 extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;   8276 extern  __attribute__((__nothrow__)) int listen(int __fd , int __n ) ;
8277 extern int accept(int __fd , struct sockaddr * __restrict  __addr ,   8277 extern int accept(int __fd , struct sockaddr * __restrict  __addr ,
8278                   socklen_t * __restrict  __addr_len ) ;   8278                   socklen_t * __restrict  __addr_len ) ;
8279 extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;   8279 extern  __attribute__((__nothrow__)) int shutdown(int __fd , int __how ) ;
8280 extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;   8280 extern  __attribute__((__nothrow__)) int sockatmark(int __fd ) ;
8281 extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;   8281 extern  __attribute__((__nothrow__)) int isfdtype(int __fd , int __fdtype ) ;
8282 extern struct in6_addr  const  in6addr_any ;   8282 extern struct in6_addr  const  in6addr_any ;
8283 extern struct in6_addr  const  in6addr_loopback ;   8283 extern struct in6_addr  const  in6addr_loopback ;
8284 extern  __attribute__((__nothrow__)) uint32_t ntohl(uint32_t __netlong )  __attribute__((__const__)) ;   8284 extern  __attribute__((__nothrow__)) uint32_t ntohl(uint32_t __netlong )  __attribute__((__const__)) ;
8285 extern  __attribute__((__nothrow__)) uint16_t ntohs(uint16_t __netshort )  __attribute__((__const__)) ;   8285 extern  __attribute__((__nothrow__)) uint16_t ntohs(uint16_t __netshort )  __attribute__((__const__)) ;
8286 extern  __attribute__((__nothrow__)) uint32_t htonl(uint32_t __hostlong )  __attribute__((__const__)) ;   8286 extern  __attribute__((__nothrow__)) uint32_t htonl(uint32_t __hostlong )  __attribute__((__const__)) ;
8287 extern  __attribute__((__nothrow__)) uint16_t htons(uint16_t __hostshort )  __attribute__((__const__)) ;   8287 extern  __attribute__((__nothrow__)) uint16_t htons(uint16_t __hostshort )  __attribute__((__const__)) ;
8288 extern  __attribute__((__nothrow__)) int bindresvport(int __sockfd ,   8288 extern  __attribute__((__nothrow__)) int bindresvport(int __sockfd ,
8289                                                       struct sockaddr_in *__sock_in ) ;   8289                                                       struct sockaddr_in *__sock_in ) ;
8290 extern  __attribute__((__nothrow__)) int bindresvport6(int __sockfd ,   8290 extern  __attribute__((__nothrow__)) int bindresvport6(int __sockfd ,
8291                                                        struct sockaddr_in6 *__sock_in ) ;   8291                                                        struct sockaddr_in6 *__sock_in ) ;
8292 extern  __attribute__((__nothrow__)) in_addr_t inet_addr(char const   *__cp ) ;   8292 extern  __attribute__((__nothrow__)) in_addr_t inet_addr(char const   *__cp ) ;
8293 extern  __attribute__((__nothrow__)) in_addr_t inet_lnaof(struct in_addr __in ) ;   8293 extern  __attribute__((__nothrow__)) in_addr_t inet_lnaof(struct in_addr __in ) ;
8294 extern  __attribute__((__nothrow__)) struct in_addr inet_makeaddr(in_addr_t __net ,   8294 extern  __attribute__((__nothrow__)) struct in_addr inet_makeaddr(in_addr_t __net ,
8295                                                                   in_addr_t __host ) ;   8295                                                                   in_addr_t __host ) ;
8296 extern  __attribute__((__nothrow__)) in_addr_t inet_netof(struct in_addr __in ) ;   8296 extern  __attribute__((__nothrow__)) in_addr_t inet_netof(struct in_addr __in ) ;
8297 extern  __attribute__((__nothrow__)) in_addr_t inet_network(char const   *__cp ) ;   8297 extern  __attribute__((__nothrow__)) in_addr_t inet_network(char const   *__cp ) ;
8298 extern  __attribute__((__nothrow__)) char *inet_ntoa(struct in_addr __in ) ;   8298 extern  __attribute__((__nothrow__)) char *inet_ntoa(struct in_addr __in ) ;
8299 extern  __attribute__((__nothrow__)) int inet_pton(int __af ,   8299 extern  __attribute__((__nothrow__)) int inet_pton(int __af ,
8300                                                    char const   * __restrict  __cp ,   8300                                                    char const   * __restrict  __cp ,
8301                                                    void * __restrict  __buf ) ;   8301                                                    void * __restrict  __buf ) ;
8302 extern  __attribute__((__nothrow__)) char const   *inet_ntop(int __af ,   8302 extern  __attribute__((__nothrow__)) char const   *inet_ntop(int __af ,
8303                                                              void const   * __restrict  __cp ,   8303                                                              void const   * __restrict  __cp ,
8304                                                              char * __restrict  __buf ,   8304                                                              char * __restrict  __buf ,
8305                                                              socklen_t __len ) ;   8305                                                              socklen_t __len ) ;
8306 extern  __attribute__((__nothrow__)) int inet_aton(char const   *__cp ,   8306 extern  __attribute__((__nothrow__)) int inet_aton(char const   *__cp ,
8307                                                    struct in_addr *__inp ) ;   8307                                                    struct in_addr *__inp ) ;
8308 extern  __attribute__((__nothrow__)) char *inet_neta(in_addr_t __net ,   8308 extern  __attribute__((__nothrow__)) char *inet_neta(in_addr_t __net ,
8309                                                      char *__buf , size_t __len ) ;   8309                                                      char *__buf , size_t __len ) ;
8310 extern  __attribute__((__nothrow__)) char *inet_net_ntop(int __af ,   8310 extern  __attribute__((__nothrow__)) char *inet_net_ntop(int __af ,
8311                                                          void const   *__cp ,   8311                                                          void const   *__cp ,
8312                                                          int __bits ,   8312                                                          int __bits ,
8313                                                          char *__buf ,   8313                                                          char *__buf ,
8314                                                          size_t __len ) ;   8314                                                          size_t __len ) ;
8315 extern  __attribute__((__nothrow__)) int inet_net_pton(int __af ,   8315 extern  __attribute__((__nothrow__)) int inet_net_pton(int __af ,
8316                                                        char const   *__cp ,   8316                                                        char const   *__cp ,
8317                                                        void *__buf ,   8317                                                        void *__buf ,
8318                                                        size_t __len ) ;   8318                                                        size_t __len ) ;
8319 extern  __attribute__((__nothrow__)) unsigned int inet_nsap_addr(char const   *__cp ,   8319 extern  __attribute__((__nothrow__)) unsigned int inet_nsap_addr(char const   *__cp ,
8320                                                                  unsigned char *__buf ,   8320                                                                  unsigned char *__buf ,
8321                                                                  int __len ) ;   8321                                                                  int __len ) ;
8322 extern  __attribute__((__nothrow__)) char *inet_nsap_ntoa(int __len ,   8322 extern  __attribute__((__nothrow__)) char *inet_nsap_ntoa(int __len ,
8323                                                           unsigned char const   *__cp ,   8323                                                           unsigned char const   *__cp ,
8324                                                           char *__buf ) ;   8324                                                           char *__buf ) ;
8325 extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;   8325 extern  __attribute__((__nothrow__)) int *__errno_location(void)  __attribute__((__const__)) ;
8326 extern  __attribute__((__nothrow__)) int getopt_long(int ___argc ,   8326 extern  __attribute__((__nothrow__)) int getopt_long(int ___argc ,
8327                                                      char * const  *___argv ,   8327                                                      char * const  *___argv ,
8328                                                      char const   *__shortopts ,   8328                                                      char const   *__shortopts ,
8329                                                      struct option  const  *__longopts ,   8329                                                      struct option  const  *__longopts ,
8330                                                      int *__longind ) ;   8330                                                      int *__longind ) ;
8331 extern  __attribute__((__nothrow__)) int getopt_long_only(int ___argc ,   8331 extern  __attribute__((__nothrow__)) int getopt_long_only(int ___argc ,
8332                                                           char * const  *___argv ,   8332                                                           char * const  *___argv ,
8333                                                           char const   *__shortopts ,   8333                                                           char const   *__shortopts ,
8334                                                           struct option  const  *__longopts ,   8334                                                           struct option  const  *__longopts ,
8335                                                           int *__longind ) ;   8335                                                           int *__longind ) ;
8336 extern  __attribute__((__nothrow__)) void setrpcent(int __stayopen ) ;   8336 extern  __attribute__((__nothrow__)) void setrpcent(int __stayopen ) ;
8337 extern  __attribute__((__nothrow__)) void endrpcent(void) ;   8337 extern  __attribute__((__nothrow__)) void endrpcent(void) ;
8338 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbyname(char const   *__name ) ;   8338 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbyname(char const   *__name ) ;
8339 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbynumber(int __number ) ;   8339 extern  __attribute__((__nothrow__)) struct rpcent *getrpcbynumber(int __number ) ;
8340 extern  __attribute__((__nothrow__)) struct rpcent *getrpcent(void) ;   8340 extern  __attribute__((__nothrow__)) struct rpcent *getrpcent(void) ;
8341 extern  __attribute__((__nothrow__)) int getrpcbyname_r(char const   *__name ,   8341 extern  __attribute__((__nothrow__)) int getrpcbyname_r(char const   *__name ,
8342                                                         struct rpcent *__result_buf ,   8342                                                         struct rpcent *__result_buf ,
8343                                                         char *__buffer ,   8343                                                         char *__buffer ,
8344                                                         size_t __buflen ,   8344                                                         size_t __buflen ,
8345                                                         struct rpcent **__result ) ;   8345                                                         struct rpcent **__result ) ;
8346 extern  __attribute__((__nothrow__)) int getrpcbynumber_r(int __number ,   8346 extern  __attribute__((__nothrow__)) int getrpcbynumber_r(int __number ,
8347                                                           struct rpcent *__result_buf ,   8347                                                           struct rpcent *__result_buf ,
8348                                                           char *__buffer ,   8348                                                           char *__buffer ,
8349                                                           size_t __buflen ,   8349                                                           size_t __buflen ,
8350                                                           struct rpcent **__result ) ;   8350                                                           struct rpcent **__result ) ;
8351 extern  __attribute__((__nothrow__)) int getrpcent_r(struct rpcent *__result_buf ,   8351 extern  __attribute__((__nothrow__)) int getrpcent_r(struct rpcent *__result_buf ,
8352                                                      char *__buffer ,   8352                                                      char *__buffer ,
8353                                                      size_t __buflen ,   8353                                                      size_t __buflen ,
8354                                                      struct rpcent **__result ) ;   8354                                                      struct rpcent **__result ) ;
8355 extern  __attribute__((__nothrow__)) int *__h_errno_location(void)  __attribute__((__const__)) ;   8355 extern  __attribute__((__nothrow__)) int *__h_errno_location(void)  __attribute__((__const__)) ;
8356 extern  __attribute__((__nothrow__)) void herror(char const   *__str ) ;   8356 extern  __attribute__((__nothrow__)) void herror(char const   *__str ) ;
8357 extern  __attribute__((__nothrow__)) char const   *hstrerror(int __err_num ) ;   8357 extern  __attribute__((__nothrow__)) char const   *hstrerror(int __err_num ) ;
8358 extern void sethostent(int __stay_open ) ;   8358 extern void sethostent(int __stay_open ) ;
8359 extern void endhostent(void) ;   8359 extern void endhostent(void) ;
8360 extern struct hostent *gethostent(void) ;   8360 extern struct hostent *gethostent(void) ;
8361 extern struct hostent *gethostbyaddr(void const   *__addr , __socklen_t __len ,   8361 extern struct hostent *gethostbyaddr(void const   *__addr , __socklen_t __len ,
8362                                      int __type ) ;   8362                                      int __type ) ;
8363 extern struct hostent *gethostbyname(char const   *__name ) ;   8363 extern struct hostent *gethostbyname(char const   *__name ) ;
8364 extern struct hostent *gethostbyname2(char const   *__name , int __af ) ;   8364 extern struct hostent *gethostbyname2(char const   *__name , int __af ) ;
8365 extern int gethostent_r(struct hostent * __restrict  __result_buf ,   8365 extern int gethostent_r(struct hostent * __restrict  __result_buf ,
8366                         char * __restrict  __buf , size_t __buflen ,   8366                         char * __restrict  __buf , size_t __buflen ,
8367                         struct hostent ** __restrict  __result ,   8367                         struct hostent ** __restrict  __result ,
8368                         int * __restrict  __h_errnop ) ;   8368                         int * __restrict  __h_errnop ) ;
8369 extern int gethostbyaddr_r(void const   * __restrict  __addr ,   8369 extern int gethostbyaddr_r(void const   * __restrict  __addr ,
8370                            __socklen_t __len , int __type ,   8370                            __socklen_t __len , int __type ,
8371                            struct hostent * __restrict  __result_buf ,   8371                            struct hostent * __restrict  __result_buf ,
8372                            char * __restrict  __buf , size_t __buflen ,   8372                            char * __restrict  __buf , size_t __buflen ,
8373                            struct hostent ** __restrict  __result ,   8373                            struct hostent ** __restrict  __result ,
8374                            int * __restrict  __h_errnop ) ;   8374                            int * __restrict  __h_errnop ) ;
8375 extern int gethostbyname_r(char const   * __restrict  __name ,   8375 extern int gethostbyname_r(char const   * __restrict  __name ,
8376                            struct hostent * __restrict  __result_buf ,   8376                            struct hostent * __restrict  __result_buf ,
8377                            char * __restrict  __buf , size_t __buflen ,   8377                            char * __restrict  __buf , size_t __buflen ,
8378                            struct hostent ** __restrict  __result ,   8378                            struct hostent ** __restrict  __result ,
8379                            int * __restrict  __h_errnop ) ;   8379                            int * __restrict  __h_errnop ) ;
8380 extern int gethostbyname2_r(char const   * __restrict  __name , int __af ,   8380 extern int gethostbyname2_r(char const   * __restrict  __name , int __af ,
8381                             struct hostent * __restrict  __result_buf ,   8381                             struct hostent * __restrict  __result_buf ,
8382                             char * __restrict  __buf , size_t __buflen ,   8382                             char * __restrict  __buf , size_t __buflen ,
8383                             struct hostent ** __restrict  __result ,   8383                             struct hostent ** __restrict  __result ,
8384                             int * __restrict  __h_errnop ) ;   8384                             int * __restrict  __h_errnop ) ;
8385 extern void setnetent(int __stay_open ) ;   8385 extern void setnetent(int __stay_open ) ;
8386 extern void endnetent(void) ;   8386 extern void endnetent(void) ;
8387 extern struct netent *getnetent(void) ;   8387 extern struct netent *getnetent(void) ;
8388 extern struct netent *getnetbyaddr(uint32_t __net , int __type ) ;   8388 extern struct netent *getnetbyaddr(uint32_t __net , int __type ) ;
8389 extern struct netent *getnetbyname(char const   *__name ) ;   8389 extern struct netent *getnetbyname(char const   *__name ) ;
8390 extern int getnetent_r(struct netent * __restrict  __result_buf ,   8390 extern int getnetent_r(struct netent * __restrict  __result_buf ,
8391                        char * __restrict  __buf , size_t __buflen ,   8391                        char * __restrict  __buf , size_t __buflen ,
8392                        struct netent ** __restrict  __result ,   8392                        struct netent ** __restrict  __result ,
8393                        int * __restrict  __h_errnop ) ;   8393                        int * __restrict  __h_errnop ) ;
8394 extern int getnetbyaddr_r(uint32_t __net , int __type ,   8394 extern int getnetbyaddr_r(uint32_t __net , int __type ,
8395                           struct netent * __restrict  __result_buf ,   8395                           struct netent * __restrict  __result_buf ,
8396                           char * __restrict  __buf , size_t __buflen ,   8396                           char * __restrict  __buf , size_t __buflen ,
8397                           struct netent ** __restrict  __result ,   8397                           struct netent ** __restrict  __result ,
8398                           int * __restrict  __h_errnop ) ;   8398                           int * __restrict  __h_errnop ) ;
8399 extern int getnetbyname_r(char const   * __restrict  __name ,   8399 extern int getnetbyname_r(char const   * __restrict  __name ,
8400                           struct netent * __restrict  __result_buf ,   8400                           struct netent * __restrict  __result_buf ,
8401                           char * __restrict  __buf , size_t __buflen ,   8401                           char * __restrict  __buf , size_t __buflen ,
8402                           struct netent ** __restrict  __result ,   8402                           struct netent ** __restrict  __result ,
8403                           int * __restrict  __h_errnop ) ;   8403                           int * __restrict  __h_errnop ) ;
8404 extern void setservent(int __stay_open ) ;   8404 extern void setservent(int __stay_open ) ;
8405 extern void endservent(void) ;   8405 extern void endservent(void) ;
8406 extern struct servent *getservent(void) ;   8406 extern struct servent *getservent(void) ;
8407 extern struct servent *getservbyname(char const   *__name ,   8407 extern struct servent *getservbyname(char const   *__name ,
8408                                      char const   *__proto ) ;   8408                                      char const   *__proto ) ;
8409 extern struct servent *getservbyport(int __port , char const   *__proto ) ;   8409 extern struct servent *getservbyport(int __port , char const   *__proto ) ;
8410 extern int getservent_r(struct servent * __restrict  __result_buf ,   8410 extern int getservent_r(struct servent * __restrict  __result_buf ,
8411                         char * __restrict  __buf , size_t __buflen ,   8411                         char * __restrict  __buf , size_t __buflen ,
8412                         struct servent ** __restrict  __result ) ;   8412                         struct servent ** __restrict  __result ) ;
8413 extern int getservbyname_r(char const   * __restrict  __name ,   8413 extern int getservbyname_r(char const   * __restrict  __name ,
8414                            char const   * __restrict  __proto ,   8414                            char const   * __restrict  __proto ,
8415                            struct servent * __restrict  __result_buf ,   8415                            struct servent * __restrict  __result_buf ,
8416                            char * __restrict  __buf , size_t __buflen ,   8416                            char * __restrict  __buf , size_t __buflen ,
8417                            struct servent ** __restrict  __result ) ;   8417                            struct servent ** __restrict  __result ) ;
8418 extern int getservbyport_r(int __port , char const   * __restrict  __proto ,   8418 extern int getservbyport_r(int __port , char const   * __restrict  __proto ,
8419                            struct servent * __restrict  __result_buf ,   8419                            struct servent * __restrict  __result_buf ,
8420                            char * __restrict  __buf , size_t __buflen ,   8420                            char * __restrict  __buf , size_t __buflen ,
8421                            struct servent ** __restrict  __result ) ;   8421                            struct servent ** __restrict  __result ) ;
8422 extern void setprotoent(int __stay_open ) ;   8422 extern void setprotoent(int __stay_open ) ;
8423 extern void endprotoent(void) ;   8423 extern void endprotoent(void) ;
8424 extern struct protoent *getprotoent(void) ;   8424 extern struct protoent *getprotoent(void) ;
8425 extern struct protoent *getprotobyname(char const   *__name ) ;   8425 extern struct protoent *getprotobyname(char const   *__name ) ;
8426 extern struct protoent *getprotobynumber(int __proto ) ;   8426 extern struct protoent *getprotobynumber(int __proto ) ;
8427 extern int getprotoent_r(struct protoent * __restrict  __result_buf ,   8427 extern int getprotoent_r(struct protoent * __restrict  __result_buf ,
8428                          char * __restrict  __buf , size_t __buflen ,   8428                          char * __restrict  __buf , size_t __buflen ,
8429                          struct protoent ** __restrict  __result ) ;   8429                          struct protoent ** __restrict  __result ) ;
8430 extern int getprotobyname_r(char const   * __restrict  __name ,   8430 extern int getprotobyname_r(char const   * __restrict  __name ,
8431                             struct protoent * __restrict  __result_buf ,   8431                             struct protoent * __restrict  __result_buf ,
8432                             char * __restrict  __buf , size_t __buflen ,   8432                             char * __restrict  __buf , size_t __buflen ,
8433                             struct protoent ** __restrict  __result ) ;   8433                             struct protoent ** __restrict  __result ) ;
8434 extern int getprotobynumber_r(int __proto ,   8434 extern int getprotobynumber_r(int __proto ,
8435                               struct protoent * __restrict  __result_buf ,   8435                               struct protoent * __restrict  __result_buf ,
8436                               char * __restrict  __buf , size_t __buflen ,   8436                               char * __restrict  __buf , size_t __buflen ,
8437                               struct protoent ** __restrict  __result ) ;   8437                               struct protoent ** __restrict  __result ) ;
8438 extern int setnetgrent(char const   *__netgroup ) ;   8438 extern int setnetgrent(char const   *__netgroup ) ;
8439 extern void endnetgrent(void) ;   8439 extern void endnetgrent(void) ;
8440 extern int getnetgrent(char ** __restrict  __hostp ,   8440 extern int getnetgrent(char ** __restrict  __hostp ,
8441                        char ** __restrict  __userp ,   8441                        char ** __restrict  __userp ,
8442                        char ** __restrict  __domainp ) ;   8442                        char ** __restrict  __domainp ) ;
8443 extern int innetgr(char const   *__netgroup , char const   *__host ,   8443 extern int innetgr(char const   *__netgroup , char const   *__host ,
8444                    char const   *__user , char const   *__domain ) ;   8444                    char const   *__user , char const   *__domain ) ;
8445 extern int getnetgrent_r(char ** __restrict  __hostp ,   8445 extern int getnetgrent_r(char ** __restrict  __hostp ,
8446                          char ** __restrict  __userp ,   8446                          char ** __restrict  __userp ,
8447                          char ** __restrict  __domainp ,   8447                          char ** __restrict  __domainp ,
8448                          char * __restrict  __buffer , size_t __buflen ) ;   8448                          char * __restrict  __buffer , size_t __buflen ) ;
8449 extern int rcmd(char ** __restrict  __ahost , unsigned short __rport ,   8449 extern int rcmd(char ** __restrict  __ahost , unsigned short __rport ,
8450                 char const   * __restrict  __locuser ,   8450                 char const   * __restrict  __locuser ,
8451                 char const   * __restrict  __remuser ,   8451                 char const   * __restrict  __remuser ,
8452                 char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;   8452                 char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;
8453 extern int rcmd_af(char ** __restrict  __ahost , unsigned short __rport ,   8453 extern int rcmd_af(char ** __restrict  __ahost , unsigned short __rport ,
8454                    char const   * __restrict  __locuser ,   8454                    char const   * __restrict  __locuser ,
8455                    char const   * __restrict  __remuser ,   8455                    char const   * __restrict  __remuser ,
8456                    char const   * __restrict  __cmd , int * __restrict  __fd2p ,   8456                    char const   * __restrict  __cmd , int * __restrict  __fd2p ,
8457                    sa_family_t __af ) ;   8457                    sa_family_t __af ) ;
8458 extern int rexec(char ** __restrict  __ahost , int __rport ,   8458 extern int rexec(char ** __restrict  __ahost , int __rport ,
8459                  char const   * __restrict  __name ,   8459                  char const   * __restrict  __name ,
8460                  char const   * __restrict  __pass ,   8460                  char const   * __restrict  __pass ,
8461                  char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;   8461                  char const   * __restrict  __cmd , int * __restrict  __fd2p ) ;
8462 extern int rexec_af(char ** __restrict  __ahost , int __rport ,   8462 extern int rexec_af(char ** __restrict  __ahost , int __rport ,
8463                     char const   * __restrict  __name ,   8463                     char const   * __restrict  __name ,
8464                     char const   * __restrict  __pass ,   8464                     char const   * __restrict  __pass ,
8465                     char const   * __restrict  __cmd ,   8465                     char const   * __restrict  __cmd ,
8466                     int * __restrict  __fd2p , sa_family_t __af ) ;   8466                     int * __restrict  __fd2p , sa_family_t __af ) ;
8467 extern int ruserok(char const   *__rhost , int __suser ,   8467 extern int ruserok(char const   *__rhost , int __suser ,
8468                    char const   *__remuser , char const   *__locuser ) ;   8468                    char const   *__remuser , char const   *__locuser ) ;
8469 extern int ruserok_af(char const   *__rhost , int __suser ,   8469 extern int ruserok_af(char const   *__rhost , int __suser ,
8470                       char const   *__remuser , char const   *__locuser ,   8470                       char const   *__remuser , char const   *__locuser ,
8471                       sa_family_t __af ) ;   8471                       sa_family_t __af ) ;
8472 extern int iruserok(uint32_t __raddr , int __suser , char const   *__remuser ,   8472 extern int iruserok(uint32_t __raddr , int __suser , char const   *__remuser ,
8473                     char const   *__locuser ) ;   8473                     char const   *__locuser ) ;
8474 extern int iruserok_af(void const   *__raddr , int __suser ,   8474 extern int iruserok_af(void const   *__raddr , int __suser ,
8475                        char const   *__remuser , char const   *__locuser ,   8475                        char const   *__remuser , char const   *__locuser ,
8476                        sa_family_t __af ) ;   8476                        sa_family_t __af ) ;
8477 extern int rresvport(int *__alport ) ;   8477 extern int rresvport(int *__alport ) ;
8478 extern int rresvport_af(int *__alport , sa_family_t __af ) ;   8478 extern int rresvport_af(int *__alport , sa_family_t __af ) ;
8479 extern int getaddrinfo(char const   * __restrict  __name ,   8479 extern int getaddrinfo(char const   * __restrict  __name ,
8480                        char const   * __restrict  __service ,   8480                        char const   * __restrict  __service ,
8481                        struct addrinfo  const  * __restrict  __req ,   8481                        struct addrinfo  const  * __restrict  __req ,
8482                        struct addrinfo ** __restrict  __pai ) ;   8482                        struct addrinfo ** __restrict  __pai ) ;
8483 extern  __attribute__((__nothrow__)) void freeaddrinfo(struct addrinfo *__ai ) ;   8483 extern  __attribute__((__nothrow__)) void freeaddrinfo(struct addrinfo *__ai ) ;
8484 extern  __attribute__((__nothrow__)) char const   *gai_strerror(int __ecode ) ;   8484 extern  __attribute__((__nothrow__)) char const   *gai_strerror(int __ecode ) ;
8485 extern int getnameinfo(struct sockaddr  const  * __restrict  __sa ,   8485 extern int getnameinfo(struct sockaddr  const  * __restrict  __sa ,
8486                        socklen_t __salen , char * __restrict  __host ,   8486                        socklen_t __salen , char * __restrict  __host ,
8487                        socklen_t __hostlen , char * __restrict  __serv ,   8487                        socklen_t __hostlen , char * __restrict  __serv ,
8488                        socklen_t __servlen , unsigned int __flags ) ;   8488                        socklen_t __servlen , unsigned int __flags ) ;
8489 extern void guids_init(void) ;   8489 extern void guids_init(void) ;
8490 extern void guids_add_guid(e_guid_t *guid , gchar const   *name ) ;   8490 extern void guids_add_guid(e_guid_t *guid , gchar const   *name ) ;
8491 extern gchar const   *guids_get_guid_name(e_guid_t *guid ) ;   8491 extern gchar const   *guids_get_guid_name(e_guid_t *guid ) ;
8492 extern gchar const   *guids_resolve_guid_to_str(e_guid_t *guid ) ;   8492 extern gchar const   *guids_resolve_guid_to_str(e_guid_t *guid ) ;
8493 extern  __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ;   8493 extern  __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ;
8494 extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env ,   8494 extern  __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env ,
8495                                                      int __savemask ) ;   8495                                                      int __savemask ) ;
8496 extern  __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ;   8496 extern  __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ;
8497 extern  __attribute__((__nothrow__,   8497 extern  __attribute__((__nothrow__,
8498 __noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ;   8498 __noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ;
8499 extern  __attribute__((__nothrow__,   8499 extern  __attribute__((__nothrow__,
8500 __noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ;   8500 __noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ;
8501 extern  __attribute__((__nothrow__,   8501 extern  __attribute__((__nothrow__,
8502 __noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ;   8502 __noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ;
8503 extern  __attribute__((__nothrow__,   8503 extern  __attribute__((__nothrow__,
8504 __noreturn__)) void __assert_fail(char const   *__assertion ,   8504 __noreturn__)) void __assert_fail(char const   *__assertion ,
8505                                   char const   *__file , unsigned int __line ,   8505                                   char const   *__file , unsigned int __line ,
8506                                   char const   *__function ) ;   8506                                   char const   *__function ) ;
8507 extern  __attribute__((__nothrow__,   8507 extern  __attribute__((__nothrow__,
8508 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,   8508 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,
8509                                          unsigned int __line ,   8509                                          unsigned int __line ,
8510                                          char const   *__function ) ;   8510                                          char const   *__function ) ;
8511 extern  __attribute__((__nothrow__,   8511 extern  __attribute__((__nothrow__,
8512 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,   8512 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,
8513                              int __line ) ;   8513                              int __line ) ;
8514 extern void except_setup_clean(struct except_stacknode * ,   8514 extern void except_setup_clean(struct except_stacknode * ,
8515                                struct except_cleanup * , void (*)(void * ) ,   8515                                struct except_cleanup * , void (*)(void * ) ,
8516                                void * ) ;   8516                                void * ) ;
8517 extern void except_setup_try(struct except_stacknode * , struct except_catch * ,   8517 extern void except_setup_try(struct except_stacknode * , struct except_catch * ,
8518                              except_id_t const   * , size_t  ) ;   8518                              except_id_t const   * , size_t  ) ;
8519 extern struct except_stacknode *except_pop(void) ;   8519 extern struct except_stacknode *except_pop(void) ;
8520 extern int except_init(void) ;   8520 extern int except_init(void) ;
8521 extern void except_deinit(void) ;   8521 extern void except_deinit(void) ;
8522 extern  __attribute__((__noreturn__)) void except_rethrow(except_t * ) ;   8522 extern  __attribute__((__noreturn__)) void except_rethrow(except_t * ) ;
8523 extern  __attribute__((__noreturn__)) void except_throw(long  , long  ,   8523 extern  __attribute__((__noreturn__)) void except_throw(long  , long  ,
8524                                                         char const   * ) ;   8524                                                         char const   * ) ;
8525 extern  __attribute__((__noreturn__)) void except_throwd(long  , long  ,   8525 extern  __attribute__((__noreturn__)) void except_throwd(long  , long  ,
8526                                                          char const   * ,   8526                                                          char const   * ,
8527                                                          void * ) ;   8527                                                          void * ) ;
8528 extern  __attribute__((__noreturn__)) void except_throwf(long  , long  ,   8528 extern  __attribute__((__noreturn__)) void except_throwf(long  , long  ,
8529                                                          char const   *  , ...) ;   8529                                                          char const   *  , ...) ;
8530 extern void (*except_unhandled_catcher(void (*)(except_t * ) ))(except_t * ) ;   8530 extern void (*except_unhandled_catcher(void (*)(except_t * ) ))(except_t * ) ;
8531 extern unsigned long except_code(except_t * ) ;   8531 extern unsigned long except_code(except_t * ) ;
8532 extern unsigned long except_group(except_t * ) ;   8532 extern unsigned long except_group(except_t * ) ;
8533 extern char const   *except_message(except_t * ) ;   8533 extern char const   *except_message(except_t * ) ;
8534 extern void *except_data(except_t * ) ;   8534 extern void *except_data(except_t * ) ;
8535 extern void *except_take_data(except_t * ) ;   8535 extern void *except_take_data(except_t * ) ;
8536 extern void except_set_allocator(void *(*)(size_t  ) , void (*)(void * ) ) ;   8536 extern void except_set_allocator(void *(*)(size_t  ) , void (*)(void * ) ) ;
8537 extern void *except_alloc(size_t  ) ;   8537 extern void *except_alloc(size_t  ) ;
8538 extern void except_free(void * ) ;   8538 extern void except_free(void * ) ;
8539 extern void tvbuff_init(void) ;   8539 extern void tvbuff_init(void) ;
8540 extern void tvbuff_cleanup(void) ;   8540 extern void tvbuff_cleanup(void) ;
8541 extern tvbuff_t *tvb_new(tvbuff_type  ) ;   8541 extern tvbuff_t *tvb_new(tvbuff_type  ) ;
8542 extern void tvb_free(tvbuff_t * ) ;   8542 extern void tvb_free(tvbuff_t * ) ;
8543 extern void tvb_free_chain(tvbuff_t * ) ;   8543 extern void tvb_free_chain(tvbuff_t * ) ;
8544 extern guint tvb_increment_usage_count(tvbuff_t * , guint const   count ) ;   8544 extern guint tvb_increment_usage_count(tvbuff_t * , guint const   count ) ;
8545 extern guint tvb_decrement_usage_count(tvbuff_t * , guint const   count ) ;   8545 extern guint tvb_decrement_usage_count(tvbuff_t * , guint const   count ) ;
8546 extern void tvb_set_free_cb(tvbuff_t * , void (* const  )(void * ) ) ;   8546 extern void tvb_set_free_cb(tvbuff_t * , void (* const  )(void * ) ) ;
8547 extern void tvb_set_child_real_data_tvbuff(tvbuff_t *parent , tvbuff_t *child ) ;   8547 extern void tvb_set_child_real_data_tvbuff(tvbuff_t *parent , tvbuff_t *child ) ;
8548 extern tvbuff_t *tvb_new_child_real_data(tvbuff_t *parent ,   8548 extern tvbuff_t *tvb_new_child_real_data(tvbuff_t *parent ,
8549                                          guint8 const   *data ,   8549                                          guint8 const   *data ,
8550                                          guint const   length ,   8550                                          guint const   length ,
8551                                          gint const   reported_length ) ;   8551                                          gint const   reported_length ) ;
8552 extern void tvb_set_real_data(tvbuff_t * , guint8 const   *data ,   8552 extern void tvb_set_real_data(tvbuff_t * , guint8 const   *data ,
8553                               guint const   length ,   8553                               guint const   length ,
8554                               gint const   reported_length ) ;   8554                               gint const   reported_length ) ;
8555 extern tvbuff_t *tvb_new_real_data(guint8 const   *data , guint const   length ,   8555 extern tvbuff_t *tvb_new_real_data(guint8 const   *data , guint const   length ,
8556                                    gint const   reported_length ) ;   8556                                    gint const   reported_length ) ;
8557 extern void tvb_set_subset(tvbuff_t *tvb , tvbuff_t *backing ,   8557 extern void tvb_set_subset(tvbuff_t *tvb , tvbuff_t *backing ,
8558                            gint const   backing_offset ,   8558                            gint const   backing_offset ,
8559                            gint const   backing_length ,   8559                            gint const   backing_length ,
8560                            gint const   reported_length ) ;   8560                            gint const   reported_length ) ;
8561 extern tvbuff_t *tvb_new_subset(tvbuff_t *backing ,   8561 extern tvbuff_t *tvb_new_subset(tvbuff_t *backing ,
8562                                 gint const   backing_offset ,   8562                                 gint const   backing_offset ,
8563                                 gint const   backing_length ,   8563                                 gint const   backing_length ,
8564                                 gint const   reported_length ) ;   8564                                 gint const   reported_length ) ;
8565 extern tvbuff_t *tvb_new_subset_remaining(tvbuff_t *backing ,   8565 extern tvbuff_t *tvb_new_subset_remaining(tvbuff_t *backing ,
8566                                           gint const   backing_offset ) ;   8566                                           gint const   backing_offset ) ;
8567 extern void tvb_composite_append(tvbuff_t *tvb , tvbuff_t *member ) ;   8567 extern void tvb_composite_append(tvbuff_t *tvb , tvbuff_t *member ) ;
8568 extern void tvb_composite_prepend(tvbuff_t *tvb , tvbuff_t *member ) ;   8568 extern void tvb_composite_prepend(tvbuff_t *tvb , tvbuff_t *member ) ;
8569 extern tvbuff_t *tvb_new_composite(void) ;   8569 extern tvbuff_t *tvb_new_composite(void) ;
8570 extern void tvb_composite_finalize(tvbuff_t *tvb ) ;   8570 extern void tvb_composite_finalize(tvbuff_t *tvb ) ;
8571 extern guint tvb_length(tvbuff_t const   * ) ;   8571 extern guint tvb_length(tvbuff_t const   * ) ;
8572 extern gint tvb_length_remaining(tvbuff_t const   * , gint const   offset ) ;   8572 extern gint tvb_length_remaining(tvbuff_t const   * , gint const   offset ) ;
8573 extern guint tvb_ensure_length_remaining(tvbuff_t const   * ,   8573 extern guint tvb_ensure_length_remaining(tvbuff_t const   * ,
8574                                          gint const   offset ) ;   8574                                          gint const   offset ) ;
8575 extern gboolean tvb_bytes_exist(tvbuff_t const   * , gint const   offset ,   8575 extern gboolean tvb_bytes_exist(tvbuff_t const   * , gint const   offset ,
8576                                 gint const   length ) ;   8576                                 gint const   length ) ;
8577 extern void tvb_ensure_bytes_exist(tvbuff_t const   *tvb , gint const   offset ,   8577 extern void tvb_ensure_bytes_exist(tvbuff_t const   *tvb , gint const   offset ,
8578                                    gint const   length ) ;   8578                                    gint const   length ) ;
8579 extern gboolean tvb_offset_exists(tvbuff_t const   * , gint const   offset ) ;   8579 extern gboolean tvb_offset_exists(tvbuff_t const   * , gint const   offset ) ;
8580 extern guint tvb_reported_length(tvbuff_t const   * ) ;   8580 extern guint tvb_reported_length(tvbuff_t const   * ) ;
8581 extern gint tvb_reported_length_remaining(tvbuff_t const   *tvb ,   8581 extern gint tvb_reported_length_remaining(tvbuff_t const   *tvb ,
8582                                           gint const   offset ) ;   8582                                           gint const   offset ) ;
8583 extern void tvb_set_reported_length(tvbuff_t * , guint const    ) ;   8583 extern void tvb_set_reported_length(tvbuff_t * , guint const    ) ;
8584 extern guint tvb_offset_from_real_beginning(tvbuff_t const   *tvb ) ;   8584 extern guint tvb_offset_from_real_beginning(tvbuff_t const   *tvb ) ;
8585 extern guint8 tvb_get_guint8(tvbuff_t * , gint const   offset ) ;   8585 extern guint8 tvb_get_guint8(tvbuff_t * , gint const   offset ) ;
8586 extern guint16 tvb_get_ntohs(tvbuff_t * , gint const   offset ) ;   8586 extern guint16 tvb_get_ntohs(tvbuff_t * , gint const   offset ) ;
8587 extern guint32 tvb_get_ntoh24(tvbuff_t * , gint const   offset ) ;   8587 extern guint32 tvb_get_ntoh24(tvbuff_t * , gint const   offset ) ;
8588 extern guint32 tvb_get_ntohl(tvbuff_t * , gint const   offset ) ;   8588 extern guint32 tvb_get_ntohl(tvbuff_t * , gint const   offset ) ;
8589 extern guint64 tvb_get_ntoh40(tvbuff_t * , gint const   offset ) ;   8589 extern guint64 tvb_get_ntoh40(tvbuff_t * , gint const   offset ) ;
8590 extern guint64 tvb_get_ntoh48(tvbuff_t * , gint const   offset ) ;   8590 extern guint64 tvb_get_ntoh48(tvbuff_t * , gint const   offset ) ;
8591 extern guint64 tvb_get_ntoh56(tvbuff_t * , gint const   offset ) ;   8591 extern guint64 tvb_get_ntoh56(tvbuff_t * , gint const   offset ) ;
8592 extern guint64 tvb_get_ntoh64(tvbuff_t * , gint const   offset ) ;   8592 extern guint64 tvb_get_ntoh64(tvbuff_t * , gint const   offset ) ;
8593 extern gfloat tvb_get_ntohieee_float(tvbuff_t * , gint const   offset ) ;   8593 extern gfloat tvb_get_ntohieee_float(tvbuff_t * , gint const   offset ) ;
8594 extern gdouble tvb_get_ntohieee_double(tvbuff_t * , gint const   offset ) ;   8594 extern gdouble tvb_get_ntohieee_double(tvbuff_t * , gint const   offset ) ;
8595 extern guint16 tvb_get_letohs(tvbuff_t * , gint const   offset ) ;   8595 extern guint16 tvb_get_letohs(tvbuff_t * , gint const   offset ) ;
8596 extern guint32 tvb_get_letoh24(tvbuff_t * , gint const   offset ) ;   8596 extern guint32 tvb_get_letoh24(tvbuff_t * , gint const   offset ) ;
8597 extern guint32 tvb_get_letohl(tvbuff_t * , gint const   offset ) ;   8597 extern guint32 tvb_get_letohl(tvbuff_t * , gint const   offset ) ;
8598 extern guint64 tvb_get_letoh40(tvbuff_t * , gint const   offset ) ;   8598 extern guint64 tvb_get_letoh40(tvbuff_t * , gint const   offset ) ;
8599 extern guint64 tvb_get_letoh48(tvbuff_t * , gint const   offset ) ;   8599 extern guint64 tvb_get_letoh48(tvbuff_t * , gint const   offset ) ;
8600 extern guint64 tvb_get_letoh56(tvbuff_t * , gint const   offset ) ;   8600 extern guint64 tvb_get_letoh56(tvbuff_t * , gint const   offset ) ;
8601 extern guint64 tvb_get_letoh64(tvbuff_t * , gint const   offset ) ;   8601 extern guint64 tvb_get_letoh64(tvbuff_t * , gint const   offset ) ;
8602 extern gfloat tvb_get_letohieee_float(tvbuff_t * , gint const   offset ) ;   8602 extern gfloat tvb_get_letohieee_float(tvbuff_t * , gint const   offset ) ;
8603 extern gdouble tvb_get_letohieee_double(tvbuff_t * , gint const   offset ) ;   8603 extern gdouble tvb_get_letohieee_double(tvbuff_t * , gint const   offset ) ;
8604 extern guint32 tvb_get_ipv4(tvbuff_t * , gint const   offset ) ;   8604 extern guint32 tvb_get_ipv4(tvbuff_t * , gint const   offset ) ;
8605 extern void tvb_get_ipv6(tvbuff_t * , gint const   offset ,   8605 extern void tvb_get_ipv6(tvbuff_t * , gint const   offset ,
8606                          struct e_in6_addr *addr ) ;   8606                          struct e_in6_addr *addr ) ;
8607 extern void tvb_get_ntohguid(tvbuff_t *tvb , gint const   offset ,   8607 extern void tvb_get_ntohguid(tvbuff_t *tvb , gint const   offset ,
8608                              e_guid_t *guid ) ;   8608                              e_guid_t *guid ) ;
8609 extern void tvb_get_letohguid(tvbuff_t *tvb , gint const   offset ,   8609 extern void tvb_get_letohguid(tvbuff_t *tvb , gint const   offset ,
8610                               e_guid_t *guid ) ;   8610                               e_guid_t *guid ) ;
8611 extern void tvb_get_guid(tvbuff_t *tvb , gint const   offset , e_guid_t *guid ,   8611 extern void tvb_get_guid(tvbuff_t *tvb , gint const   offset , e_guid_t *guid ,
8612                          guint const   representation ) ;   8612                          guint const   representation ) ;
8613 extern guint8 tvb_get_bits8(tvbuff_t *tvb , gint bit_offset ,   8613 extern guint8 tvb_get_bits8(tvbuff_t *tvb , gint bit_offset ,
8614                             gint const   no_of_bits ) ;   8614                             gint const   no_of_bits ) ;
8615 extern guint16 tvb_get_bits16(tvbuff_t *tvb , gint bit_offset ,   8615 extern guint16 tvb_get_bits16(tvbuff_t *tvb , gint bit_offset ,
8616                               gint const   no_of_bits ,   8616                               gint const   no_of_bits ,
8617                               gboolean const   little_endian ) ;   8617                               gboolean const   little_endian ) ;
8618 extern guint32 tvb_get_bits32(tvbuff_t *tvb , gint bit_offset ,   8618 extern guint32 tvb_get_bits32(tvbuff_t *tvb , gint bit_offset ,
8619                               gint const   no_of_bits ,   8619                               gint const   no_of_bits ,
8620                               gboolean const   little_endian ) ;   8620                               gboolean const   little_endian ) ;
8621 extern guint64 tvb_get_bits64(tvbuff_t *tvb , gint bit_offset ,   8621 extern guint64 tvb_get_bits64(tvbuff_t *tvb , gint bit_offset ,
8622                               gint const   no_of_bits ,   8622                               gint const   no_of_bits ,
8623                               gboolean const   little_endian ) ;   8623                               gboolean const   little_endian ) ;
8624 extern guint32 tvb_get_bits(tvbuff_t *tvb , gint const   bit_offset ,   8624 extern guint32 tvb_get_bits(tvbuff_t *tvb , gint const   bit_offset ,
8625                             gint const   no_of_bits ,   8625                             gint const   no_of_bits ,
8626                             gboolean const   little_endian ) ;   8626                             gboolean const   little_endian ) ;
8627 extern void tvb_get_bits_buf(tvbuff_t *tvb , gint bit_offset , gint no_of_bits ,   8627 extern void tvb_get_bits_buf(tvbuff_t *tvb , gint bit_offset , gint no_of_bits ,
8628                              guint8 *buf , gboolean lsb0 ) ;   8628                              guint8 *buf , gboolean lsb0 ) ;
8629 extern guint8 *ep_tvb_get_bits(tvbuff_t *tvb , gint bit_offset ,   8629 extern guint8 *ep_tvb_get_bits(tvbuff_t *tvb , gint bit_offset ,
8630                                gint no_of_bits , gboolean lsb0 ) ;   8630                                gint no_of_bits , gboolean lsb0 ) ;
8631 extern void *tvb_memcpy(tvbuff_t * , void *target , gint const   offset ,   8631 extern void *tvb_memcpy(tvbuff_t * , void *target , gint const   offset ,
8632                         size_t length ) ;   8632                         size_t length ) ;
8633 extern void *tvb_memdup(tvbuff_t * , gint const   offset , size_t length ) ;   8633 extern void *tvb_memdup(tvbuff_t * , gint const   offset , size_t length ) ;
8634 extern void *ep_tvb_memdup(tvbuff_t *tvb , gint const   offset , size_t length ) ;   8634 extern void *ep_tvb_memdup(tvbuff_t *tvb , gint const   offset , size_t length ) ;
8635 extern guint8 const   *tvb_get_ptr(tvbuff_t * , gint const   offset ,   8635 extern guint8 const   *tvb_get_ptr(tvbuff_t * , gint const   offset ,
8636                                    gint const   length ) ;   8636                                    gint const   length ) ;
8637 extern gint tvb_find_guint8(tvbuff_t * , gint const   offset ,   8637 extern gint tvb_find_guint8(tvbuff_t * , gint const   offset ,
8638                             gint const   maxlength , guint8 const   needle ) ;   8638                             gint const   maxlength , guint8 const   needle ) ;
8639 extern gint tvb_pbrk_guint8(tvbuff_t * , gint const   offset ,   8639 extern gint tvb_pbrk_guint8(tvbuff_t * , gint const   offset ,
8640                             gint const   maxlength , guint8 const   *needles ,   8640                             gint const   maxlength , guint8 const   *needles ,
8641                             guchar *found_needle ) ;   8641                             guchar *found_needle ) ;
8642 extern guint tvb_strsize(tvbuff_t *tvb , gint const   offset ) ;   8642 extern guint tvb_strsize(tvbuff_t *tvb , gint const   offset ) ;
8643 extern gint tvb_strnlen(tvbuff_t * , gint const   offset ,   8643 extern gint tvb_strnlen(tvbuff_t * , gint const   offset ,
8644                         guint const   maxlength ) ;   8644                         guint const   maxlength ) ;
8645 extern char *tvb_fake_unicode(tvbuff_t *tvb , int offset , int const   len ,   8645 extern char *tvb_fake_unicode(tvbuff_t *tvb , int offset , int const   len ,
8646                               gboolean const   little_endian ) ;   8646                               gboolean const   little_endian ) ;
8647 extern char *tvb_get_ephemeral_faked_unicode(tvbuff_t *tvb , int offset ,   8647 extern char *tvb_get_ephemeral_faked_unicode(tvbuff_t *tvb , int offset ,
8648                                              int const   len ,   8648                                              int const   len ,
8649                                              gboolean const   little_endian ) ;   8649                                              gboolean const   little_endian ) ;
8650 extern gchar *tvb_format_text(tvbuff_t *tvb , gint const   offset ,   8650 extern gchar *tvb_format_text(tvbuff_t *tvb , gint const   offset ,
8651                               gint const   size ) ;   8651                               gint const   size ) ;
8652 extern gchar *tvb_format_text_wsp(tvbuff_t *tvb , gint const   offset ,   8652 extern gchar *tvb_format_text_wsp(tvbuff_t *tvb , gint const   offset ,
8653                                   gint const   size ) ;   8653                                   gint const   size ) ;
8654 extern gchar *tvb_format_stringzpad(tvbuff_t *tvb , gint const   offset ,   8654 extern gchar *tvb_format_stringzpad(tvbuff_t *tvb , gint const   offset ,
8655                                     gint const   size ) ;   8655                                     gint const   size ) ;
8656 extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb , gint const   offset ,   8656 extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb , gint const   offset ,
8657                                         gint const   size ) ;   8657                                         gint const   size ) ;
8658 extern guint8 *tvb_get_string(tvbuff_t *tvb , gint const   offset ,   8658 extern guint8 *tvb_get_string(tvbuff_t *tvb , gint const   offset ,
8659                               gint const   length ) ;   8659                               gint const   length ) ;
8660 extern gchar *tvb_get_unicode_string(tvbuff_t *tvb , gint const   offset ,   8660 extern gchar *tvb_get_unicode_string(tvbuff_t *tvb , gint const   offset ,
8661                                      gint length , guint const   encoding ) ;   8661                                      gint length , guint const   encoding ) ;
8662 extern guint8 *tvb_get_ephemeral_string(tvbuff_t *tvb , gint const   offset ,   8662 extern guint8 *tvb_get_ephemeral_string(tvbuff_t *tvb , gint const   offset ,
8663                                         gint const   length ) ;   8663                                         gint const   length ) ;
8664 extern gchar *tvb_get_ephemeral_unicode_string(tvbuff_t *tvb ,   8664 extern gchar *tvb_get_ephemeral_unicode_string(tvbuff_t *tvb ,
8665                                                gint const   offset ,   8665                                                gint const   offset ,
8666                                                gint length ,   8666                                                gint length ,
8667                                                guint const   encoding ) ;   8667                                                guint const   encoding ) ;
8668 extern guint8 *tvb_get_seasonal_string(tvbuff_t *tvb , gint const   offset ,   8668 extern guint8 *tvb_get_seasonal_string(tvbuff_t *tvb , gint const   offset ,
8669                                        gint const   length ) ;   8669                                        gint const   length ) ;
8670 extern guint8 *tvb_get_stringz(tvbuff_t *tvb , gint const   offset ,   8670 extern guint8 *tvb_get_stringz(tvbuff_t *tvb , gint const   offset ,
8671                                gint *lengthp ) ;   8671                                gint *lengthp ) ;
8672 extern guint8 const   *tvb_get_const_stringz(tvbuff_t *tvb ,   8672 extern guint8 const   *tvb_get_const_stringz(tvbuff_t *tvb ,
8673                                              gint const   offset ,   8673                                              gint const   offset ,
8674                                              gint *lengthp ) ;   8674                                              gint *lengthp ) ;
8675 extern guint8 *tvb_get_ephemeral_stringz(tvbuff_t *tvb , gint const   offset ,   8675 extern guint8 *tvb_get_ephemeral_stringz(tvbuff_t *tvb , gint const   offset ,
8676                                          gint *lengthp ) ;   8676                                          gint *lengthp ) ;
8677 extern gchar *tvb_get_ephemeral_unicode_stringz(tvbuff_t *tvb ,   8677 extern gchar *tvb_get_ephemeral_unicode_stringz(tvbuff_t *tvb ,
8678                                                 gint const   offset ,   8678                                                 gint const   offset ,
8679                                                 gint *lengthp ,   8679                                                 gint *lengthp ,
8680                                                 guint const   encoding ) ;   8680                                                 guint const   encoding ) ;
8681 extern guint8 *tvb_get_seasonal_stringz(tvbuff_t *tvb , gint const   offset ,   8681 extern guint8 *tvb_get_seasonal_stringz(tvbuff_t *tvb , gint const   offset ,
8682                                         gint *lengthp ) ;   8682                                         gint *lengthp ) ;
8683 extern gint tvb_get_nstringz(tvbuff_t *tvb , gint const   offset ,   8683 extern gint tvb_get_nstringz(tvbuff_t *tvb , gint const   offset ,
8684                              guint const   bufsize , guint8 *buffer ) ;   8684                              guint const   bufsize , guint8 *buffer ) ;
8685 extern gint tvb_get_nstringz0(tvbuff_t *tvb , gint const   offset ,   8685 extern gint tvb_get_nstringz0(tvbuff_t *tvb , gint const   offset ,
8686                               guint const   bufsize , guint8 *buffer ) ;   8686                               guint const   bufsize , guint8 *buffer ) ;
8687 extern gint tvb_find_line_end(tvbuff_t *tvb , gint const   offset , int len ,   8687 extern gint tvb_find_line_end(tvbuff_t *tvb , gint const   offset , int len ,
8688                               gint *next_offset , gboolean const   desegment ) ;   8688                               gint *next_offset , gboolean const   desegment ) ;
8689 extern gint tvb_find_line_end_unquoted(tvbuff_t *tvb , gint const   offset ,   8689 extern gint tvb_find_line_end_unquoted(tvbuff_t *tvb , gint const   offset ,
8690                                        int len , gint *next_offset ) ;   8690                                        int len , gint *next_offset ) ;
8691 extern gint tvb_skip_wsp(tvbuff_t *tvb , gint const   offset ,   8691 extern gint tvb_skip_wsp(tvbuff_t *tvb , gint const   offset ,
8692                          gint const   maxlength ) ;   8692                          gint const   maxlength ) ;
8693 extern gint tvb_skip_wsp_return(tvbuff_t *tvb , gint const   offset ) ;   8693 extern gint tvb_skip_wsp_return(tvbuff_t *tvb , gint const   offset ) ;
8694 extern gint tvb_strneql(tvbuff_t *tvb , gint const   offset ,   8694 extern gint tvb_strneql(tvbuff_t *tvb , gint const   offset ,
8695                         gchar const   *str , size_t const   size ) ;   8695                         gchar const   *str , size_t const   size ) ;
8696 extern gint tvb_strncaseeql(tvbuff_t *tvb , gint const   offset ,   8696 extern gint tvb_strncaseeql(tvbuff_t *tvb , gint const   offset ,
8697                             gchar const   *str , size_t const   size ) ;   8697                             gchar const   *str , size_t const   size ) ;
8698 extern gint tvb_memeql(tvbuff_t *tvb , gint const   offset ,   8698 extern gint tvb_memeql(tvbuff_t *tvb , gint const   offset ,
8699                        guint8 const   *str , size_t size ) ;   8699                        guint8 const   *str , size_t size ) ;
8700 extern gchar *tvb_bytes_to_str_punct(tvbuff_t *tvb , gint const   offset ,   8700 extern gchar *tvb_bytes_to_str_punct(tvbuff_t *tvb , gint const   offset ,
8701                                      gint const   len , gchar const   punct ) ;   8701                                      gint const   len , gchar const   punct ) ;
8702 extern gchar *tvb_bytes_to_str(tvbuff_t *tvb , gint const   offset ,   8702 extern gchar *tvb_bytes_to_str(tvbuff_t *tvb , gint const   offset ,
8703                                gint const   len ) ;   8703                                gint const   len ) ;
8704 extern gchar *tvb_bcd_dig_to_ep_str(tvbuff_t *tvb , gint const   offset ,   8704 extern gchar *tvb_bcd_dig_to_ep_str(tvbuff_t *tvb , gint const   offset ,
8705                                     gint const   len , dgt_set_t *dgt ,   8705                                     gint const   len , dgt_set_t *dgt ,
8706                                     gboolean skip_first ) ;   8706                                     gboolean skip_first ) ;
8707 extern gint tvb_find_tvb(tvbuff_t *haystack_tvb , tvbuff_t *needle_tvb ,   8707 extern gint tvb_find_tvb(tvbuff_t *haystack_tvb , tvbuff_t *needle_tvb ,
8708                          gint const   haystack_offset ) ;   8708                          gint const   haystack_offset ) ;
8709 extern tvbuff_t *tvb_uncompress(tvbuff_t *tvb , int const   offset ,   8709 extern tvbuff_t *tvb_uncompress(tvbuff_t *tvb , int const   offset ,
8710                                 int comprlen ) ;   8710                                 int comprlen ) ;
8711 extern tvbuff_t *tvb_child_uncompress(tvbuff_t *parent , tvbuff_t *tvb ,   8711 extern tvbuff_t *tvb_child_uncompress(tvbuff_t *parent , tvbuff_t *tvb ,
8712                                       int const   offset , int comprlen ) ;   8712                                       int const   offset , int comprlen ) ;
8713 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict  __tv ,   8713 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) gettimeofday)(struct timeval * __restrict  __tv ,
8714                                                                                          __timezone_ptr_t __tz ) ;   8714                                                                                          __timezone_ptr_t __tz ) ;
8715 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval  const  *__tv ,   8715 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) settimeofday)(struct timeval  const  *__tv ,
8716                                                                                          struct timezone  const  *__tz ) ;   8716                                                                                          struct timezone  const  *__tz ) ;
8717 extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta ,   8717 extern  __attribute__((__nothrow__)) int adjtime(struct timeval  const  *__delta ,
8718                                                  struct timeval *__olddelta ) ;   8718                                                  struct timeval *__olddelta ) ;
8719 extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which ,   8719 extern  __attribute__((__nothrow__)) int getitimer(__itimer_which_t __which ,
8720                                                    struct itimerval *__value ) ;   8720                                                    struct itimerval *__value ) ;
8721 extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which ,   8721 extern  __attribute__((__nothrow__)) int setitimer(__itimer_which_t __which ,
8722                                                    struct itimerval  const  * __restrict  __new ,   8722                                                    struct itimerval  const  * __restrict  __new ,
8723                                                    struct itimerval * __restrict  __old ) ;   8723                                                    struct itimerval * __restrict  __old ) ;
8724 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const   *__file ,   8724 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) utimes)(char const   *__file ,
8725                                                                                    struct timeval  const  *__tvp ) ;   8725                                                                                    struct timeval  const  *__tvp ) ;
8726 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const   *__file ,   8726 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) lutimes)(char const   *__file ,
8727                                                                                     struct timeval  const  *__tvp ) ;   8727                                                                                     struct timeval  const  *__tvp ) ;
8728 extern  __attribute__((__nothrow__)) int futimes(int __fd ,   8728 extern  __attribute__((__nothrow__)) int futimes(int __fd ,
8729                                                  struct timeval  const  *__tvp ) ;   8729                                                  struct timeval  const  *__tvp ) ;
8730 extern struct wtap *wtap_open_offline(char const   *filename , int *err ,   8730 extern struct wtap *wtap_open_offline(char const   *filename , int *err ,
8731                                       gchar **err_info , gboolean do_random ) ;   8731                                       gchar **err_info , gboolean do_random ) ;
8732 extern void wtap_cleareof(wtap *wth ) ;   8732 extern void wtap_cleareof(wtap *wth ) ;
8733 extern void wtap_set_cb_new_ipv4(wtap *wth ,   8733 extern void wtap_set_cb_new_ipv4(wtap *wth ,
8734                                  void (*add_new_ipv4)(guint const   addr ,   8734                                  void (*add_new_ipv4)(guint const   addr ,
8735                                                       gchar const   *name ) ) ;   8735                                                       gchar const   *name ) ) ;
8736 extern void wtap_set_cb_new_ipv6(wtap *wth ,   8736 extern void wtap_set_cb_new_ipv6(wtap *wth ,
8737                                  void (*add_new_ipv6)(void const   *addrp ,   8737                                  void (*add_new_ipv6)(void const   *addrp ,
8738                                                       gchar const   *name ) ) ;   8738                                                       gchar const   *name ) ) ;
8739 extern gboolean wtap_read(wtap *wth , int *err , gchar **err_info ,   8739 extern gboolean wtap_read(wtap *wth , int *err , gchar **err_info ,
8740                           gint64 *data_offset ) ;   8740                           gint64 *data_offset ) ;
8741 extern gboolean wtap_seek_read(wtap *wth , gint64 seek_off ,   8741 extern gboolean wtap_seek_read(wtap *wth , gint64 seek_off ,
8742                                union wtap_pseudo_header *pseudo_header ,   8742                                union wtap_pseudo_header *pseudo_header ,
8743                                guint8 *pd , int len , int *err ,   8743                                guint8 *pd , int len , int *err ,
8744                                gchar **err_info ) ;   8744                                gchar **err_info ) ;
8745 extern struct wtap_pkthdr *wtap_phdr(wtap *wth ) ;   8745 extern struct wtap_pkthdr *wtap_phdr(wtap *wth ) ;
8746 extern union wtap_pseudo_header *wtap_pseudoheader(wtap *wth ) ;   8746 extern union wtap_pseudo_header *wtap_pseudoheader(wtap *wth ) ;
8747 extern guint8 *wtap_buf_ptr(wtap *wth ) ;   8747 extern guint8 *wtap_buf_ptr(wtap *wth ) ;
8748 extern gint64 wtap_read_so_far(wtap *wth ) ;   8748 extern gint64 wtap_read_so_far(wtap *wth ) ;
8749 extern gint64 wtap_file_size(wtap *wth , int *err ) ;   8749 extern gint64 wtap_file_size(wtap *wth , int *err ) ;
8750 extern int wtap_snapshot_length(wtap *wth ) ;   8750 extern int wtap_snapshot_length(wtap *wth ) ;
8751 extern int wtap_file_type(wtap *wth ) ;   8751 extern int wtap_file_type(wtap *wth ) ;
8752 extern int wtap_file_encap(wtap *wth ) ;   8752 extern int wtap_file_encap(wtap *wth ) ;
8753 extern int wtap_file_tsprecision(wtap *wth ) ;   8753 extern int wtap_file_tsprecision(wtap *wth ) ;
8754 extern void wtap_sequential_close(wtap *wth ) ;   8754 extern void wtap_sequential_close(wtap *wth ) ;
8755 extern void wtap_close(wtap *wth ) ;   8755 extern void wtap_close(wtap *wth ) ;
8756 extern gboolean wtap_dump_can_open(int filetype ) ;   8756 extern gboolean wtap_dump_can_open(int filetype ) ;
8757 extern gboolean wtap_dump_can_write_encap(int filetype , int encap ) ;   8757 extern gboolean wtap_dump_can_write_encap(int filetype , int encap ) ;
8758 extern gboolean wtap_dump_can_compress(int filetype ) ;   8758 extern gboolean wtap_dump_can_compress(int filetype ) ;
8759 extern gboolean wtap_dump_has_name_resolution(int filetype ) ;   8759 extern gboolean wtap_dump_has_name_resolution(int filetype ) ;
8760 extern wtap_dumper *wtap_dump_open(char const   *filename , int filetype ,   8760 extern wtap_dumper *wtap_dump_open(char const   *filename , int filetype ,
8761                                    int encap , int snaplen ,   8761                                    int encap , int snaplen ,
8762                                    gboolean compressed , int *err ) ;   8762                                    gboolean compressed , int *err ) ;
8763 extern wtap_dumper *wtap_dump_fdopen(int fd , int filetype , int encap ,   8763 extern wtap_dumper *wtap_dump_fdopen(int fd , int filetype , int encap ,
8764                                      int snaplen , gboolean compressed ,   8764                                      int snaplen , gboolean compressed ,
8765                                      int *err ) ;   8765                                      int *err ) ;
8766 extern gboolean wtap_dump(wtap_dumper * , struct wtap_pkthdr  const  * ,   8766 extern gboolean wtap_dump(wtap_dumper * , struct wtap_pkthdr  const  * ,
8767                           union wtap_pseudo_header  const  *pseudo_header ,   8767                           union wtap_pseudo_header  const  *pseudo_header ,
8768                           guchar const   * , int *err ) ;   8768                           guchar const   * , int *err ) ;
8769 extern void wtap_dump_flush(wtap_dumper * ) ;   8769 extern void wtap_dump_flush(wtap_dumper * ) ;
8770 extern gint64 wtap_get_bytes_dumped(wtap_dumper * ) ;   8770 extern gint64 wtap_get_bytes_dumped(wtap_dumper * ) ;
8771 extern void wtap_set_bytes_dumped(wtap_dumper *wdh , gint64 bytes_dumped ) ;   8771 extern void wtap_set_bytes_dumped(wtap_dumper *wdh , gint64 bytes_dumped ) ;
8772 extern gboolean wtap_dump_set_addrinfo_list(wtap_dumper *wdh ,   8772 extern gboolean wtap_dump_set_addrinfo_list(wtap_dumper *wdh ,
8773                                             struct addrinfo *addrinfo_list ) ;   8773                                             struct addrinfo *addrinfo_list ) ;
8774 extern gboolean wtap_dump_close(wtap_dumper * , int * ) ;   8774 extern gboolean wtap_dump_close(wtap_dumper * , int * ) ;
8775 extern char const   *wtap_file_type_string(int filetype ) ;   8775 extern char const   *wtap_file_type_string(int filetype ) ;
8776 extern char const   *wtap_file_type_short_string(int filetype ) ;   8776 extern char const   *wtap_file_type_short_string(int filetype ) ;
8777 extern int wtap_short_string_to_file_type(char const   *short_name ) ;   8777 extern int wtap_short_string_to_file_type(char const   *short_name ) ;
8778 extern char const   *wtap_file_extensions_string(int filetype ) ;   8778 extern char const   *wtap_file_extensions_string(int filetype ) ;
8779 extern char const   *wtap_file_extension_default_string(int filetype ) ;   8779 extern char const   *wtap_file_extension_default_string(int filetype ) ;
8780 extern char const   *wtap_encap_string(int encap ) ;   8780 extern char const   *wtap_encap_string(int encap ) ;
8781 extern char const   *wtap_encap_short_string(int encap ) ;   8781 extern char const   *wtap_encap_short_string(int encap ) ;
8782 extern int wtap_short_string_to_encap(char const   *short_name ) ;   8782 extern int wtap_short_string_to_encap(char const   *short_name ) ;
8783 extern char const   *wtap_strerror(int err ) ;   8783 extern char const   *wtap_strerror(int err ) ;
8784 extern int wtap_get_num_encap_types(void) ;   8784 extern int wtap_get_num_encap_types(void) ;
8785 extern int wtap_get_num_file_types(void) ;   8785 extern int wtap_get_num_file_types(void) ;
8786 extern void wtap_register_open_routine(int (*)(struct wtap * , int * , char ** ) ,   8786 extern void wtap_register_open_routine(int (*)(struct wtap * , int * , char ** ) ,
8787                                        gboolean has_magic ) ;   8787                                        gboolean has_magic ) ;
8788 extern int wtap_register_file_type(struct file_type_info  const  *fi ) ;   8788 extern int wtap_register_file_type(struct file_type_info  const  *fi ) ;
8789 extern int wtap_register_encap_type(char *name , char *short_name ) ;   8789 extern int wtap_register_encap_type(char *name , char *short_name ) ;
8790 extern void nstime_set_zero(nstime_t *nstime ) ;   8790 extern void nstime_set_zero(nstime_t *nstime ) ;
8791 extern gboolean nstime_is_zero(nstime_t *nstime ) ;   8791 extern gboolean nstime_is_zero(nstime_t *nstime ) ;
8792 extern void nstime_set_unset(nstime_t *nstime ) ;   8792 extern void nstime_set_unset(nstime_t *nstime ) ;
8793 extern gboolean nstime_is_unset(nstime_t *nstime ) ;   8793 extern gboolean nstime_is_unset(nstime_t *nstime ) ;
8794 extern void nstime_delta(nstime_t *delta , nstime_t const   *b ,   8794 extern void nstime_delta(nstime_t *delta , nstime_t const   *b ,
8795                          nstime_t const   *a ) ;   8795                          nstime_t const   *a ) ;
8796 extern void nstime_sum(nstime_t *sum , nstime_t const   *b ,   8796 extern void nstime_sum(nstime_t *sum , nstime_t const   *b ,
8797                        nstime_t const   *a ) ;   8797                        nstime_t const   *a ) ;
8798 extern void nstime_diff(nstime_t *diff , nstime_t const   *b ,   8798 extern void nstime_diff(nstime_t *diff , nstime_t const   *b ,
8799                         nstime_t const   *a ) ;   8799                         nstime_t const   *a ) ;
8800 extern int nstime_cmp(nstime_t const   *a , nstime_t const   *b ) ;   8800 extern int nstime_cmp(nstime_t const   *a , nstime_t const   *b ) ;
8801 extern double nstime_to_msec(nstime_t const   *nstime ) ;   8801 extern double nstime_to_msec(nstime_t const   *nstime ) ;
8802 extern double nstime_to_sec(nstime_t const   *nstime ) ;   8802 extern double nstime_to_sec(nstime_t const   *nstime ) ;
8803 extern double wtap_nstime_to_sec(struct wtap_nstime  const  *nstime ) ;   8803 extern double wtap_nstime_to_sec(struct wtap_nstime  const  *nstime ) ;
8804 extern void p_add_proto_data(frame_data *fd , int proto , void *proto_data ) ;   8804 extern void p_add_proto_data(frame_data *fd , int proto , void *proto_data ) ;
8805 extern void *p_get_proto_data(frame_data *fd , int proto ) ;   8805 extern void *p_get_proto_data(frame_data *fd , int proto ) ;
8806 extern void p_remove_proto_data(frame_data *fd , int proto ) ;   8806 extern void p_remove_proto_data(frame_data *fd , int proto ) ;
8807 extern gint frame_data_compare(frame_data const   *fdata1 ,   8807 extern gint frame_data_compare(frame_data const   *fdata1 ,
8808                                frame_data const   *fdata2 , int field ) ;   8808                                frame_data const   *fdata2 , int field ) ;
8809 extern void frame_data_cleanup(frame_data *fdata ) ;   8809 extern void frame_data_cleanup(frame_data *fdata ) ;
8810 extern void frame_data_init(frame_data *fdata , guint32 num ,   8810 extern void frame_data_init(frame_data *fdata , guint32 num ,
8811                             struct wtap_pkthdr  const  *phdr , gint64 offset ,   8811                             struct wtap_pkthdr  const  *phdr , gint64 offset ,
8812                             guint32 cum_bytes ) ;   8812                             guint32 cum_bytes ) ;
8813 extern void frame_data_set_before_dissect(frame_data *fdata ,   8813 extern void frame_data_set_before_dissect(frame_data *fdata ,
8814                                           nstime_t *elapsed_time ,   8814                                           nstime_t *elapsed_time ,
8815                                           nstime_t *first_ts ,   8815                                           nstime_t *first_ts ,
8816                                           nstime_t *prev_dis_ts ,   8816                                           nstime_t *prev_dis_ts ,
8817                                           nstime_t *prev_cap_ts ) ;   8817                                           nstime_t *prev_cap_ts ) ;
8818 extern void frame_data_set_after_dissect(frame_data *fdata ,   8818 extern void frame_data_set_after_dissect(frame_data *fdata ,
8819                                          guint32 *cum_bytes ,   8819                                          guint32 *cum_bytes ,
8820                                          nstime_t *prev_dis_ts ) ;   8820                                          nstime_t *prev_dis_ts ) ;
8821 extern range_t *range_empty(void) ;   8821 extern range_t *range_empty(void) ;
8822 extern convert_ret_t range_convert_str(range_t **range , gchar const   *es ,   8822 extern convert_ret_t range_convert_str(range_t **range , gchar const   *es ,
8823                                        guint32 max_value ) ;   8823                                        guint32 max_value ) ;
8824 extern convert_ret_t range_convert_str_work(range_t **range ,   8824 extern convert_ret_t range_convert_str_work(range_t **range ,
8825                                             gchar const   *es ,   8825                                             gchar const   *es ,
8826                                             guint32 max_value ,   8826                                             guint32 max_value ,
8827                                             gboolean err_on_max ) ;   8827                                             gboolean err_on_max ) ;
8828 extern gboolean value_is_in_range(range_t *range , guint32 val ) ;   8828 extern gboolean value_is_in_range(range_t *range , guint32 val ) ;
8829 extern gboolean ranges_are_equal(range_t *a , range_t *b ) ;   8829 extern gboolean ranges_are_equal(range_t *a , range_t *b ) ;
8830 extern void range_foreach(range_t *range , void (*callback)(guint32 val ) ) ;   8830 extern void range_foreach(range_t *range , void (*callback)(guint32 val ) ) ;
8831 extern char *range_convert_range(range_t *range ) ;   8831 extern char *range_convert_range(range_t *range ) ;
8832 extern range_t *range_copy(range_t *src ) ;   8832 extern range_t *range_copy(range_t *src ) ;
8833 extern guint32 curr_selected_frame ;   8833 extern guint32 curr_selected_frame ;
8834 extern void packet_range_init(packet_range_t *range ) ;   8834 extern void packet_range_init(packet_range_t *range ) ;
8835 extern convert_ret_t packet_range_check(packet_range_t *range ) ;   8835 extern convert_ret_t packet_range_check(packet_range_t *range ) ;
8836 extern void packet_range_process_init(packet_range_t *range ) ;   8836 extern void packet_range_process_init(packet_range_t *range ) ;
8837 extern gboolean packet_range_process_all(packet_range_t *range ) ;   8837 extern gboolean packet_range_process_all(packet_range_t *range ) ;
8838 extern range_process_e packet_range_process_packet(packet_range_t *range ,   8838 extern range_process_e packet_range_process_packet(packet_range_t *range ,
8839                                                    frame_data *fdata ) ;   8839                                                    frame_data *fdata ) ;
8840 extern void packet_range_convert_str(packet_range_t *range , gchar const   *es ) ;   8840 extern void packet_range_convert_str(packet_range_t *range , gchar const   *es ) ;
8841 extern void register_all_protocols(void (*cb)(register_action_e action ,   8841 extern void register_all_protocols(void (*cb)(register_action_e action ,
8842                                               char const   *message ,   8842                                               char const   *message ,
8843                                               gpointer client_data ) ,   8843                                               gpointer client_data ) ,
8844                                    gpointer client_data ) ;   8844                                    gpointer client_data ) ;
8845 extern void register_all_protocol_handoffs(void (*cb)(register_action_e action ,   8845 extern void register_all_protocol_handoffs(void (*cb)(register_action_e action ,
8846                                                       char const   *message ,   8846                                                       char const   *message ,
8847                                                       gpointer client_data ) ,   8847                                                       gpointer client_data ) ,
8848                                            gpointer client_data ) ;   8848                                            gpointer client_data ) ;
8849 extern void register_all_tap_listeners(void) ;   8849 extern void register_all_tap_listeners(void) ;
8850 extern gulong register_count(void) ;   8850 extern gulong register_count(void) ;
8851 extern void epan_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,   8851 extern void epan_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,
8852                                                                      char const   *message ,   8852                                                                      char const   *message ,
8853                                                                      gpointer client_data ) ,   8853                                                                      gpointer client_data ) ,
8854                                                           gpointer client_data ) ,   8854                                                           gpointer client_data ) ,
8855                       void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,   8855                       void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,
8856                                                                     char const   *message ,   8856                                                                     char const   *message ,
8857                                                                     gpointer client_data ) ,   8857                                                                     gpointer client_data ) ,
8858                                                          gpointer client_data ) ,   8858                                                          gpointer client_data ) ,
8859                       void (*cb)(register_action_e action ,   8859                       void (*cb)(register_action_e action ,
8860                                  char const   *message , gpointer client_data ) ,   8860                                  char const   *message , gpointer client_data ) ,
8861                       void *client_data ,   8861                       void *client_data ,
8862                       void (*report_failure_fcn_p)(char const   * , va_list  ) ,   8862                       void (*report_failure_fcn_p)(char const   * , va_list  ) ,
8863                       void (*report_open_failure_fcn_p)(char const   * , int  ,   8863                       void (*report_open_failure_fcn_p)(char const   * , int  ,
8864                                                         gboolean  ) ,   8864                                                         gboolean  ) ,
8865                       void (*report_read_failure_fcn_p)(char const   * , int  ) ,   8865                       void (*report_read_failure_fcn_p)(char const   * , int  ) ,
8866                       void (*report_write_failure_fcn_p)(char const   * , int  ) ) ;   8866                       void (*report_write_failure_fcn_p)(char const   * , int  ) ) ;
8867 extern void epan_cleanup(void) ;   8867 extern void epan_cleanup(void) ;
8868 extern void epan_conversation_init(void) ;   8868 extern void epan_conversation_init(void) ;
8869 extern void epan_conversation_cleanup(void) ;   8869 extern void epan_conversation_cleanup(void) ;
8870 extern void epan_circuit_init(void) ;   8870 extern void epan_circuit_init(void) ;
8871 extern void epan_circuit_cleanup(void) ;   8871 extern void epan_circuit_cleanup(void) ;
8872 extern epan_t *epan_new(void) ;   8872 extern epan_t *epan_new(void) ;
8873 extern void epan_free(epan_t * ) ;   8873 extern void epan_free(epan_t * ) ;
8874 extern gchar *epan_get_version(void) ;   8874 extern gchar *epan_get_version(void) ;
8875 extern epan_dissect_t *epan_dissect_init(epan_dissect_t *edt ,   8875 extern epan_dissect_t *epan_dissect_init(epan_dissect_t *edt ,
8876                                          gboolean const   create_proto_tree ,   8876                                          gboolean const   create_proto_tree ,
8877                                          gboolean const   proto_tree_visible ) ;   8877                                          gboolean const   proto_tree_visible ) ;
8878 extern epan_dissect_t *epan_dissect_new(gboolean const   create_proto_tree ,   8878 extern epan_dissect_t *epan_dissect_new(gboolean const   create_proto_tree ,
8879                                         gboolean const   proto_tree_visible ) ;   8879                                         gboolean const   proto_tree_visible ) ;
8880 extern void epan_dissect_fake_protocols(epan_dissect_t *edt ,   8880 extern void epan_dissect_fake_protocols(epan_dissect_t *edt ,
8881                                         gboolean const   fake_protocols ) ;   8881                                         gboolean const   fake_protocols ) ;
8882 extern void epan_dissect_run(epan_dissect_t *edt , void *pseudo_header ,   8882 extern void epan_dissect_run(epan_dissect_t *edt , void *pseudo_header ,
8883                              guint8 const   *data , frame_data *fd ,   8883                              guint8 const   *data , frame_data *fd ,
8884                              column_info *cinfo ) ;   8884                              column_info *cinfo ) ;
8885 extern void epan_dissect_prime_dfilter(epan_dissect_t *edt ,   8885 extern void epan_dissect_prime_dfilter(epan_dissect_t *edt ,
8886                                        dfilter_t const   *dfcode ) ;   8886                                        dfilter_t const   *dfcode ) ;
8887 extern void epan_dissect_fill_in_columns(epan_dissect_t *edt ,   8887 extern void epan_dissect_fill_in_columns(epan_dissect_t *edt ,
8888                                          gboolean const   fill_col_exprs ,   8888                                          gboolean const   fill_col_exprs ,
8889                                          gboolean const   fill_fd_colums ) ;   8889                                          gboolean const   fill_fd_colums ) ;
8890 extern void epan_dissect_cleanup(epan_dissect_t *edt ) ;   8890 extern void epan_dissect_cleanup(epan_dissect_t *edt ) ;
8891 extern void epan_dissect_free(epan_dissect_t *edt ) ;   8891 extern void epan_dissect_free(epan_dissect_t *edt ) ;
8892 extern gchar const   *epan_custom_set(epan_dissect_t *edt , int id ,   8892 extern gchar const   *epan_custom_set(epan_dissect_t *edt , int id ,
8893                                       gint occurrence , gchar *result ,   8893                                       gint occurrence , gchar *result ,
8894                                       gchar *expr , int const   size ) ;   8894                                       gchar *expr , int const   size ) ;
8895 extern void epan_get_compiled_version_info(GString *str ) ;   8895 extern void epan_get_compiled_version_info(GString *str ) ;
8896 extern void epan_get_runtime_version_info(GString *str ) ;   8896 extern void epan_get_runtime_version_info(GString *str ) ;
8897 extern ipv4_addr *ipv4_addr_new(void) ;   8897 extern ipv4_addr *ipv4_addr_new(void) ;
8898 extern void ipv4_addr_free(ipv4_addr *ipv4 ) ;   8898 extern void ipv4_addr_free(ipv4_addr *ipv4 ) ;
8899 extern void ipv4_addr_set_host_order_addr(ipv4_addr *ipv4 ,   8899 extern void ipv4_addr_set_host_order_addr(ipv4_addr *ipv4 ,
8900                                           guint32 const   new_addr ) ;   8900                                           guint32 const   new_addr ) ;
8901 extern void ipv4_addr_set_net_order_addr(ipv4_addr *ipv4 ,   8901 extern void ipv4_addr_set_net_order_addr(ipv4_addr *ipv4 ,
8902                                          guint32 const   new_addr ) ;   8902                                          guint32 const   new_addr ) ;
8903 extern void ipv4_addr_set_netmask_bits(ipv4_addr *ipv4 ,   8903 extern void ipv4_addr_set_netmask_bits(ipv4_addr *ipv4 ,
8904                                        guint const   new_nmask_bits ) ;   8904                                        guint const   new_nmask_bits ) ;
8905 extern guint32 ipv4_get_net_order_addr(ipv4_addr *ipv4 ) ;   8905 extern guint32 ipv4_get_net_order_addr(ipv4_addr *ipv4 ) ;
8906 extern guint32 ipv4_get_host_order_addr(ipv4_addr *ipv4 ) ;   8906 extern guint32 ipv4_get_host_order_addr(ipv4_addr *ipv4 ) ;
8907 extern void ipv4_addr_str_buf(ipv4_addr const   *ipv4 , gchar *buf ) ;   8907 extern void ipv4_addr_str_buf(ipv4_addr const   *ipv4 , gchar *buf ) ;
8908 extern gboolean ipv4_addr_eq(ipv4_addr *a , ipv4_addr *b ) ;   8908 extern gboolean ipv4_addr_eq(ipv4_addr *a , ipv4_addr *b ) ;
8909 extern gboolean ipv4_addr_gt(ipv4_addr *a , ipv4_addr *b ) ;   8909 extern gboolean ipv4_addr_gt(ipv4_addr *a , ipv4_addr *b ) ;
8910 extern gboolean ipv4_addr_ge(ipv4_addr *a , ipv4_addr *b ) ;   8910 extern gboolean ipv4_addr_ge(ipv4_addr *a , ipv4_addr *b ) ;
8911 extern gboolean ipv4_addr_lt(ipv4_addr *a , ipv4_addr *b ) ;   8911 extern gboolean ipv4_addr_lt(ipv4_addr *a , ipv4_addr *b ) ;
8912 extern gboolean ipv4_addr_le(ipv4_addr *a , ipv4_addr *b ) ;   8912 extern gboolean ipv4_addr_le(ipv4_addr *a , ipv4_addr *b ) ;
8913 extern void emem_init(void) ;   8913 extern void emem_init(void) ;
8914 extern void *ep_alloc(size_t size )  __attribute__((__malloc__)) ;   8914 extern void *ep_alloc(size_t size )  __attribute__((__malloc__)) ;
8915 extern void *ep_alloc0(size_t size )  __attribute__((__malloc__)) ;   8915 extern void *ep_alloc0(size_t size )  __attribute__((__malloc__)) ;
8916 extern gchar *ep_strdup(gchar const   *src )  __attribute__((__malloc__)) ;   8916 extern gchar *ep_strdup(gchar const   *src )  __attribute__((__malloc__)) ;
8917 extern gchar *ep_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;   8917 extern gchar *ep_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;
8918 extern void *ep_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;   8918 extern void *ep_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;
8919 extern gchar *ep_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;   8919 extern gchar *ep_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;
8920 extern gchar *( /* format attribute */  ep_strdup_printf)(gchar const   *fmt   8920 extern gchar *( /* format attribute */  ep_strdup_printf)(gchar const   *fmt
8921                                                           , ...)  __attribute__((__malloc__)) ;   8921                                                           , ...)  __attribute__((__malloc__)) ;
8922 extern gchar *ep_strconcat(gchar const   *string  , ...)  __attribute__((__sentinel__,   8922 extern gchar *ep_strconcat(gchar const   *string  , ...)  __attribute__((__sentinel__,
8923 __malloc__)) ;   8923 __malloc__)) ;
8924 extern gchar **ep_strsplit(gchar const   *string , gchar const   *delimiter ,   8924 extern gchar **ep_strsplit(gchar const   *string , gchar const   *delimiter ,
8925                            int max_tokens ) ;   8925                            int max_tokens ) ;
8926 extern void ep_free_all(void) ;   8926 extern void ep_free_all(void) ;
8927 extern ep_stack_t ep_stack_new(void)  __attribute__((__malloc__)) ;   8927 extern ep_stack_t ep_stack_new(void)  __attribute__((__malloc__)) ;
8928 extern void *ep_stack_push(ep_stack_t stack , void *item ) ;   8928 extern void *ep_stack_push(ep_stack_t stack , void *item ) ;
8929 extern void *ep_stack_pop(ep_stack_t stack ) ;   8929 extern void *ep_stack_pop(ep_stack_t stack ) ;
8930 extern void *se_alloc(size_t size )  __attribute__((__malloc__)) ;   8930 extern void *se_alloc(size_t size )  __attribute__((__malloc__)) ;
8931 extern void *se_alloc0(size_t size )  __attribute__((__malloc__)) ;   8931 extern void *se_alloc0(size_t size )  __attribute__((__malloc__)) ;
8932 extern gchar *se_strdup(gchar const   *src )  __attribute__((__malloc__)) ;   8932 extern gchar *se_strdup(gchar const   *src )  __attribute__((__malloc__)) ;
8933 extern gchar *se_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;   8933 extern gchar *se_strndup(gchar const   *src , size_t len )  __attribute__((__malloc__)) ;
8934 extern void *se_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;   8934 extern void *se_memdup(void const   *src , size_t len )  __attribute__((__malloc__)) ;
8935 extern gchar *se_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;   8935 extern gchar *se_strdup_vprintf(gchar const   *fmt , va_list ap )  __attribute__((__malloc__)) ;
8936 extern gchar *( /* format attribute */  se_strdup_printf)(gchar const   *fmt   8936 extern gchar *( /* format attribute */  se_strdup_printf)(gchar const   *fmt
8937                                                           , ...)  __attribute__((__malloc__)) ;   8937                                                           , ...)  __attribute__((__malloc__)) ;
8938 extern void se_free_all(void) ;   8938 extern void se_free_all(void) ;
8939 extern void *sl_alloc(struct ws_memory_slab *mem_chunk ) ;   8939 extern void *sl_alloc(struct ws_memory_slab *mem_chunk ) ;
8940 extern void *sl_alloc0(struct ws_memory_slab *mem_chunk ) ;   8940 extern void *sl_alloc0(struct ws_memory_slab *mem_chunk ) ;
8941 extern void sl_free(struct ws_memory_slab *mem_chunk , gpointer ptr ) ;   8941 extern void sl_free(struct ws_memory_slab *mem_chunk , gpointer ptr ) ;
8942 extern void sl_free_all(struct ws_memory_slab *mem_chunk ) ;   8942 extern void sl_free_all(struct ws_memory_slab *mem_chunk ) ;
8943 extern emem_tree_t *se_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;   8943 extern emem_tree_t *se_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;
8944 extern emem_tree_t *se_tree_create_non_persistent(int type , char const   *name )  __attribute__((__malloc__)) ;   8944 extern emem_tree_t *se_tree_create_non_persistent(int type , char const   *name )  __attribute__((__malloc__)) ;
8945 extern emem_tree_t *pe_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;   8945 extern emem_tree_t *pe_tree_create(int type , char const   *name )  __attribute__((__malloc__)) ;
8946 extern void emem_tree_insert32(emem_tree_t *se_tree , guint32 key , void *data ) ;   8946 extern void emem_tree_insert32(emem_tree_t *se_tree , guint32 key , void *data ) ;
8947 extern void *emem_tree_lookup32(emem_tree_t *se_tree , guint32 key ) ;   8947 extern void *emem_tree_lookup32(emem_tree_t *se_tree , guint32 key ) ;
8948 extern void *emem_tree_lookup32_le(emem_tree_t *se_tree , guint32 key ) ;   8948 extern void *emem_tree_lookup32_le(emem_tree_t *se_tree , guint32 key ) ;
8949 extern void emem_tree_insert32_array(emem_tree_t *se_tree ,   8949 extern void emem_tree_insert32_array(emem_tree_t *se_tree ,
8950                                      emem_tree_key_t *key , void *data ) ;   8950                                      emem_tree_key_t *key , void *data ) ;
8951 extern void *emem_tree_lookup32_array(emem_tree_t *se_tree ,   8951 extern void *emem_tree_lookup32_array(emem_tree_t *se_tree ,
8952                                       emem_tree_key_t *key ) ;   8952                                       emem_tree_key_t *key ) ;
8953 extern void *emem_tree_lookup32_array_le(emem_tree_t *se_tree ,   8953 extern void *emem_tree_lookup32_array_le(emem_tree_t *se_tree ,
8954                                          emem_tree_key_t *key ) ;   8954                                          emem_tree_key_t *key ) ;
8955 extern void emem_tree_insert_string(emem_tree_t *h , gchar const   *k ,   8955 extern void emem_tree_insert_string(emem_tree_t *h , gchar const   *k ,
8956                                     void *v , guint32 flags ) ;   8956                                     void *v , guint32 flags ) ;
8957 extern void *emem_tree_lookup_string(emem_tree_t *h , gchar const   *k ,   8957 extern void *emem_tree_lookup_string(emem_tree_t *h , gchar const   *k ,
8958                                      guint32 flags ) ;   8958                                      guint32 flags ) ;
8959 extern gboolean emem_tree_foreach(emem_tree_t *emem_tree ,   8959 extern gboolean emem_tree_foreach(emem_tree_t *emem_tree ,
8960                                   gboolean (*callback)(void *value ,   8960                                   gboolean (*callback)(void *value ,
8961                                                        void *userdata ) ,   8961                                                        void *userdata ) ,
8962                                   void *user_data ) ;   8962                                   void *user_data ) ;
8963 extern emem_strbuf_t *ep_strbuf_new(gchar const   *init )  __attribute__((__malloc__)) ;   8963 extern emem_strbuf_t *ep_strbuf_new(gchar const   *init )  __attribute__((__malloc__)) ;
8964 extern emem_strbuf_t *ep_strbuf_new_label(gchar const   *init )  __attribute__((__malloc__)) ;   8964 extern emem_strbuf_t *ep_strbuf_new_label(gchar const   *init )  __attribute__((__malloc__)) ;
8965 extern emem_strbuf_t *ep_strbuf_sized_new(gsize alloc_len , gsize max_alloc_len )  __attribute__((__malloc__)) ;   8965 extern emem_strbuf_t *ep_strbuf_sized_new(gsize alloc_len , gsize max_alloc_len )  __attribute__((__malloc__)) ;
8966 extern void ep_strbuf_append_vprintf(emem_strbuf_t *strbuf ,   8966 extern void ep_strbuf_append_vprintf(emem_strbuf_t *strbuf ,
8967                                      gchar const   *format , va_list ap ) ;   8967                                      gchar const   *format , va_list ap ) ;
8968 extern void ( /* format attribute */  ep_strbuf_printf)(emem_strbuf_t *strbuf ,   8968 extern void ( /* format attribute */  ep_strbuf_printf)(emem_strbuf_t *strbuf ,
8969                                                         gchar const   *format   8969                                                         gchar const   *format
8970                                                         , ...) ;   8970                                                         , ...) ;
8971 extern void ( /* format attribute */  ep_strbuf_append_printf)(emem_strbuf_t *strbuf ,   8971 extern void ( /* format attribute */  ep_strbuf_append_printf)(emem_strbuf_t *strbuf ,
8972                                                                gchar const   *format   8972                                                                gchar const   *format
8973                                                                , ...) ;   8973                                                                , ...) ;
8974 extern emem_strbuf_t *ep_strbuf_append(emem_strbuf_t *strbuf ,   8974 extern emem_strbuf_t *ep_strbuf_append(emem_strbuf_t *strbuf ,
8975                                        gchar const   *str ) ;   8975                                        gchar const   *str ) ;
8976 extern emem_strbuf_t *ep_strbuf_append_c(emem_strbuf_t *strbuf ,   8976 extern emem_strbuf_t *ep_strbuf_append_c(emem_strbuf_t *strbuf ,
8977                                          gchar const   c ) ;   8977                                          gchar const   c ) ;
8978 extern emem_strbuf_t *ep_strbuf_truncate(emem_strbuf_t *strbuf , gsize len ) ;   8978 extern emem_strbuf_t *ep_strbuf_truncate(emem_strbuf_t *strbuf , gsize len ) ;
8979 extern void emem_print_tree(emem_tree_t *emem_tree ) ;   8979 extern void emem_print_tree(emem_tree_t *emem_tree ) ;
8980 extern gboolean ep_verify_pointer(void const   *ptr ) ;   8980 extern gboolean ep_verify_pointer(void const   *ptr ) ;
8981 extern gboolean se_verify_pointer(void const   *ptr ) ;   8981 extern gboolean se_verify_pointer(void const   *ptr ) ;
8982 extern void ftypes_initialize(void) ;   8982 extern void ftypes_initialize(void) ;
8983 extern char const   *ftype_name(ftenum_t ftype ) ;   8983 extern char const   *ftype_name(ftenum_t ftype ) ;
8984 extern char const   *ftype_pretty_name(ftenum_t ftype ) ;   8984 extern char const   *ftype_pretty_name(ftenum_t ftype ) ;
8985 extern int ftype_length(ftenum_t ftype ) ;   8985 extern int ftype_length(ftenum_t ftype ) ;
8986 extern gboolean ftype_can_slice(enum ftenum ftype ) ;   8986 extern gboolean ftype_can_slice(enum ftenum ftype ) ;
8987 extern gboolean ftype_can_eq(enum ftenum ftype ) ;   8987 extern gboolean ftype_can_eq(enum ftenum ftype ) ;
8988 extern gboolean ftype_can_ne(enum ftenum ftype ) ;   8988 extern gboolean ftype_can_ne(enum ftenum ftype ) ;
8989 extern gboolean ftype_can_gt(enum ftenum ftype ) ;   8989 extern gboolean ftype_can_gt(enum ftenum ftype ) ;
8990 extern gboolean ftype_can_ge(enum ftenum ftype ) ;   8990 extern gboolean ftype_can_ge(enum ftenum ftype ) ;
8991 extern gboolean ftype_can_lt(enum ftenum ftype ) ;   8991 extern gboolean ftype_can_lt(enum ftenum ftype ) ;
8992 extern gboolean ftype_can_le(enum ftenum ftype ) ;   8992 extern gboolean ftype_can_le(enum ftenum ftype ) ;
8993 extern gboolean ftype_can_bitwise_and(enum ftenum ftype ) ;   8993 extern gboolean ftype_can_bitwise_and(enum ftenum ftype ) ;
8994 extern gboolean ftype_can_contains(enum ftenum ftype ) ;   8994 extern gboolean ftype_can_contains(enum ftenum ftype ) ;
8995 extern gboolean ftype_can_matches(enum ftenum ftype ) ;   8995 extern gboolean ftype_can_matches(enum ftenum ftype ) ;
8996 extern drange_node *drange_node_new(void) ;   8996 extern drange_node *drange_node_new(void) ;
8997 extern void drange_node_free(drange_node *drnode ) ;   8997 extern void drange_node_free(drange_node *drnode ) ;
8998 extern void drange_node_free_list(GSList *list ) ;   8998 extern void drange_node_free_list(GSList *list ) ;
8999 extern gint drange_node_get_start_offset(drange_node *drnode ) ;   8999 extern gint drange_node_get_start_offset(drange_node *drnode ) ;
9000 extern gint drange_node_get_length(drange_node *drnode ) ;   9000 extern gint drange_node_get_length(drange_node *drnode ) ;
9001 extern gint drange_node_get_end_offset(drange_node *drnode ) ;   9001 extern gint drange_node_get_end_offset(drange_node *drnode ) ;
9002 extern drange_node_end_t drange_node_get_ending(drange_node *drnode ) ;   9002 extern drange_node_end_t drange_node_get_ending(drange_node *drnode ) ;
9003 extern void drange_node_set_start_offset(drange_node *drnode , gint offset ) ;   9003 extern void drange_node_set_start_offset(drange_node *drnode , gint offset ) ;
9004 extern void drange_node_set_length(drange_node *drnode , gint length ) ;   9004 extern void drange_node_set_length(drange_node *drnode , gint length ) ;
9005 extern void drange_node_set_end_offset(drange_node *drnode , gint offset ) ;   9005 extern void drange_node_set_end_offset(drange_node *drnode , gint offset ) ;
9006 extern void drange_node_set_to_the_end(drange_node *drnode ) ;   9006 extern void drange_node_set_to_the_end(drange_node *drnode ) ;
9007 extern drange *drange_new(void) ;   9007 extern drange *drange_new(void) ;
9008 extern drange *drange_new_from_list(GSList *list ) ;   9008 extern drange *drange_new_from_list(GSList *list ) ;
9009 extern void drange_free(drange *dr ) ;   9009 extern void drange_free(drange *dr ) ;
9010 extern gboolean drange_has_total_length(drange *dr ) ;   9010 extern gboolean drange_has_total_length(drange *dr ) ;
9011 extern gint drange_get_total_length(drange *dr ) ;   9011 extern gint drange_get_total_length(drange *dr ) ;
9012 extern gint drange_get_min_start_offset(drange *dr ) ;   9012 extern gint drange_get_min_start_offset(drange *dr ) ;
9013 extern gint drange_get_max_start_offset(drange *dr ) ;   9013 extern gint drange_get_max_start_offset(drange *dr ) ;
9014 extern void drange_append_drange_node(drange *dr , drange_node *drnode ) ;   9014 extern void drange_append_drange_node(drange *dr , drange_node *drnode ) ;
9015 extern void drange_prepend_drange_node(drange *dr , drange_node *drnode ) ;   9015 extern void drange_prepend_drange_node(drange *dr , drange_node *drnode ) ;
9016 extern void drange_foreach_drange_node(drange *dr ,   9016 extern void drange_foreach_drange_node(drange *dr ,
9017                                        void (*func)(gpointer data ,   9017                                        void (*func)(gpointer data ,
9018                                                     gpointer user_data ) ,   9018                                                     gpointer user_data ) ,
9019                                        gpointer funcdata ) ;   9019                                        gpointer funcdata ) ;
9020 extern fvalue_t *fvalue_new(ftenum_t ftype ) ;   9020 extern fvalue_t *fvalue_new(ftenum_t ftype ) ;
9021 extern void fvalue_init(fvalue_t *fv , ftenum_t ftype ) ;   9021 extern void fvalue_init(fvalue_t *fv , ftenum_t ftype ) ;
9022 extern struct ws_memory_slab fvalue_t_slab ;   9022 extern struct ws_memory_slab fvalue_t_slab ;
9023 extern fvalue_t *fvalue_from_unparsed(ftenum_t ftype , char *s ,   9023 extern fvalue_t *fvalue_from_unparsed(ftenum_t ftype , char *s ,
9024                                       gboolean allow_partial_value ,   9024                                       gboolean allow_partial_value ,
9025                                       void (*logfunc)(char const   *  , ...) ) ;   9025                                       void (*logfunc)(char const   *  , ...) ) ;
9026 extern fvalue_t *fvalue_from_string(ftenum_t ftype , char *s ,   9026 extern fvalue_t *fvalue_from_string(ftenum_t ftype , char *s ,
9027                                     void (*logfunc)(char const   *  , ...) ) ;   9027                                     void (*logfunc)(char const   *  , ...) ) ;
9028 extern int fvalue_string_repr_len(fvalue_t *fv , ftrepr_t rtype ) ;   9028 extern int fvalue_string_repr_len(fvalue_t *fv , ftrepr_t rtype ) ;
9029 extern char *fvalue_to_string_repr(fvalue_t *fv , ftrepr_t rtype , char *buf ) ;   9029 extern char *fvalue_to_string_repr(fvalue_t *fv , ftrepr_t rtype , char *buf ) ;
9030 extern ftype_t *fvalue_ftype(fvalue_t *fv ) ;   9030 extern ftype_t *fvalue_ftype(fvalue_t *fv ) ;
9031 extern char const   *fvalue_type_name(fvalue_t *fv ) ;   9031 extern char const   *fvalue_type_name(fvalue_t *fv ) ;
9032 extern void fvalue_set(fvalue_t *fv , gpointer value , gboolean already_copied ) ;   9032 extern void fvalue_set(fvalue_t *fv , gpointer value , gboolean already_copied ) ;
9033 extern void fvalue_set_uinteger(fvalue_t *fv , guint32 value ) ;   9033 extern void fvalue_set_uinteger(fvalue_t *fv , guint32 value ) ;
9034 extern void fvalue_set_sinteger(fvalue_t *fv , gint32 value ) ;   9034 extern void fvalue_set_sinteger(fvalue_t *fv , gint32 value ) ;
9035 extern void fvalue_set_integer64(fvalue_t *fv , guint64 value ) ;   9035 extern void fvalue_set_integer64(fvalue_t *fv , guint64 value ) ;
9036 extern void fvalue_set_floating(fvalue_t *fv , gdouble value ) ;   9036 extern void fvalue_set_floating(fvalue_t *fv , gdouble value ) ;
9037 extern gpointer fvalue_get(fvalue_t *fv ) ;   9037 extern gpointer fvalue_get(fvalue_t *fv ) ;
9038 extern guint32 fvalue_get_uinteger(fvalue_t *fv ) ;   9038 extern guint32 fvalue_get_uinteger(fvalue_t *fv ) ;
9039 extern gint32 fvalue_get_sinteger(fvalue_t *fv ) ;   9039 extern gint32 fvalue_get_sinteger(fvalue_t *fv ) ;
9040 extern guint64 fvalue_get_integer64(fvalue_t *fv ) ;   9040 extern guint64 fvalue_get_integer64(fvalue_t *fv ) ;
9041 extern double fvalue_get_floating(fvalue_t *fv ) ;   9041 extern double fvalue_get_floating(fvalue_t *fv ) ;
9042 extern gboolean fvalue_eq(fvalue_t *a , fvalue_t *b ) ;   9042 extern gboolean fvalue_eq(fvalue_t *a , fvalue_t *b ) ;
9043 extern gboolean fvalue_ne(fvalue_t *a , fvalue_t *b ) ;   9043 extern gboolean fvalue_ne(fvalue_t *a , fvalue_t *b ) ;
9044 extern gboolean fvalue_gt(fvalue_t *a , fvalue_t *b ) ;   9044 extern gboolean fvalue_gt(fvalue_t *a , fvalue_t *b ) ;
9045 extern gboolean fvalue_ge(fvalue_t *a , fvalue_t *b ) ;   9045 extern gboolean fvalue_ge(fvalue_t *a , fvalue_t *b ) ;
9046 extern gboolean fvalue_lt(fvalue_t *a , fvalue_t *b ) ;   9046 extern gboolean fvalue_lt(fvalue_t *a , fvalue_t *b ) ;
9047 extern gboolean fvalue_le(fvalue_t *a , fvalue_t *b ) ;   9047 extern gboolean fvalue_le(fvalue_t *a , fvalue_t *b ) ;
9048 extern gboolean fvalue_bitwise_and(fvalue_t *a , fvalue_t *b ) ;   9048 extern gboolean fvalue_bitwise_and(fvalue_t *a , fvalue_t *b ) ;
9049 extern gboolean fvalue_contains(fvalue_t *a , fvalue_t *b ) ;   9049 extern gboolean fvalue_contains(fvalue_t *a , fvalue_t *b ) ;
9050 extern gboolean fvalue_matches(fvalue_t *a , fvalue_t *b ) ;   9050 extern gboolean fvalue_matches(fvalue_t *a , fvalue_t *b ) ;
9051 extern guint fvalue_length(fvalue_t *fv ) ;   9051 extern guint fvalue_length(fvalue_t *fv ) ;
9052 extern fvalue_t *fvalue_slice(fvalue_t *fv , drange *dr ) ;   9052 extern fvalue_t *fvalue_slice(fvalue_t *fv , drange *dr ) ;
9053 extern int hf_text_only ;   9053 extern int hf_text_only ;
9054 extern gboolean proto_tree_traverse_post_order(proto_tree *tree ,   9054 extern gboolean proto_tree_traverse_post_order(proto_tree *tree ,
9055                                                gboolean (*func)(proto_node * ,   9055                                                gboolean (*func)(proto_node * ,
9056                                                                 gpointer  ) ,   9056                                                                 gpointer  ) ,
9057                                                gpointer data ) ;   9057                                                gpointer data ) ;
9058 extern void proto_tree_children_foreach(proto_tree *tree ,   9058 extern void proto_tree_children_foreach(proto_tree *tree ,
9059                                         void (*func)(proto_node * , gpointer  ) ,   9059                                         void (*func)(proto_node * , gpointer  ) ,
9060                                         gpointer data ) ;   9060                                         gpointer data ) ;
9061 extern void proto_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,   9061 extern void proto_init(void (*register_all_protocols_func)(void (*cb)(register_action_e action ,
9062                                                                       char const   *message ,   9062                                                                       char const   *message ,
9063                                                                       gpointer client_data ) ,   9063                                                                       gpointer client_data ) ,
9064                                                            gpointer client_data ) ,   9064                                                            gpointer client_data ) ,
9065                        void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,   9065                        void (*register_all_handoffs_func)(void (*cb)(register_action_e action ,
9066                                                                      char const   *message ,   9066                                                                      char const   *message ,
9067                                                                      gpointer client_data ) ,   9067                                                                      gpointer client_data ) ,
9068                                                           gpointer client_data ) ,   9068                                                           gpointer client_data ) ,
9069                        void (*cb)(register_action_e action ,   9069                        void (*cb)(register_action_e action ,
9070                                   char const   *message , gpointer client_data ) ,   9070                                   char const   *message , gpointer client_data ) ,
9071                        void *client_data ) ;   9071                        void *client_data ) ;
9072 extern void proto_cleanup(void) ;   9072 extern void proto_cleanup(void) ;
9073 extern gboolean proto_field_is_referenced(proto_tree *tree , int proto_id ) ;   9073 extern gboolean proto_field_is_referenced(proto_tree *tree , int proto_id ) ;
9074 extern proto_tree *( __attribute__((__warn_unused_result__)) proto_item_add_subtree)(proto_item *ti ,   9074 extern proto_tree *( __attribute__((__warn_unused_result__)) proto_item_add_subtree)(proto_item *ti ,
9075                                                                                      gint const   idx ) ;   9075                                                                                      gint const   idx ) ;
9076 extern proto_tree *proto_item_get_subtree(proto_item const   *ti ) ;   9076 extern proto_tree *proto_item_get_subtree(proto_item const   *ti ) ;
9077 extern proto_item *proto_item_get_parent(proto_item const   *ti ) ;   9077 extern proto_item *proto_item_get_parent(proto_item const   *ti ) ;
9078 extern proto_item *proto_item_get_parent_nth(proto_item *ti , int gen ) ;   9078 extern proto_item *proto_item_get_parent_nth(proto_item *ti , int gen ) ;
9079 extern void ( /* format attribute */  proto_item_set_text)(proto_item *ti ,   9079 extern void ( /* format attribute */  proto_item_set_text)(proto_item *ti ,
9080                                                            char const   *format   9080                                                            char const   *format
9081                                                            , ...) ;   9081                                                            , ...) ;
9082 extern void ( /* format attribute */  proto_item_append_text)(proto_item *ti ,   9082 extern void ( /* format attribute */  proto_item_append_text)(proto_item *ti ,
9083                                                               char const   *format   9083                                                               char const   *format
9084                                                               , ...) ;   9084                                                               , ...) ;
9085 extern void ( /* format attribute */  proto_item_prepend_text)(proto_item *ti ,   9085 extern void ( /* format attribute */  proto_item_prepend_text)(proto_item *ti ,
9086                                                                char const   *format   9086                                                                char const   *format
9087                                                                , ...) ;   9087                                                                , ...) ;
9088 extern void proto_item_set_len(proto_item *ti , gint const   length ) ;   9088 extern void proto_item_set_len(proto_item *ti , gint const   length ) ;
9089 extern void proto_item_set_end(proto_item *ti , tvbuff_t *tvb , gint end ) ;   9089 extern void proto_item_set_end(proto_item *ti , tvbuff_t *tvb , gint end ) ;
9090 extern int proto_item_get_len(proto_item const   *ti ) ;   9090 extern int proto_item_get_len(proto_item const   *ti ) ;
9091 extern gboolean proto_item_set_expert_flags(proto_item *ti , int const   group ,   9091 extern gboolean proto_item_set_expert_flags(proto_item *ti , int const   group ,
9092                                             guint const   severity ) ;   9092                                             guint const   severity ) ;
9093 extern proto_tree *proto_tree_create_root(void) ;   9093 extern proto_tree *proto_tree_create_root(void) ;
9094 extern void proto_tree_free(proto_tree *tree ) ;   9094 extern void proto_tree_free(proto_tree *tree ) ;
9095 extern gboolean proto_tree_set_visible(proto_tree *tree , gboolean visible ) ;   9095 extern gboolean proto_tree_set_visible(proto_tree *tree , gboolean visible ) ;
9096 extern void proto_tree_set_fake_protocols(proto_tree *tree ,   9096 extern void proto_tree_set_fake_protocols(proto_tree *tree ,
9097                                           gboolean fake_protocols ) ;   9097                                           gboolean fake_protocols ) ;
9098 extern void proto_tree_prime_hfid(proto_tree *tree , int const   hfid ) ;   9098 extern void proto_tree_prime_hfid(proto_tree *tree , int const   hfid ) ;
9099 extern proto_item *proto_tree_get_parent(proto_tree const   *tree ) ;   9099 extern proto_item *proto_tree_get_parent(proto_tree const   *tree ) ;
9100 extern proto_tree *proto_tree_get_root(proto_tree *tree ) ;   9100 extern proto_tree *proto_tree_get_root(proto_tree *tree ) ;
9101 extern void proto_tree_move_item(proto_tree *tree , proto_item *fixed_item ,   9101 extern void proto_tree_move_item(proto_tree *tree , proto_item *fixed_item ,
9102                                  proto_item *item_to_move ) ;   9102                                  proto_item *item_to_move ) ;
9103 extern void proto_tree_set_appendix(proto_tree *tree , tvbuff_t *tvb ,   9103 extern void proto_tree_set_appendix(proto_tree *tree , tvbuff_t *tvb ,
9104                                     gint start , gint const   length ) ;   9104                                     gint start , gint const   length ) ;
9105 extern proto_item *proto_tree_add_item(proto_tree *tree , int const   hfindex ,   9105 extern proto_item *proto_tree_add_item(proto_tree *tree , int const   hfindex ,
9106                                        tvbuff_t *tvb , gint const   start ,   9106                                        tvbuff_t *tvb , gint const   start ,
9107                                        gint length , guint const   encoding ) ;   9107                                        gint length , guint const   encoding ) ;
9108 extern proto_item *( /* format attribute */  proto_tree_add_text)(proto_tree *tree ,   9108 extern proto_item *( /* format attribute */  proto_tree_add_text)(proto_tree *tree ,
9109                                                                   tvbuff_t *tvb ,   9109                                                                   tvbuff_t *tvb ,
9110                                                                   gint start ,   9110                                                                   gint start ,
9111                                                                   gint length ,   9111                                                                   gint length ,
9112                                                                   char const   *format   9112                                                                   char const   *format
9113                                                                   , ...) ;   9113                                                                   , ...) ;
9114 extern proto_item *proto_tree_add_text_valist(proto_tree *tree , tvbuff_t *tvb ,   9114 extern proto_item *proto_tree_add_text_valist(proto_tree *tree , tvbuff_t *tvb ,
9115                                               gint start , gint length ,   9115                                               gint start , gint length ,
9116                                               char const   *format , va_list ap ) ;   9116                                               char const   *format , va_list ap ) ;
9117 extern proto_item *( /* format attribute */  proto_tree_add_none_format)(proto_tree *tree ,   9117 extern proto_item *( /* format attribute */  proto_tree_add_none_format)(proto_tree *tree ,
9118                                                                          int const   hfindex ,   9118                                                                          int const   hfindex ,
9119                                                                          tvbuff_t *tvb ,   9119                                                                          tvbuff_t *tvb ,
9120                                                                          gint const   start ,   9120                                                                          gint const   start ,
9121                                                                          gint length ,   9121                                                                          gint length ,
9122                                                                          char const   *format   9122                                                                          char const   *format
9123                                                                          , ...) ;   9123                                                                          , ...) ;
9124 extern proto_item *( /* format attribute */  proto_tree_add_protocol_format)(proto_tree *tree ,   9124 extern proto_item *( /* format attribute */  proto_tree_add_protocol_format)(proto_tree *tree ,
9125                                                                              int hfindex ,   9125                                                                              int hfindex ,
9126                                                                              tvbuff_t *tvb ,   9126                                                                              tvbuff_t *tvb ,
9127                                                                              gint start ,   9127                                                                              gint start ,
9128                                                                              gint length ,   9128                                                                              gint length ,
9129                                                                              char const   *format   9129                                                                              char const   *format
9130                                                                              , ...) ;   9130                                                                              , ...) ;
9131 extern proto_item *proto_tree_add_bytes(proto_tree *tree , int hfindex ,   9131 extern proto_item *proto_tree_add_bytes(proto_tree *tree , int hfindex ,
9132                                         tvbuff_t *tvb , gint start ,   9132                                         tvbuff_t *tvb , gint start ,
9133                                         gint length , guint8 const   *start_ptr ) ;   9133                                         gint length , guint8 const   *start_ptr ) ;
9134 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format_value)(proto_tree *tree ,   9134 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format_value)(proto_tree *tree ,
9135                                                                                 int hfindex ,   9135                                                                                 int hfindex ,
9136                                                                                 tvbuff_t *tvb ,   9136                                                                                 tvbuff_t *tvb ,
9137                                                                                 gint start ,   9137                                                                                 gint start ,
9138                                                                                 gint length ,   9138                                                                                 gint length ,
9139                                                                                 guint8 const   *start_ptr ,   9139                                                                                 guint8 const   *start_ptr ,
9140                                                                                 char const   *format   9140                                                                                 char const   *format
9141                                                                                 , ...) ;   9141                                                                                 , ...) ;
9142 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format)(proto_tree *tree ,   9142 extern proto_item *( /* format attribute */  proto_tree_add_bytes_format)(proto_tree *tree ,
9143                                                                           int hfindex ,   9143                                                                           int hfindex ,
9144                                                                           tvbuff_t *tvb ,   9144                                                                           tvbuff_t *tvb ,
9145                                                                           gint start ,   9145                                                                           gint start ,
9146                                                                           gint length ,   9146                                                                           gint length ,
9147                                                                           guint8 const   *start_ptr ,   9147                                                                           guint8 const   *start_ptr ,
9148                                                                           char const   *format   9148                                                                           char const   *format
9149                                                                           , ...) ;   9149                                                                           , ...) ;
9150 extern proto_item *proto_tree_add_time(proto_tree *tree , int hfindex ,   9150 extern proto_item *proto_tree_add_time(proto_tree *tree , int hfindex ,
9151                                        tvbuff_t *tvb , gint start ,   9151                                        tvbuff_t *tvb , gint start ,
9152                                        gint length , nstime_t *value_ptr ) ;   9152                                        gint length , nstime_t *value_ptr ) ;
9153 extern proto_item *( /* format attribute */  proto_tree_add_time_format_value)(proto_tree *tree ,   9153 extern proto_item *( /* format attribute */  proto_tree_add_time_format_value)(proto_tree *tree ,
9154                                                                                int hfindex ,   9154                                                                                int hfindex ,
9155                                                                                tvbuff_t *tvb ,   9155                                                                                tvbuff_t *tvb ,
9156                                                                                gint start ,   9156                                                                                gint start ,
9157                                                                                gint length ,   9157                                                                                gint length ,
9158                                                                                nstime_t *value_ptr ,   9158                                                                                nstime_t *value_ptr ,
9159                                                                                char const   *format   9159                                                                                char const   *format
9160                                                                                , ...) ;   9160                                                                                , ...) ;
9161 extern proto_item *( /* format attribute */  proto_tree_add_time_format)(proto_tree *tree ,   9161 extern proto_item *( /* format attribute */  proto_tree_add_time_format)(proto_tree *tree ,
9162                                                                          int hfindex ,   9162                                                                          int hfindex ,
9163                                                                          tvbuff_t *tvb ,   9163                                                                          tvbuff_t *tvb ,
9164                                                                          gint start ,   9164                                                                          gint start ,
9165                                                                          gint length ,   9165                                                                          gint length ,
9166                                                                          nstime_t *value_ptr ,   9166                                                                          nstime_t *value_ptr ,
9167                                                                          char const   *format   9167                                                                          char const   *format
9168                                                                          , ...) ;   9168                                                                          , ...) ;
9169 extern proto_item *proto_tree_add_ipxnet(proto_tree *tree , int hfindex ,   9169 extern proto_item *proto_tree_add_ipxnet(proto_tree *tree , int hfindex ,
9170                                          tvbuff_t *tvb , gint start ,   9170                                          tvbuff_t *tvb , gint start ,
9171                                          gint length , guint32 value ) ;   9171                                          gint length , guint32 value ) ;
9172 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format_value)(proto_tree *tree ,   9172 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format_value)(proto_tree *tree ,
9173                                                                                  int hfindex ,   9173                                                                                  int hfindex ,
9174                                                                                  tvbuff_t *tvb ,   9174                                                                                  tvbuff_t *tvb ,
9175                                                                                  gint start ,   9175                                                                                  gint start ,
9176                                                                                  gint length ,   9176                                                                                  gint length ,
9177                                                                                  guint32 value ,   9177                                                                                  guint32 value ,
9178                                                                                  char const   *format   9178                                                                                  char const   *format
9179                                                                                  , ...) ;   9179                                                                                  , ...) ;
9180 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format)(proto_tree *tree ,   9180 extern proto_item *( /* format attribute */  proto_tree_add_ipxnet_format)(proto_tree *tree ,
9181                                                                            int hfindex ,   9181                                                                            int hfindex ,
9182                                                                            tvbuff_t *tvb ,   9182                                                                            tvbuff_t *tvb ,
9183                                                                            gint start ,   9183                                                                            gint start ,
9184                                                                            gint length ,   9184                                                                            gint length ,
9185                                                                            guint32 value ,   9185                                                                            guint32 value ,
9186                                                                            char const   *format   9186                                                                            char const   *format
9187                                                                            , ...) ;   9187                                                                            , ...) ;
9188 extern proto_item *proto_tree_add_ipv4(proto_tree *tree , int hfindex ,   9188 extern proto_item *proto_tree_add_ipv4(proto_tree *tree , int hfindex ,
9189                                        tvbuff_t *tvb , gint start ,   9189                                        tvbuff_t *tvb , gint start ,
9190                                        gint length , guint32 value ) ;   9190                                        gint length , guint32 value ) ;
9191 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format_value)(proto_tree *tree ,   9191 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format_value)(proto_tree *tree ,
9192                                                                                int hfindex ,   9192                                                                                int hfindex ,
9193                                                                                tvbuff_t *tvb ,   9193                                                                                tvbuff_t *tvb ,
9194                                                                                gint start ,   9194                                                                                gint start ,
9195                                                                                gint length ,   9195                                                                                gint length ,
9196                                                                                guint32 value ,   9196                                                                                guint32 value ,
9197                                                                                char const   *format   9197                                                                                char const   *format
9198                                                                                , ...) ;   9198                                                                                , ...) ;
9199 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format)(proto_tree *tree ,   9199 extern proto_item *( /* format attribute */  proto_tree_add_ipv4_format)(proto_tree *tree ,
9200                                                                          int hfindex ,   9200                                                                          int hfindex ,
9201                                                                          tvbuff_t *tvb ,   9201                                                                          tvbuff_t *tvb ,
9202                                                                          gint start ,   9202                                                                          gint start ,
9203                                                                          gint length ,   9203                                                                          gint length ,
9204                                                                          guint32 value ,   9204                                                                          guint32 value ,
9205                                                                          char const   *format   9205                                                                          char const   *format
9206                                                                          , ...) ;   9206                                                                          , ...) ;
9207 extern proto_item *proto_tree_add_ipv6(proto_tree *tree , int hfindex ,   9207 extern proto_item *proto_tree_add_ipv6(proto_tree *tree , int hfindex ,
9208                                        tvbuff_t *tvb , gint start ,   9208                                        tvbuff_t *tvb , gint start ,
9209                                        gint length , guint8 const   *value_ptr ) ;   9209                                        gint length , guint8 const   *value_ptr ) ;
9210 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format_value)(proto_tree *tree ,   9210 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format_value)(proto_tree *tree ,
9211                                                                                int hfindex ,   9211                                                                                int hfindex ,
9212                                                                                tvbuff_t *tvb ,   9212                                                                                tvbuff_t *tvb ,
9213                                                                                gint start ,   9213                                                                                gint start ,
9214                                                                                gint length ,   9214                                                                                gint length ,
9215                                                                                guint8 const   *value_ptr ,   9215                                                                                guint8 const   *value_ptr ,
9216                                                                                char const   *format   9216                                                                                char const   *format
9217                                                                                , ...) ;   9217                                                                                , ...) ;
9218 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format)(proto_tree *tree ,   9218 extern proto_item *( /* format attribute */  proto_tree_add_ipv6_format)(proto_tree *tree ,
9219                                                                          int hfindex ,   9219                                                                          int hfindex ,
9220                                                                          tvbuff_t *tvb ,   9220                                                                          tvbuff_t *tvb ,
9221                                                                          gint start ,   9221                                                                          gint start ,
9222                                                                          gint length ,   9222                                                                          gint length ,
9223                                                                          guint8 const   *value_ptr ,   9223                                                                          guint8 const   *value_ptr ,
9224                                                                          char const   *format   9224                                                                          char const   *format
9225                                                                          , ...) ;   9225                                                                          , ...) ;
9226 extern proto_item *proto_tree_add_ether(proto_tree *tree , int hfindex ,   9226 extern proto_item *proto_tree_add_ether(proto_tree *tree , int hfindex ,
9227                                         tvbuff_t *tvb , gint start ,   9227                                         tvbuff_t *tvb , gint start ,
9228                                         gint length , guint8 const   *value ) ;   9228                                         gint length , guint8 const   *value ) ;
9229 extern proto_item *( /* format attribute */  proto_tree_add_ether_format_value)(proto_tree *tree ,   9229 extern proto_item *( /* format attribute */  proto_tree_add_ether_format_value)(proto_tree *tree ,
9230                                                                                 int hfindex ,   9230                                                                                 int hfindex ,
9231                                                                                 tvbuff_t *tvb ,   9231                                                                                 tvbuff_t *tvb ,
9232                                                                                 gint start ,   9232                                                                                 gint start ,
9233                                                                                 gint length ,   9233                                                                                 gint length ,
9234                                                                                 guint8 const   *value ,   9234                                                                                 guint8 const   *value ,
9235                                                                                 char const   *format   9235                                                                                 char const   *format
9236                                                                                 , ...) ;   9236                                                                                 , ...) ;
9237 extern proto_item *( /* format attribute */  proto_tree_add_ether_format)(proto_tree *tree ,   9237 extern proto_item *( /* format attribute */  proto_tree_add_ether_format)(proto_tree *tree ,
9238                                                                           int hfindex ,   9238                                                                           int hfindex ,
9239                                                                           tvbuff_t *tvb ,   9239                                                                           tvbuff_t *tvb ,
9240                                                                           gint start ,   9240                                                                           gint start ,
9241                                                                           gint length ,   9241                                                                           gint length ,
9242                                                                           guint8 const   *value ,   9242                                                                           guint8 const   *value ,
9243                                                                           char const   *format   9243                                                                           char const   *format
9244                                                                           , ...) ;   9244                                                                           , ...) ;
9245 extern proto_item *proto_tree_add_guid(proto_tree *tree , int hfindex ,   9245 extern proto_item *proto_tree_add_guid(proto_tree *tree , int hfindex ,
9246                                        tvbuff_t *tvb , gint start ,   9246                                        tvbuff_t *tvb , gint start ,
9247                                        gint length ,   9247                                        gint length ,
9248                                        e_guid_t const   *value_ptr ) ;   9248                                        e_guid_t const   *value_ptr ) ;
9249 extern proto_item *( /* format attribute */  proto_tree_add_guid_format_value)(proto_tree *tree ,   9249 extern proto_item *( /* format attribute */  proto_tree_add_guid_format_value)(proto_tree *tree ,
9250                                                                                int hfindex ,   9250                                                                                int hfindex ,
9251                                                                                tvbuff_t *tvb ,   9251                                                                                tvbuff_t *tvb ,
9252                                                                                gint start ,   9252                                                                                gint start ,
9253                                                                                gint length ,   9253                                                                                gint length ,
9254                                                                                e_guid_t const   *value_ptr ,   9254                                                                                e_guid_t const   *value_ptr ,
9255                                                                                char const   *format   9255                                                                                char const   *format
9256                                                                                , ...) ;   9256                                                                                , ...) ;
9257 extern proto_item *( /* format attribute */  proto_tree_add_guid_format)(proto_tree *tree ,   9257 extern proto_item *( /* format attribute */  proto_tree_add_guid_format)(proto_tree *tree ,
9258                                                                          int hfindex ,   9258                                                                          int hfindex ,
9259                                                                          tvbuff_t *tvb ,   9259                                                                          tvbuff_t *tvb ,
9260                                                                          gint start ,   9260                                                                          gint start ,
9261                                                                          gint length ,   9261                                                                          gint length ,
9262                                                                          e_guid_t const   *value_ptr ,   9262                                                                          e_guid_t const   *value_ptr ,
9263                                                                          char const   *format   9263                                                                          char const   *format
9264                                                                          , ...) ;   9264                                                                          , ...) ;
9265 extern proto_item *proto_tree_add_oid(proto_tree *tree , int hfindex ,   9265 extern proto_item *proto_tree_add_oid(proto_tree *tree , int hfindex ,
9266                                       tvbuff_t *tvb , gint start , gint length ,   9266                                       tvbuff_t *tvb , gint start , gint length ,
9267                                       guint8 const   *value_ptr ) ;   9267                                       guint8 const   *value_ptr ) ;
9268 extern proto_item *( /* format attribute */  proto_tree_add_oid_format_value)(proto_tree *tree ,   9268 extern proto_item *( /* format attribute */  proto_tree_add_oid_format_value)(proto_tree *tree ,
9269                                                                               int hfindex ,   9269                                                                               int hfindex ,
9270                                                                               tvbuff_t *tvb ,   9270                                                                               tvbuff_t *tvb ,
9271                                                                               gint start ,   9271                                                                               gint start ,
9272                                                                               gint length ,   9272                                                                               gint length ,
9273                                                                               guint8 const   *value_ptr ,   9273                                                                               guint8 const   *value_ptr ,
9274                                                                               char const   *format   9274                                                                               char const   *format
9275                                                                               , ...) ;   9275                                                                               , ...) ;
9276 extern proto_item *( /* format attribute */  proto_tree_add_oid_format)(proto_tree *tree ,   9276 extern proto_item *( /* format attribute */  proto_tree_add_oid_format)(proto_tree *tree ,
9277                                                                         int hfindex ,   9277                                                                         int hfindex ,
9278                                                                         tvbuff_t *tvb ,   9278                                                                         tvbuff_t *tvb ,
9279                                                                         gint start ,   9279                                                                         gint start ,
9280                                                                         gint length ,   9280                                                                         gint length ,
9281                                                                         guint8 const   *value_ptr ,   9281                                                                         guint8 const   *value_ptr ,
9282                                                                         char const   *format   9282                                                                         char const   *format
9283                                                                         , ...) ;   9283                                                                         , ...) ;
9284 extern proto_item *proto_tree_add_string(proto_tree *tree , int hfindex ,   9284 extern proto_item *proto_tree_add_string(proto_tree *tree , int hfindex ,
9285                                          tvbuff_t *tvb , gint start ,   9285                                          tvbuff_t *tvb , gint start ,
9286                                          gint length , char const   *value ) ;   9286                                          gint length , char const   *value ) ;
9287 extern proto_item *( /* format attribute */  proto_tree_add_string_format_value)(proto_tree *tree ,   9287 extern proto_item *( /* format attribute */  proto_tree_add_string_format_value)(proto_tree *tree ,
9288                                                                                  int hfindex ,   9288                                                                                  int hfindex ,
9289                                                                                  tvbuff_t *tvb ,   9289                                                                                  tvbuff_t *tvb ,
9290                                                                                  gint start ,   9290                                                                                  gint start ,
9291                                                                                  gint length ,   9291                                                                                  gint length ,
9292                                                                                  char const   *value ,   9292                                                                                  char const   *value ,
9293                                                                                  char const   *format   9293                                                                                  char const   *format
9294                                                                                  , ...) ;   9294                                                                                  , ...) ;
9295 extern proto_item *( /* format attribute */  proto_tree_add_string_format)(proto_tree *tree ,   9295 extern proto_item *( /* format attribute */  proto_tree_add_string_format)(proto_tree *tree ,
9296                                                                            int hfindex ,   9296                                                                            int hfindex ,
9297                                                                            tvbuff_t *tvb ,   9297                                                                            tvbuff_t *tvb ,
9298                                                                            gint start ,   9298                                                                            gint start ,
9299                                                                            gint length ,   9299                                                                            gint length ,
9300                                                                            char const   *value ,   9300                                                                            char const   *value ,
9301                                                                            char const   *format   9301                                                                            char const   *format
9302                                                                            , ...) ;   9302                                                                            , ...) ;
9303 extern proto_item *proto_tree_add_boolean(proto_tree *tree , int hfindex ,   9303 extern proto_item *proto_tree_add_boolean(proto_tree *tree , int hfindex ,
9304                                           tvbuff_t *tvb , gint start ,   9304                                           tvbuff_t *tvb , gint start ,
9305                                           gint length , guint32 value ) ;   9305                                           gint length , guint32 value ) ;
9306 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format_value)(proto_tree *tree ,   9306 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format_value)(proto_tree *tree ,
9307                                                                                   int hfindex ,   9307                                                                                   int hfindex ,
9308                                                                                   tvbuff_t *tvb ,   9308                                                                                   tvbuff_t *tvb ,
9309                                                                                   gint start ,   9309                                                                                   gint start ,
9310                                                                                   gint length ,   9310                                                                                   gint length ,
9311                                                                                   guint32 value ,   9311                                                                                   guint32 value ,
9312                                                                                   char const   *format   9312                                                                                   char const   *format
9313                                                                                   , ...) ;   9313                                                                                   , ...) ;
9314 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format)(proto_tree *tree ,   9314 extern proto_item *( /* format attribute */  proto_tree_add_boolean_format)(proto_tree *tree ,
9315                                                                             int hfindex ,   9315                                                                             int hfindex ,
9316                                                                             tvbuff_t *tvb ,   9316                                                                             tvbuff_t *tvb ,
9317                                                                             gint start ,   9317                                                                             gint start ,
9318                                                                             gint length ,   9318                                                                             gint length ,
9319                                                                             guint32 value ,   9319                                                                             guint32 value ,
9320                                                                             char const   *format   9320                                                                             char const   *format
9321                                                                             , ...) ;   9321                                                                             , ...) ;
9322 extern proto_item *proto_tree_add_float(proto_tree *tree , int hfindex ,   9322 extern proto_item *proto_tree_add_float(proto_tree *tree , int hfindex ,
9323                                         tvbuff_t *tvb , gint start ,   9323                                         tvbuff_t *tvb , gint start ,
9324                                         gint length , float value ) ;   9324                                         gint length , float value ) ;
9325 extern proto_item *( /* format attribute */  proto_tree_add_float_format_value)(proto_tree *tree ,   9325 extern proto_item *( /* format attribute */  proto_tree_add_float_format_value)(proto_tree *tree ,
9326                                                                                 int hfindex ,   9326                                                                                 int hfindex ,
9327                                                                                 tvbuff_t *tvb ,   9327                                                                                 tvbuff_t *tvb ,
9328                                                                                 gint start ,   9328                                                                                 gint start ,
9329                                                                                 gint length ,   9329                                                                                 gint length ,
9330                                                                                 float value ,   9330                                                                                 float value ,
9331                                                                                 char const   *format   9331                                                                                 char const   *format
9332                                                                                 , ...) ;   9332                                                                                 , ...) ;
9333 extern proto_item *( /* format attribute */  proto_tree_add_float_format)(proto_tree *tree ,   9333 extern proto_item *( /* format attribute */  proto_tree_add_float_format)(proto_tree *tree ,
9334                                                                           int hfindex ,   9334                                                                           int hfindex ,
9335                                                                           tvbuff_t *tvb ,   9335                                                                           tvbuff_t *tvb ,
9336                                                                           gint start ,   9336                                                                           gint start ,
9337                                                                           gint length ,   9337                                                                           gint length ,
9338                                                                           float value ,   9338                                                                           float value ,
9339                                                                           char const   *format   9339                                                                           char const   *format
9340                                                                           , ...) ;   9340                                                                           , ...) ;
9341 extern proto_item *proto_tree_add_double(proto_tree *tree , int hfindex ,   9341 extern proto_item *proto_tree_add_double(proto_tree *tree , int hfindex ,
9342                                          tvbuff_t *tvb , gint start ,   9342                                          tvbuff_t *tvb , gint start ,
9343                                          gint length , double value ) ;   9343                                          gint length , double value ) ;
9344 extern proto_item *( /* format attribute */  proto_tree_add_double_format_value)(proto_tree *tree ,   9344 extern proto_item *( /* format attribute */  proto_tree_add_double_format_value)(proto_tree *tree ,
9345                                                                                  int hfindex ,   9345                                                                                  int hfindex ,
9346                                                                                  tvbuff_t *tvb ,   9346                                                                                  tvbuff_t *tvb ,
9347                                                                                  gint start ,   9347                                                                                  gint start ,
9348                                                                                  gint length ,   9348                                                                                  gint length ,
9349                                                                                  double value ,   9349                                                                                  double value ,
9350                                                                                  char const   *format   9350                                                                                  char const   *format
9351                                                                                  , ...) ;   9351                                                                                  , ...) ;
9352 extern proto_item *( /* format attribute */  proto_tree_add_double_format)(proto_tree *tree ,   9352 extern proto_item *( /* format attribute */  proto_tree_add_double_format)(proto_tree *tree ,
9353                                                                            int hfindex ,   9353                                                                            int hfindex ,
9354                                                                            tvbuff_t *tvb ,   9354                                                                            tvbuff_t *tvb ,
9355                                                                            gint start ,   9355                                                                            gint start ,
9356                                                                            gint length ,   9356                                                                            gint length ,
9357                                                                            double value ,   9357                                                                            double value ,
9358                                                                            char const   *format   9358                                                                            char const   *format
9359                                                                            , ...) ;   9359                                                                            , ...) ;
9360 extern proto_item *proto_tree_add_uint(proto_tree *tree , int hfindex ,   9360 extern proto_item *proto_tree_add_uint(proto_tree *tree , int hfindex ,
9361                                        tvbuff_t *tvb , gint start ,   9361                                        tvbuff_t *tvb , gint start ,
9362                                        gint length , guint32 value ) ;   9362                                        gint length , guint32 value ) ;
9363 extern proto_item *( /* format attribute */  proto_tree_add_uint_format_value)(proto_tree *tree ,   9363 extern proto_item *( /* format attribute */  proto_tree_add_uint_format_value)(proto_tree *tree ,
9364                                                                                int hfindex ,   9364                                                                                int hfindex ,
9365                                                                                tvbuff_t *tvb ,   9365                                                                                tvbuff_t *tvb ,
9366                                                                                gint start ,   9366                                                                                gint start ,
9367                                                                                gint length ,   9367                                                                                gint length ,
9368                                                                                guint32 value ,   9368                                                                                guint32 value ,
9369                                                                                char const   *format   9369                                                                                char const   *format
9370                                                                                , ...) ;   9370                                                                                , ...) ;
9371 extern proto_item *( /* format attribute */  proto_tree_add_uint_format)(proto_tree *tree ,   9371 extern proto_item *( /* format attribute */  proto_tree_add_uint_format)(proto_tree *tree ,
9372                                                                          int hfindex ,   9372                                                                          int hfindex ,
9373                                                                          tvbuff_t *tvb ,   9373                                                                          tvbuff_t *tvb ,
9374                                                                          gint start ,   9374                                                                          gint start ,
9375                                                                          gint length ,   9375                                                                          gint length ,
9376                                                                          guint32 value ,   9376                                                                          guint32 value ,
9377                                                                          char const   *format   9377                                                                          char const   *format
9378                                                                          , ...) ;   9378                                                                          , ...) ;
9379 extern proto_item *proto_tree_add_uint64(proto_tree *tree , int hfindex ,   9379 extern proto_item *proto_tree_add_uint64(proto_tree *tree , int hfindex ,
9380                                          tvbuff_t *tvb , gint start ,   9380                                          tvbuff_t *tvb , gint start ,
9381                                          gint length , guint64 value ) ;   9381                                          gint length , guint64 value ) ;
9382 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format_value)(proto_tree *tree ,   9382 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format_value)(proto_tree *tree ,
9383                                                                                  int hfindex ,   9383                                                                                  int hfindex ,
9384                                                                                  tvbuff_t *tvb ,   9384                                                                                  tvbuff_t *tvb ,
9385                                                                                  gint start ,   9385                                                                                  gint start ,
9386                                                                                  gint length ,   9386                                                                                  gint length ,
9387                                                                                  guint64 value ,   9387                                                                                  guint64 value ,
9388                                                                                  char const   *format   9388                                                                                  char const   *format
9389                                                                                  , ...) ;   9389                                                                                  , ...) ;
9390 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format)(proto_tree *tree ,   9390 extern proto_item *( /* format attribute */  proto_tree_add_uint64_format)(proto_tree *tree ,
9391                                                                            int hfindex ,   9391                                                                            int hfindex ,
9392                                                                            tvbuff_t *tvb ,   9392                                                                            tvbuff_t *tvb ,
9393                                                                            gint start ,   9393                                                                            gint start ,
9394                                                                            gint length ,   9394                                                                            gint length ,
9395                                                                            guint64 value ,   9395                                                                            guint64 value ,
9396                                                                            char const   *format   9396                                                                            char const   *format
9397                                                                            , ...) ;   9397                                                                            , ...) ;
9398 extern proto_item *proto_tree_add_int(proto_tree *tree , int hfindex ,   9398 extern proto_item *proto_tree_add_int(proto_tree *tree , int hfindex ,
9399                                       tvbuff_t *tvb , gint start , gint length ,   9399                                       tvbuff_t *tvb , gint start , gint length ,
9400                                       gint32 value ) ;   9400                                       gint32 value ) ;
9401 extern proto_item *( /* format attribute */  proto_tree_add_int_format_value)(proto_tree *tree ,   9401 extern proto_item *( /* format attribute */  proto_tree_add_int_format_value)(proto_tree *tree ,
9402                                                                               int hfindex ,   9402                                                                               int hfindex ,
9403                                                                               tvbuff_t *tvb ,   9403                                                                               tvbuff_t *tvb ,
9404                                                                               gint start ,   9404                                                                               gint start ,
9405                                                                               gint length ,   9405                                                                               gint length ,
9406                                                                               gint32 value ,   9406                                                                               gint32 value ,
9407                                                                               char const   *format   9407                                                                               char const   *format
9408                                                                               , ...) ;   9408                                                                               , ...) ;
9409 extern proto_item *( /* format attribute */  proto_tree_add_int_format)(proto_tree *tree ,   9409 extern proto_item *( /* format attribute */  proto_tree_add_int_format)(proto_tree *tree ,
9410                                                                         int hfindex ,   9410                                                                         int hfindex ,
9411                                                                         tvbuff_t *tvb ,   9411                                                                         tvbuff_t *tvb ,
9412                                                                         gint start ,   9412                                                                         gint start ,
9413                                                                         gint length ,   9413                                                                         gint length ,
9414                                                                         gint32 value ,   9414                                                                         gint32 value ,
9415                                                                         char const   *format   9415                                                                         char const   *format
9416                                                                         , ...) ;   9416                                                                         , ...) ;
9417 extern proto_item *proto_tree_add_int64(proto_tree *tree , int hfindex ,   9417 extern proto_item *proto_tree_add_int64(proto_tree *tree , int hfindex ,
9418                                         tvbuff_t *tvb , gint start ,   9418                                         tvbuff_t *tvb , gint start ,
9419                                         gint length , gint64 value ) ;   9419                                         gint length , gint64 value ) ;
9420 extern proto_item *( /* format attribute */  proto_tree_add_int64_format_value)(proto_tree *tree ,   9420 extern proto_item *( /* format attribute */  proto_tree_add_int64_format_value)(proto_tree *tree ,
9421                                                                                 int hfindex ,   9421                                                                                 int hfindex ,
9422                                                                                 tvbuff_t *tvb ,   9422                                                                                 tvbuff_t *tvb ,
9423                                                                                 gint start ,   9423                                                                                 gint start ,
9424                                                                                 gint length ,   9424                                                                                 gint length ,
9425                                                                                 gint64 value ,   9425                                                                                 gint64 value ,
9426                                                                                 char const   *format   9426                                                                                 char const   *format
9427                                                                                 , ...) ;   9427                                                                                 , ...) ;
9428 extern proto_item *( /* format attribute */  proto_tree_add_int64_format)(proto_tree *tree ,   9428 extern proto_item *( /* format attribute */  proto_tree_add_int64_format)(proto_tree *tree ,
9429                                                                           int hfindex ,   9429                                                                           int hfindex ,
9430                                                                           tvbuff_t *tvb ,   9430                                                                           tvbuff_t *tvb ,
9431                                                                           gint start ,   9431                                                                           gint start ,
9432                                                                           gint length ,   9432                                                                           gint length ,
9433                                                                           gint64 value ,   9433                                                                           gint64 value ,
9434                                                                           char const   *format   9434                                                                           char const   *format
9435                                                                           , ...) ;   9435                                                                           , ...) ;
9436 extern proto_item *proto_tree_add_eui64(proto_tree *tree , int hfindex ,   9436 extern proto_item *proto_tree_add_eui64(proto_tree *tree , int hfindex ,
9437                                         tvbuff_t *tvb , gint start ,   9437                                         tvbuff_t *tvb , gint start ,
9438                                         gint length , guint64 const   value ) ;   9438                                         gint length , guint64 const   value ) ;
9439 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format_value)(proto_tree *tree ,   9439 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format_value)(proto_tree *tree ,
9440                                                                                 int hfindex ,   9440                                                                                 int hfindex ,
9441                                                                                 tvbuff_t *tvb ,   9441                                                                                 tvbuff_t *tvb ,
9442                                                                                 gint start ,   9442                                                                                 gint start ,
9443                                                                                 gint length ,   9443                                                                                 gint length ,
9444                                                                                 guint64 const   value ,   9444                                                                                 guint64 const   value ,
9445                                                                                 char const   *format   9445                                                                                 char const   *format
9446                                                                                 , ...) ;   9446                                                                                 , ...) ;
9447 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format)(proto_tree *tree ,   9447 extern proto_item *( /* format attribute */  proto_tree_add_eui64_format)(proto_tree *tree ,
9448                                                                           int hfindex ,   9448                                                                           int hfindex ,
9449                                                                           tvbuff_t *tvb ,   9449                                                                           tvbuff_t *tvb ,
9450                                                                           gint start ,   9450                                                                           gint start ,
9451                                                                           gint length ,   9451                                                                           gint length ,
9452                                                                           guint64 const   value ,   9452                                                                           guint64 const   value ,
9453                                                                           char const   *format   9453                                                                           char const   *format
9454                                                                           , ...) ;   9454                                                                           , ...) ;
9455 extern proto_item *( /* format attribute */  proto_tree_add_debug_text)(proto_tree *tree ,   9455 extern proto_item *( /* format attribute */  proto_tree_add_debug_text)(proto_tree *tree ,
9456                                                                         char const   *format   9456                                                                         char const   *format
9457                                                                         , ...) ;   9457                                                                         , ...) ;
9458 extern void proto_item_append_string(proto_item *pi , char const   *str ) ;   9458 extern void proto_item_append_string(proto_item *pi , char const   *str ) ;
9459 extern void proto_item_fill_label(field_info *fi , gchar *label_str ) ;   9459 extern void proto_item_fill_label(field_info *fi , gchar *label_str ) ;
9460 extern int proto_register_protocol(char const   *name ,   9460 extern int proto_register_protocol(char const   *name ,
9461                                    char const   *short_name ,   9461                                    char const   *short_name ,
9462                                    char const   *filter_name ) ;   9462                                    char const   *filter_name ) ;
9463 extern void proto_mark_private(int const   proto_id ) ;   9463 extern void proto_mark_private(int const   proto_id ) ;
9464 extern gboolean proto_is_private(int const   proto_id ) ;   9464 extern gboolean proto_is_private(int const   proto_id ) ;
9465 extern void proto_register_prefix(char const   *prefix ,   9465 extern void proto_register_prefix(char const   *prefix ,
9466                                   void (*initializer)(char const   *match ) ) ;   9466                                   void (*initializer)(char const   *match ) ) ;
9467 extern void proto_initialize_all_prefixes(void) ;   9467 extern void proto_initialize_all_prefixes(void) ;
9468 extern void proto_register_field_array(int const   parent ,   9468 extern void proto_register_field_array(int const   parent ,
9469                                        hf_register_info *hf ,   9469                                        hf_register_info *hf ,
9470                                        int const   num_records ) ;   9470                                        int const   num_records ) ;
9471 extern void proto_register_subtree_array(gint * const  *indices ,   9471 extern void proto_register_subtree_array(gint * const  *indices ,
9472                                          int const   num_indices ) ;   9472                                          int const   num_indices ) ;
9473 extern int proto_registrar_n(void) ;   9473 extern int proto_registrar_n(void) ;
9474 extern char const   *proto_registrar_get_name(int const   n ) ;   9474 extern char const   *proto_registrar_get_name(int const   n ) ;
9475 extern char const   *proto_registrar_get_abbrev(int const   n ) ;   9475 extern char const   *proto_registrar_get_abbrev(int const   n ) ;
9476 extern header_field_info *proto_registrar_get_nth(guint hfindex ) ;   9476 extern header_field_info *proto_registrar_get_nth(guint hfindex ) ;
9477 extern header_field_info *proto_registrar_get_byname(char const   *field_name ) ;   9477 extern header_field_info *proto_registrar_get_byname(char const   *field_name ) ;
9478 extern int proto_registrar_get_ftype(int const   n ) ;   9478 extern int proto_registrar_get_ftype(int const   n ) ;
9479 extern int proto_registrar_get_parent(int const   n ) ;   9479 extern int proto_registrar_get_parent(int const   n ) ;
9480 extern gboolean proto_registrar_is_protocol(int const   n ) ;   9480 extern gboolean proto_registrar_is_protocol(int const   n ) ;
9481 extern gint proto_registrar_get_length(int const   n ) ;   9481 extern gint proto_registrar_get_length(int const   n ) ;
9482 extern int proto_get_first_protocol(void **cookie ) ;   9482 extern int proto_get_first_protocol(void **cookie ) ;
9483 extern int proto_get_next_protocol(void **cookie ) ;   9483 extern int proto_get_next_protocol(void **cookie ) ;
9484 extern header_field_info *proto_get_first_protocol_field(int const   proto_id ,   9484 extern header_field_info *proto_get_first_protocol_field(int const   proto_id ,
9485                                                          void **cookle ) ;   9485                                                          void **cookle ) ;
9486 extern header_field_info *proto_get_next_protocol_field(void **cookle ) ;   9486 extern header_field_info *proto_get_next_protocol_field(void **cookle ) ;
9487 extern int proto_get_id_by_filter_name(gchar const   *filter_name ) ;   9487 extern int proto_get_id_by_filter_name(gchar const   *filter_name ) ;
9488 extern gboolean proto_can_toggle_protocol(int const   proto_id ) ;   9488 extern gboolean proto_can_toggle_protocol(int const   proto_id ) ;
9489 extern protocol_t *find_protocol_by_id(int const   proto_id ) ;   9489 extern protocol_t *find_protocol_by_id(int const   proto_id ) ;
9490 extern char const   *proto_get_protocol_name(int const   proto_id ) ;   9490 extern char const   *proto_get_protocol_name(int const   proto_id ) ;
9491 extern int proto_get_id(protocol_t const   *protocol ) ;   9491 extern int proto_get_id(protocol_t const   *protocol ) ;
9492 extern char const   *proto_get_protocol_short_name(protocol_t const   *protocol ) ;   9492 extern char const   *proto_get_protocol_short_name(protocol_t const   *protocol ) ;
9493 extern char const   *proto_get_protocol_long_name(protocol_t const   *protocol ) ;   9493 extern char const   *proto_get_protocol_long_name(protocol_t const   *protocol ) ;
9494 extern gboolean proto_is_protocol_enabled(protocol_t const   *protocol ) ;   9494 extern gboolean proto_is_protocol_enabled(protocol_t const   *protocol ) ;
9495 extern char const   *proto_get_protocol_filter_name(int const   proto_id ) ;   9495 extern char const   *proto_get_protocol_filter_name(int const   proto_id ) ;
9496 extern void proto_set_decoding(int const   proto_id , gboolean const   enabled ) ;   9496 extern void proto_set_decoding(int const   proto_id , gboolean const   enabled ) ;
9497 extern void proto_enable_all(void) ;   9497 extern void proto_enable_all(void) ;
9498 extern void proto_set_cant_toggle(int const   proto_id ) ;   9498 extern void proto_set_cant_toggle(int const   proto_id ) ;
9499 extern gboolean proto_check_for_protocol_or_field(proto_tree const   *tree ,   9499 extern gboolean proto_check_for_protocol_or_field(proto_tree const   *tree ,
9500                                                   int const   id ) ;   9500                                                   int const   id ) ;
9501 extern GPtrArray *proto_get_finfo_ptr_array(proto_tree const   *tree ,   9501 extern GPtrArray *proto_get_finfo_ptr_array(proto_tree const   *tree ,
9502                                             int const   hfindex ) ;   9502                                             int const   hfindex ) ;
9503 extern gboolean proto_tracking_interesting_fields(proto_tree const   *tree ) ;   9503 extern gboolean proto_tracking_interesting_fields(proto_tree const   *tree ) ;
9504 extern GPtrArray *proto_find_finfo(proto_tree *tree , int const   hfindex ) ;   9504 extern GPtrArray *proto_find_finfo(proto_tree *tree , int const   hfindex ) ;
9505 extern GPtrArray *proto_all_finfos(proto_tree *tree ) ;   9505 extern GPtrArray *proto_all_finfos(proto_tree *tree ) ;
9506 extern void proto_registrar_dump_protocols(void) ;   9506 extern void proto_registrar_dump_protocols(void) ;
9507 extern void proto_registrar_dump_values(void) ;   9507 extern void proto_registrar_dump_values(void) ;
9508 extern void proto_registrar_dump_fields(int const   format ) ;   9508 extern void proto_registrar_dump_fields(int const   format ) ;
9509 extern gboolean *tree_is_expanded ;   9509 extern gboolean *tree_is_expanded ;
9510 extern int num_tree_types ;   9510 extern int num_tree_types ;
9511 extern int hfinfo_bitwidth(header_field_info const   *hfinfo ) ;   9511 extern int hfinfo_bitwidth(header_field_info const   *hfinfo ) ;
9512 extern gboolean proto_can_match_selected(field_info *finfo ,   9512 extern gboolean proto_can_match_selected(field_info *finfo ,
9513                                          epan_dissect_t *edt ) ;   9513                                          epan_dissect_t *edt ) ;
9514 extern char *proto_construct_match_selected_string(field_info *finfo ,   9514 extern char *proto_construct_match_selected_string(field_info *finfo ,
9515                                                    epan_dissect_t *edt ) ;   9515                                                    epan_dissect_t *edt ) ;
9516 extern field_info *proto_find_field_from_offset(proto_tree *tree ,   9516 extern field_info *proto_find_field_from_offset(proto_tree *tree ,
9517                                                 guint offset , tvbuff_t *tvb ) ;   9517                                                 guint offset , tvbuff_t *tvb ) ;
9518 extern proto_item *proto_tree_add_bitmask(proto_tree *tree , tvbuff_t *tvb ,   9518 extern proto_item *proto_tree_add_bitmask(proto_tree *tree , tvbuff_t *tvb ,
9519                                           guint const   offset ,   9519                                           guint const   offset ,
9520                                           int const   hf_hdr ,   9520                                           int const   hf_hdr ,
9521                                           gint const   ett ,   9521                                           gint const   ett ,
9522                                           int const   **fields ,   9522                                           int const   **fields ,
9523                                           gboolean const   little_endian ) ;   9523                                           gboolean const   little_endian ) ;
9524 extern proto_item *proto_tree_add_bitmask_text(proto_tree *tree ,   9524 extern proto_item *proto_tree_add_bitmask_text(proto_tree *tree ,
9525                                                tvbuff_t *tvb ,   9525                                                tvbuff_t *tvb ,
9526                                                guint const   offset ,   9526                                                guint const   offset ,
9527                                                guint const   len ,   9527                                                guint const   len ,
9528                                                char const   *name ,   9528                                                char const   *name ,
9529                                                char const   *fallback ,   9529                                                char const   *fallback ,
9530                                                gint const   ett ,   9530                                                gint const   ett ,
9531                                                int const   **fields ,   9531                                                int const   **fields ,
9532                                                gboolean const   little_endian ,   9532                                                gboolean const   little_endian ,
9533                                                int const   flags ) ;   9533                                                int const   flags ) ;
9534 extern proto_item *proto_tree_add_bits_item(proto_tree *tree ,   9534 extern proto_item *proto_tree_add_bits_item(proto_tree *tree ,
9535                                             int const   hf_index ,   9535                                             int const   hf_index ,
9536                                             tvbuff_t *tvb ,   9536                                             tvbuff_t *tvb ,
9537                                             gint const   bit_offset ,   9537                                             gint const   bit_offset ,
9538                                             gint const   no_of_bits ,   9538                                             gint const   no_of_bits ,
9539                                             gboolean const   little_endian ) ;   9539                                             gboolean const   little_endian ) ;
9540 extern proto_item *proto_tree_add_bits_ret_val(proto_tree *tree ,   9540 extern proto_item *proto_tree_add_bits_ret_val(proto_tree *tree ,
9541                                                int const   hf_index ,   9541                                                int const   hf_index ,
9542                                                tvbuff_t *tvb ,   9542                                                tvbuff_t *tvb ,
9543                                                gint const   bit_offset ,   9543                                                gint const   bit_offset ,
9544                                                gint const   no_of_bits ,   9544                                                gint const   no_of_bits ,
9545                                                guint64 *return_value ,   9545                                                guint64 *return_value ,
9546                                                gboolean const   little_endian ) ;   9546                                                gboolean const   little_endian ) ;
9547 extern proto_item *( /* format attribute */  proto_tree_add_uint_bits_format_value)(proto_tree *tree ,   9547 extern proto_item *( /* format attribute */  proto_tree_add_uint_bits_format_value)(proto_tree *tree ,
9548                                                                                     int const   hf_index ,   9548                                                                                     int const   hf_index ,
9549                                                                                     tvbuff_t *tvb ,   9549                                                                                     tvbuff_t *tvb ,
9550                                                                                     gint const   bit_offset ,   9550                                                                                     gint const   bit_offset ,
9551                                                                                     gint const   no_of_bits ,   9551                                                                                     gint const   no_of_bits ,
9552                                                                                     guint32 value ,   9552                                                                                     guint32 value ,
9553                                                                                     char const   *format   9553                                                                                     char const   *format
9554                                                                                     , ...) ;   9554                                                                                     , ...) ;
9555 extern proto_item *( /* format attribute */  proto_tree_add_boolean_bits_format_value)(proto_tree *tree ,   9555 extern proto_item *( /* format attribute */  proto_tree_add_boolean_bits_format_value)(proto_tree *tree ,
9556                                                                                        int const   hf_index ,   9556                                                                                        int const   hf_index ,
9557                                                                                        tvbuff_t *tvb ,   9557                                                                                        tvbuff_t *tvb ,
9558                                                                                        gint const   bit_offset ,   9558                                                                                        gint const   bit_offset ,
9559                                                                                        gint const   no_of_bits ,   9559                                                                                        gint const   no_of_bits ,
9560                                                                                        guint32 value ,   9560                                                                                        guint32 value ,
9561                                                                                        char const   *format   9561                                                                                        char const   *format
9562                                                                                        , ...) ;   9562                                                                                        , ...) ;
9563 extern proto_item *( /* format attribute */  proto_tree_add_int_bits_format_value)(proto_tree *tree ,   9563 extern proto_item *( /* format attribute */  proto_tree_add_int_bits_format_value)(proto_tree *tree ,
9564                                                                                    int const   hf_index ,   9564                                                                                    int const   hf_index ,
9565                                                                                    tvbuff_t *tvb ,   9565                                                                                    tvbuff_t *tvb ,
9566                                                                                    gint const   bit_offset ,   9566                                                                                    gint const   bit_offset ,
9567                                                                                    gint const   no_of_bits ,   9567                                                                                    gint const   no_of_bits ,
9568                                                                                    gint32 value ,   9568                                                                                    gint32 value ,
9569                                                                                    char const   *format   9569                                                                                    char const   *format
9570                                                                                    , ...) ;   9570                                                                                    , ...) ;
9571 extern proto_item *( /* format attribute */  proto_tree_add_float_bits_format_value)(proto_tree *tree ,   9571 extern proto_item *( /* format attribute */  proto_tree_add_float_bits_format_value)(proto_tree *tree ,
9572                                                                                      int const   hf_index ,   9572                                                                                      int const   hf_index ,
9573                                                                                      tvbuff_t *tvb ,   9573                                                                                      tvbuff_t *tvb ,
9574                                                                                      gint const   bit_offset ,   9574                                                                                      gint const   bit_offset ,
9575                                                                                      gint const   no_of_bits ,   9575                                                                                      gint const   no_of_bits ,
9576                                                                                      float value ,   9576                                                                                      float value ,
9577                                                                                      char const   *format   9577                                                                                      char const   *format
9578                                                                                      , ...) ;   9578                                                                                      , ...) ;
9579 extern guchar proto_check_field_name(gchar const   *field_name ) ;   9579 extern guchar proto_check_field_name(gchar const   *field_name ) ;
9580 extern gchar const   *proto_custom_set(proto_tree *tree , int const   field_id ,   9580 extern gchar const   *proto_custom_set(proto_tree *tree , int const   field_id ,
9581                                        gint occurrence , gchar *result ,   9581                                        gint occurrence , gchar *result ,
9582                                        gchar *expr , int const   size ) ;   9582                                        gchar *expr , int const   size ) ;
9583 extern void dfilter_init(void) ;   9583 extern void dfilter_init(void) ;
9584 extern void dfilter_cleanup(void) ;   9584 extern void dfilter_cleanup(void) ;
9585 extern gboolean dfilter_compile(gchar const   *text , dfilter_t **dfp ) ;   9585 extern gboolean dfilter_compile(gchar const   *text , dfilter_t **dfp ) ;
9586 extern void dfilter_free(dfilter_t *df ) ;   9586 extern void dfilter_free(dfilter_t *df ) ;
9587 extern gchar const   *dfilter_error_msg ;   9587 extern gchar const   *dfilter_error_msg ;
9588 extern gboolean dfilter_apply_edt(dfilter_t *df , epan_dissect_t *edt ) ;   9588 extern gboolean dfilter_apply_edt(dfilter_t *df , epan_dissect_t *edt ) ;
9589 extern gboolean dfilter_apply(dfilter_t *df , proto_tree *tree ) ;   9589 extern gboolean dfilter_apply(dfilter_t *df , proto_tree *tree ) ;
9590 extern void dfilter_prime_proto_tree(dfilter_t const   *df , proto_tree *tree ) ;   9590 extern void dfilter_prime_proto_tree(dfilter_t const   *df , proto_tree *tree ) ;
9591 extern GPtrArray *dfilter_deprecated_tokens(dfilter_t *df ) ;   9591 extern GPtrArray *dfilter_deprecated_tokens(dfilter_t *df ) ;
9592 extern void dfilter_dump(dfilter_t *df ) ;   9592 extern void dfilter_dump(dfilter_t *df ) ;
9593 extern gchar *ep_address_to_str(address const   * ) ;   9593 extern gchar *ep_address_to_str(address const   * ) ;
9594 extern gchar *se_address_to_str(address const   * ) ;   9594 extern gchar *se_address_to_str(address const   * ) ;
9595 extern void address_to_str_buf(address const   *addr , gchar *buf , int buf_len ) ;   9595 extern void address_to_str_buf(address const   *addr , gchar *buf , int buf_len ) ;
9596 extern gchar *bytestring_to_str(guint8 const   * , guint32 const    ,   9596 extern gchar *bytestring_to_str(guint8 const   * , guint32 const    ,
9597                                 char const    ) ;   9597                                 char const    ) ;
9598 extern gchar *ether_to_str(guint8 const   * ) ;   9598 extern gchar *ether_to_str(guint8 const   * ) ;
9599 extern gchar *tvb_ether_to_str(tvbuff_t *tvb , gint const   offset ) ;   9599 extern gchar *tvb_ether_to_str(tvbuff_t *tvb , gint const   offset ) ;
9600 extern gchar const   *ip_to_str(guint8 const   * ) ;   9600 extern gchar const   *ip_to_str(guint8 const   * ) ;
9601 extern gchar const   *tvb_ip_to_str(tvbuff_t *tvb , gint const   offset ) ;   9601 extern gchar const   *tvb_ip_to_str(tvbuff_t *tvb , gint const   offset ) ;
9602 extern void ip_to_str_buf(guint8 const   *ad , gchar *buf , int const   buf_len ) ;   9602 extern void ip_to_str_buf(guint8 const   *ad , gchar *buf , int const   buf_len ) ;
9603 extern gchar *fc_to_str(guint8 const   * ) ;   9603 extern gchar *fc_to_str(guint8 const   * ) ;
9604 extern gchar *fcwwn_to_str(guint8 const   * ) ;   9604 extern gchar *fcwwn_to_str(guint8 const   * ) ;
9605 extern gchar *tvb_fc_to_str(tvbuff_t *tvb , gint const   offset ) ;   9605 extern gchar *tvb_fc_to_str(tvbuff_t *tvb , gint const   offset ) ;
9606 extern gchar *tvb_fcwwn_to_str(tvbuff_t *tvb , gint const   offset ) ;   9606 extern gchar *tvb_fcwwn_to_str(tvbuff_t *tvb , gint const   offset ) ;
9607 extern gchar *ip6_to_str(struct e_in6_addr  const  * ) ;   9607 extern gchar *ip6_to_str(struct e_in6_addr  const  * ) ;
9608 extern gchar *tvb_ip6_to_str(tvbuff_t *tvb , gint const   offset ) ;   9608 extern gchar *tvb_ip6_to_str(tvbuff_t *tvb , gint const   offset ) ;
9609 extern void ip6_to_str_buf(struct e_in6_addr  const  * , gchar * ) ;   9609 extern void ip6_to_str_buf(struct e_in6_addr  const  * , gchar * ) ;
9610 extern gchar *ipx_addr_to_str(guint32 const    , guint8 const   * ) ;   9610 extern gchar *ipx_addr_to_str(guint32 const    , guint8 const   * ) ;
9611 extern gchar *ipxnet_to_string(guint8 const   *ad ) ;   9611 extern gchar *ipxnet_to_string(guint8 const   *ad ) ;
9612 extern gchar *ipxnet_to_str_punct(guint32 const   ad , char const   punct ) ;   9612 extern gchar *ipxnet_to_str_punct(guint32 const   ad , char const   punct ) ;
9613 extern gchar *tvb_vines_addr_to_str(tvbuff_t *tvb , gint const   offset ) ;   9613 extern gchar *tvb_vines_addr_to_str(tvbuff_t *tvb , gint const   offset ) ;
9614 extern gchar *eui64_to_str(guint64 const   ad ) ;   9614 extern gchar *eui64_to_str(guint64 const   ad ) ;
9615 extern gchar *tvb_eui64_to_str(tvbuff_t *tvb , gint const   offset ,   9615 extern gchar *tvb_eui64_to_str(tvbuff_t *tvb , gint const   offset ,
9616                                guint const   encoding ) ;   9616                                guint const   encoding ) ;
9617 extern gchar *time_secs_to_str(gint32 const   time_val ) ;   9617 extern gchar *time_secs_to_str(gint32 const   time_val ) ;
9618 extern gchar *time_secs_to_str_unsigned(guint32 const    ) ;   9618 extern gchar *time_secs_to_str_unsigned(guint32 const    ) ;
9619 extern gchar *time_msecs_to_str(gint32 time_val ) ;   9619 extern gchar *time_msecs_to_str(gint32 time_val ) ;
9620 extern gchar *abs_time_to_str(nstime_t const   * ,   9620 extern gchar *abs_time_to_str(nstime_t const   * ,
9621                               absolute_time_display_e const   fmt ,   9621                               absolute_time_display_e const   fmt ,
9622                               gboolean show_zone ) ;   9622                               gboolean show_zone ) ;
9623 extern gchar *abs_time_secs_to_str(time_t const    ,   9623 extern gchar *abs_time_secs_to_str(time_t const    ,
9624                                    absolute_time_display_e const   fmt ,   9624                                    absolute_time_display_e const   fmt ,
9625                                    gboolean show_zone ) ;   9625                                    gboolean show_zone ) ;
9626 extern void display_signed_time(gchar * , int  , gint32 const    , gint32  ,   9626 extern void display_signed_time(gchar * , int  , gint32 const    , gint32  ,
9627                                 to_str_time_res_t const    ) ;   9627                                 to_str_time_res_t const    ) ;
9628 extern void display_epoch_time(gchar * , int  , time_t const    , gint32  ,   9628 extern void display_epoch_time(gchar * , int  , time_t const    , gint32  ,
9629                                to_str_time_res_t const    ) ;   9629                                to_str_time_res_t const    ) ;
9630 extern gchar *guint32_to_str(guint32 const   u ) ;   9630 extern gchar *guint32_to_str(guint32 const   u ) ;
9631 extern void guint32_to_str_buf(guint32 u , gchar *buf , int buf_len ) ;   9631 extern void guint32_to_str_buf(guint32 u , gchar *buf , int buf_len ) ;
9632 extern gchar *rel_time_to_str(nstime_t const   * ) ;   9632 extern gchar *rel_time_to_str(nstime_t const   * ) ;
9633 extern gchar *rel_time_to_secs_str(nstime_t const   * ) ;   9633 extern gchar *rel_time_to_secs_str(nstime_t const   * ) ;
9634 extern gchar *guid_to_str(e_guid_t const   * ) ;   9634 extern gchar *guid_to_str(e_guid_t const   * ) ;
9635 extern gchar *guid_to_str_buf(e_guid_t const   * , gchar * , int  ) ;   9635 extern gchar *guid_to_str_buf(e_guid_t const   * , gchar * , int  ) ;
9636 extern char *decode_bits_in_field(gint const   bit_offset ,   9636 extern char *decode_bits_in_field(gint const   bit_offset ,
9637                                   gint const   no_of_bits ,   9637                                   gint const   no_of_bits ,
9638                                   guint64 const   value ) ;   9638                                   guint64 const   value ) ;
9639 extern char *other_decode_bitfield_value(char *buf , guint32 const   val ,   9639 extern char *other_decode_bitfield_value(char *buf , guint32 const   val ,
9640                                          guint32 const   mask ,   9640                                          guint32 const   mask ,
9641                                          int const   width ) ;   9641                                          int const   width ) ;
9642 extern char *decode_bitfield_value(char *buf , guint32 const   val ,   9642 extern char *decode_bitfield_value(char *buf , guint32 const   val ,
9643                                    guint32 const   mask , int const   width ) ;   9643                                    guint32 const   mask , int const   width ) ;
9644 extern char const   *decode_boolean_bitfield(guint32 const   val ,   9644 extern char const   *decode_boolean_bitfield(guint32 const   val ,
9645                                              guint32 const   mask ,   9645                                              guint32 const   mask ,
9646                                              int const   width ,   9646                                              int const   width ,
9647                                              char const   *truedesc ,   9647                                              char const   *truedesc ,
9648                                              char const   *falsedesc ) ;   9648                                              char const   *falsedesc ) ;
9649 extern char const   *decode_numeric_bitfield(guint32 const   val ,   9649 extern char const   *decode_numeric_bitfield(guint32 const   val ,
9650                                              guint32 const   mask ,   9650                                              guint32 const   mask ,
9651                                              int const   width ,   9651                                              int const   width ,
9652                                              char const   *fmt ) ;   9652                                              char const   *fmt ) ;
9653 extern gchar const   *match_strval_idx(guint32 const   val ,   9653 extern gchar const   *match_strval_idx(guint32 const   val ,
9654                                        value_string const   *vs , gint *idx ) ;   9654                                        value_string const   *vs , gint *idx ) ;
9655 extern gchar const   *match_strval(guint32 const   val ,   9655 extern gchar const   *match_strval(guint32 const   val ,
9656                                    value_string const   *vs ) ;   9656                                    value_string const   *vs ) ;
9657 extern gchar const   *val_to_str(guint32 const   val ,   9657 extern gchar const   *val_to_str(guint32 const   val ,
9658                                  value_string const   *vs , char const   *fmt ) ;   9658                                  value_string const   *vs , char const   *fmt ) ;
9659 extern gchar const   *val_to_str_const(guint32 const   val ,   9659 extern gchar const   *val_to_str_const(guint32 const   val ,
9660                                        value_string const   *vs ,   9660                                        value_string const   *vs ,
9661                                        char const   *unknown_str ) ;   9661                                        char const   *unknown_str ) ;
9662 extern gchar const   *match_strstr_idx(gchar const   *val ,   9662 extern gchar const   *match_strstr_idx(gchar const   *val ,
9663                                        string_string const   *vs , gint *idx ) ;   9663                                        string_string const   *vs , gint *idx ) ;
9664 extern gchar const   *match_strstr(gchar const   *val ,   9664 extern gchar const   *match_strstr(gchar const   *val ,
9665                                    string_string const   *vs ) ;   9665                                    string_string const   *vs ) ;
9666 extern gchar const   *str_to_str(gchar const   *val ,   9666 extern gchar const   *str_to_str(gchar const   *val ,
9667                                  string_string const   *vs , char const   *fmt ) ;   9667                                  string_string const   *vs , char const   *fmt ) ;
9668 extern gboolean value_string_ext_validate(value_string_ext const   *vse ) ;   9668 extern gboolean value_string_ext_validate(value_string_ext const   *vse ) ;
9669 extern gchar const   *value_string_ext_match_type_str(value_string_ext const   *vse ) ;   9669 extern gchar const   *value_string_ext_match_type_str(value_string_ext const   *vse ) ;
9670 extern value_string const   *_match_strval_ext_init(guint32 const   val ,   9670 extern value_string const   *_match_strval_ext_init(guint32 const   val ,
9671                                                     value_string_ext const   *vse ) ;   9671                                                     value_string_ext const   *vse ) ;
9672 extern value_string_ext *value_string_ext_new(value_string *vs ,   9672 extern value_string_ext *value_string_ext_new(value_string *vs ,
9673                                               guint vs_tot_num_entries ,   9673                                               guint vs_tot_num_entries ,
9674                                               gchar *vs_name ) ;   9674                                               gchar *vs_name ) ;
9675 extern gchar const   *match_strval_ext(guint32 const   val ,   9675 extern gchar const   *match_strval_ext(guint32 const   val ,
9676                                        value_string_ext const   *vse ) ;   9676                                        value_string_ext const   *vse ) ;
9677 extern gchar const   *match_strval_idx_ext(guint32 const   val ,   9677 extern gchar const   *match_strval_idx_ext(guint32 const   val ,
9678                                            value_string_ext *vse , gint *idx ) ;   9678                                            value_string_ext *vse , gint *idx ) ;
9679 extern gchar const   *val_to_str_ext(guint32 const   val ,   9679 extern gchar const   *val_to_str_ext(guint32 const   val ,
9680                                      value_string_ext const   *vs ,   9680                                      value_string_ext const   *vs ,
9681                                      char const   *fmt ) ;   9681                                      char const   *fmt ) ;
9682 extern gchar const   *val_to_str_ext_const(guint32 const   val ,   9682 extern gchar const   *val_to_str_ext_const(guint32 const   val ,
9683                                            value_string_ext const   *vs ,   9683                                            value_string_ext const   *vs ,
9684                                            char const   *unknown_str ) ;   9684                                            char const   *unknown_str ) ;
9685 extern char const   *decode_enumerated_bitfield(guint32 const   val ,   9685 extern char const   *decode_enumerated_bitfield(guint32 const   val ,
9686                                                 guint32 const   mask ,   9686                                                 guint32 const   mask ,
9687                                                 int const   width ,   9687                                                 int const   width ,
9688                                                 value_string const   *tab ,   9688                                                 value_string const   *tab ,
9689                                                 char const   *fmt ) ;   9689                                                 char const   *fmt ) ;
9690 extern char const   *decode_enumerated_bitfield_shifted(guint32 const   val ,   9690 extern char const   *decode_enumerated_bitfield_shifted(guint32 const   val ,
9691                                                         guint32 const   mask ,   9691                                                         guint32 const   mask ,
9692                                                         int const   width ,   9692                                                         int const   width ,
9693                                                         value_string const   *tab ,   9693                                                         value_string const   *tab ,
9694                                                         char const   *fmt ) ;   9694                                                         char const   *fmt ) ;
9695 extern gchar const   *rval_to_str(guint32 const   val ,   9695 extern gchar const   *rval_to_str(guint32 const   val ,
9696                                   range_string const   *rs , char const   *fmt ) ;   9696                                   range_string const   *rs , char const   *fmt ) ;
9697 extern gchar const   *match_strrval_idx(guint32 const   val ,   9697 extern gchar const   *match_strrval_idx(guint32 const   val ,
9698                                         range_string const   *rs , gint *idx ) ;   9698                                         range_string const   *rs , gint *idx ) ;
9699 extern gchar const   *match_strrval(guint32 const   val ,   9699 extern gchar const   *match_strrval(guint32 const   val ,
9700                                     range_string const   *rs ) ;   9700                                     range_string const   *rs ) ;
9701 extern void col_setup(column_info *cinfo , gint const   num_cols ) ;   9701 extern void col_setup(column_info *cinfo , gint const   num_cols ) ;
9702 extern void col_init(column_info *cinfo ) ;   9702 extern void col_init(column_info *cinfo ) ;
9703 extern void col_set_fmt_time(frame_data const   *fd , column_info *cinfo ,   9703 extern void col_set_fmt_time(frame_data const   *fd , column_info *cinfo ,
9704                              gint const   fmt , gint const   col ) ;   9704                              gint const   fmt , gint const   col ) ;
9705 extern void col_fill_in_frame_data(frame_data const   *fd , column_info *cinfo ,   9705 extern void col_fill_in_frame_data(frame_data const   *fd , column_info *cinfo ,
9706                                    gint const   col ,   9706                                    gint const   col ,
9707                                    gboolean const   fill_col_exprs ) ;   9707                                    gboolean const   fill_col_exprs ) ;
9708 extern void col_fill_in(packet_info *pinfo , gboolean const   fill_col_exprs ,   9708 extern void col_fill_in(packet_info *pinfo , gboolean const   fill_col_exprs ,
9709                         gboolean const   fill_fd_colums ) ;   9709                         gboolean const   fill_fd_colums ) ;
9710 extern void col_fill_in_error(column_info *cinfo , frame_data *fdata ,   9710 extern void col_fill_in_error(column_info *cinfo , frame_data *fdata ,
9711                               gboolean const   fill_col_exprs ,   9711                               gboolean const   fill_col_exprs ,
9712                               gboolean const   fill_fd_colums ) ;   9712                               gboolean const   fill_fd_colums ) ;
9713 extern gboolean col_get_writable(column_info *cinfo ) ;   9713 extern gboolean col_get_writable(column_info *cinfo ) ;
9714 extern void col_set_writable(column_info *cinfo , gboolean const   writable ) ;   9714 extern void col_set_writable(column_info *cinfo , gboolean const   writable ) ;
9715 extern gint check_col(column_info *cinfo , gint const   col ) ;   9715 extern gint check_col(column_info *cinfo , gint const   col ) ;
9716 extern void col_set_fence(column_info *cinfo , gint const   col ) ;   9716 extern void col_set_fence(column_info *cinfo , gint const   col ) ;
9717 extern void col_clear(column_info *cinfo , gint const   col ) ;   9717 extern void col_clear(column_info *cinfo , gint const   col ) ;
9718 extern void col_set_str(column_info *cinfo , gint const   col ,   9718 extern void col_set_str(column_info *cinfo , gint const   col ,
9719                         gchar const   *str ) ;   9719                         gchar const   *str ) ;
9720 extern void col_add_str(column_info *cinfo , gint const   col ,   9720 extern void col_add_str(column_info *cinfo , gint const   col ,
9721                         gchar const   *str ) ;   9721                         gchar const   *str ) ;
9722 extern void ( /* format attribute */  col_add_fstr)(column_info *cinfo ,   9722 extern void ( /* format attribute */  col_add_fstr)(column_info *cinfo ,
9723                                                     gint const   col ,   9723                                                     gint const   col ,
9724                                                     gchar const   *format  , ...) ;   9724                                                     gchar const   *format  , ...) ;
9725 extern void col_custom_set_edt(epan_dissect_t *edt , column_info *cinfo ) ;   9725 extern void col_custom_set_edt(epan_dissect_t *edt , column_info *cinfo ) ;
9726 extern void col_custom_prime_edt(epan_dissect_t *edt , column_info *cinfo ) ;   9726 extern void col_custom_prime_edt(epan_dissect_t *edt , column_info *cinfo ) ;
9727 extern gboolean have_custom_cols(column_info *cinfo ) ;   9727 extern gboolean have_custom_cols(column_info *cinfo ) ;
9728 extern gboolean col_has_time_fmt(column_info *cinfo , gint const   col ) ;   9728 extern gboolean col_has_time_fmt(column_info *cinfo , gint const   col ) ;
9729 extern gboolean col_based_on_frame_data(column_info *cinfo , gint const   col ) ;   9729 extern gboolean col_based_on_frame_data(column_info *cinfo , gint const   col ) ;
9730 extern void col_append_str(column_info *cinfo , gint const   col ,   9730 extern void col_append_str(column_info *cinfo , gint const   col ,
9731                            gchar const   *str ) ;   9731                            gchar const   *str ) ;
9732 extern void ( /* format attribute */  col_append_fstr)(column_info *cinfo ,   9732 extern void ( /* format attribute */  col_append_fstr)(column_info *cinfo ,
9733                                                        gint const   col ,   9733                                                        gint const   col ,
9734                                                        gchar const   *format   9734                                                        gchar const   *format
9735                                                        , ...) ;   9735                                                        , ...) ;
9736 extern void ( /* format attribute */  col_prepend_fstr)(column_info *cinfo ,   9736 extern void ( /* format attribute */  col_prepend_fstr)(column_info *cinfo ,
9737                                                         gint const   col ,   9737                                                         gint const   col ,
9738                                                         gchar const   *format   9738                                                         gchar const   *format
9739                                                         , ...) ;   9739                                                         , ...) ;
9740 extern void ( /* format attribute */  col_prepend_fence_fstr)(column_info *cinfo ,   9740 extern void ( /* format attribute */  col_prepend_fence_fstr)(column_info *cinfo ,
9741                                                               gint const   col ,   9741                                                               gint const   col ,
9742                                                               gchar const   *format   9742                                                               gchar const   *format
9743                                                               , ...) ;   9743                                                               , ...) ;
9744 extern void col_append_sep_str(column_info *cinfo , gint const   col ,   9744 extern void col_append_sep_str(column_info *cinfo , gint const   col ,
9745                                gchar const   *sep , gchar const   *str ) ;   9745                                gchar const   *sep , gchar const   *str ) ;
9746 extern void ( /* format attribute */  col_append_sep_fstr)(column_info *cinfo ,   9746 extern void ( /* format attribute */  col_append_sep_fstr)(column_info *cinfo ,
9747                                                            gint const   col ,   9747                                                            gint const   col ,
9748                                                            gchar const   *sep ,   9748                                                            gchar const   *sep ,
9749                                                            gchar const   *format   9749                                                            gchar const   *format
9750                                                            , ...) ;   9750                                                            , ...) ;
9751 extern void col_set_time(column_info *cinfo , int const   col ,   9751 extern void col_set_time(column_info *cinfo , int const   col ,
9752                          nstime_t const   *ts , char *fieldname ) ;   9752                          nstime_t const   *ts , char *fieldname ) ;
9753 extern true_false_string const   tfs_true_false ;   9753 extern true_false_string const   tfs_true_false ;
9754 extern true_false_string const   tfs_yes_no ;   9754 extern true_false_string const   tfs_yes_no ;
9755 extern true_false_string const   tfs_set_notset ;   9755 extern true_false_string const   tfs_set_notset ;
9756 extern true_false_string const   tfs_enabled_disabled ;   9756 extern true_false_string const   tfs_enabled_disabled ;
9757 extern true_false_string const   tfs_ok_error ;   9757 extern true_false_string const   tfs_ok_error ;
9758 extern true_false_string const   tfs_error_ok ;   9758 extern true_false_string const   tfs_error_ok ;
9759 extern true_false_string const   tfs_success_fail ;   9759 extern true_false_string const   tfs_success_fail ;
9760 extern true_false_string const   tfs_fail_success ;   9760 extern true_false_string const   tfs_fail_success ;
9761 extern true_false_string const   tfs_on_off ;   9761 extern true_false_string const   tfs_on_off ;
9762 extern true_false_string const   tfs_ack_nack ;   9762 extern true_false_string const   tfs_ack_nack ;
9763 extern true_false_string const   tfs_odd_even ;   9763 extern true_false_string const   tfs_odd_even ;
9764 extern true_false_string const   tfs_allow_block ;   9764 extern true_false_string const   tfs_allow_block ;
9765 extern true_false_string const   tfs_restricted_allowed ;   9765 extern true_false_string const   tfs_restricted_allowed ;
9766 extern true_false_string const   tfs_accept_reject ;   9766 extern true_false_string const   tfs_accept_reject ;
9767 extern true_false_string const   tfs_more_nomore ;   9767 extern true_false_string const   tfs_more_nomore ;
9768 extern true_false_string const   tfs_present_absent ;   9768 extern true_false_string const   tfs_present_absent ;
9769 extern true_false_string const   tfs_present_not_present ;   9769 extern true_false_string const   tfs_present_not_present ;
9770 extern true_false_string const   tfs_active_inactive ;   9770 extern true_false_string const   tfs_active_inactive ;
9771 extern true_false_string const   tfs_found_not_found ;   9771 extern true_false_string const   tfs_found_not_found ;
9772 extern true_false_string const   tfs_command_response ;   9772 extern true_false_string const   tfs_command_response ;
9773 extern true_false_string const   tfs_capable_not_capable ;   9773 extern true_false_string const   tfs_capable_not_capable ;
9774 extern true_false_string const   tfs_supported_not_supported ;   9774 extern true_false_string const   tfs_supported_not_supported ;
9775 extern true_false_string const   tfs_used_notused ;   9775 extern true_false_string const   tfs_used_notused ;
9776 extern true_false_string const   tfs_high_low ;   9776 extern true_false_string const   tfs_high_low ;
9777 extern true_false_string const   tfs_pressed_not_pressed ;   9777 extern true_false_string const   tfs_pressed_not_pressed ;
9778 extern true_false_string const   tfs_implemented_not_implemented ;   9778 extern true_false_string const   tfs_implemented_not_implemented ;
9779 extern true_false_string const   tfs_requested_not_requested ;   9779 extern true_false_string const   tfs_requested_not_requested ;
9780 extern true_false_string const   tfs_reliable_not_reliable ;   9780 extern true_false_string const   tfs_reliable_not_reliable ;
9781 extern true_false_string const   tfs_allowed_not_allowed ;   9781 extern true_false_string const   tfs_allowed_not_allowed ;
9782 extern true_false_string const   tfs_accepted_not_accepted ;   9782 extern true_false_string const   tfs_accepted_not_accepted ;
9783 extern true_false_string const   tfs_detected_not_detected ;   9783 extern true_false_string const   tfs_detected_not_detected ;
9784 extern void packet_init(void) ;   9784 extern void packet_init(void) ;
9785 extern void packet_cleanup(void) ;   9785 extern void packet_cleanup(void) ;
9786 extern dissector_handle_t dtbl_entry_get_handle(dtbl_entry_t *dtbl_entry ) ;   9786 extern dissector_handle_t dtbl_entry_get_handle(dtbl_entry_t *dtbl_entry ) ;
9787 extern dissector_handle_t dtbl_entry_get_initial_handle(dtbl_entry_t *entry ) ;   9787 extern dissector_handle_t dtbl_entry_get_initial_handle(dtbl_entry_t *entry ) ;
9788 extern void dissector_table_foreach_changed(char const   *name ,   9788 extern void dissector_table_foreach_changed(char const   *name ,
9789                                             void (*func)(gchar const   *table_name ,   9789                                             void (*func)(gchar const   *table_name ,
9790                                                          ftenum_t selector_type ,   9790                                                          ftenum_t selector_type ,
9791                                                          gpointer key ,   9791                                                          gpointer key ,
9792                                                          gpointer value ,   9792                                                          gpointer value ,
9793                                                          gpointer user_data ) ,   9793                                                          gpointer user_data ) ,
9794                                             gpointer user_data ) ;   9794                                             gpointer user_data ) ;
9795 extern void dissector_table_foreach(char const   *name ,   9795 extern void dissector_table_foreach(char const   *name ,
9796                                     void (*func)(gchar const   *table_name ,   9796                                     void (*func)(gchar const   *table_name ,
9797                                                  ftenum_t selector_type ,   9797                                                  ftenum_t selector_type ,
9798                                                  gpointer key , gpointer value ,   9798                                                  gpointer key , gpointer value ,
9799                                                  gpointer user_data ) ,   9799                                                  gpointer user_data ) ,
9800                                     gpointer user_data ) ;   9800                                     gpointer user_data ) ;
9801 extern void dissector_all_tables_foreach_changed(void (*func)(gchar const   *table_name ,   9801 extern void dissector_all_tables_foreach_changed(void (*func)(gchar const   *table_name ,
9802                                                               ftenum_t selector_type ,   9802                                                               ftenum_t selector_type ,
9803                                                               gpointer key ,   9803                                                               gpointer key ,
9804                                                               gpointer value ,   9804                                                               gpointer value ,
9805                                                               gpointer user_data ) ,   9805                                                               gpointer user_data ) ,
9806                                                  gpointer user_data ) ;   9806                                                  gpointer user_data ) ;
9807 extern void dissector_table_foreach_handle(char const   *name ,   9807 extern void dissector_table_foreach_handle(char const   *name ,
9808                                            void (*func)(gchar const   *table_name ,   9808                                            void (*func)(gchar const   *table_name ,
9809                                                         gpointer value ,   9809                                                         gpointer value ,
9810                                                         gpointer user_data ) ,   9810                                                         gpointer user_data ) ,
9811                                            gpointer user_data ) ;   9811                                            gpointer user_data ) ;
9812 extern void dissector_all_tables_foreach_table(void (*func)(gchar const   *table_name ,   9812 extern void dissector_all_tables_foreach_table(void (*func)(gchar const   *table_name ,
9813                                                             gchar const   *ui_name ,   9813                                                             gchar const   *ui_name ,
9814                                                             gpointer user_data ) ,   9814                                                             gpointer user_data ) ,
9815                                                gpointer user_data ) ;   9815                                                gpointer user_data ) ;
9816 extern dissector_table_t register_dissector_table(char const   *name ,   9816 extern dissector_table_t register_dissector_table(char const   *name ,
9817                                                   char const   *ui_name ,   9817                                                   char const   *ui_name ,
9818                                                   ftenum_t const   type ,   9818                                                   ftenum_t const   type ,
9819                                                   int const   base ) ;   9819                                                   int const   base ) ;
9820 extern dissector_table_t find_dissector_table(char const   *name ) ;   9820 extern dissector_table_t find_dissector_table(char const   *name ) ;
9821 extern char const   *get_dissector_table_ui_name(char const   *name ) ;   9821 extern char const   *get_dissector_table_ui_name(char const   *name ) ;
9822 extern ftenum_t get_dissector_table_selector_type(char const   *name ) ;   9822 extern ftenum_t get_dissector_table_selector_type(char const   *name ) ;
9823 extern int get_dissector_table_base(char const   *name ) ;   9823 extern int get_dissector_table_base(char const   *name ) ;
9824 extern void dissector_add_uint(char const   *abbrev , guint32 const   pattern ,   9824 extern void dissector_add_uint(char const   *abbrev , guint32 const   pattern ,
9825                                dissector_handle_t handle ) ;   9825                                dissector_handle_t handle ) ;
9826 extern void dissector_delete_uint(char const   *name , guint32 const   pattern ,   9826 extern void dissector_delete_uint(char const   *name , guint32 const   pattern ,
9827                                   dissector_handle_t handle ) ;   9827                                   dissector_handle_t handle ) ;
9828 extern void dissector_change_uint(char const   *abbrev ,   9828 extern void dissector_change_uint(char const   *abbrev ,
9829                                   guint32 const   pattern ,   9829                                   guint32 const   pattern ,
9830                                   dissector_handle_t handle ) ;   9830                                   dissector_handle_t handle ) ;
9831 extern void dissector_reset_uint(char const   *name , guint32 const   pattern ) ;   9831 extern void dissector_reset_uint(char const   *name , guint32 const   pattern ) ;
9832 extern gboolean dissector_try_uint(dissector_table_t sub_dissectors ,   9832 extern gboolean dissector_try_uint(dissector_table_t sub_dissectors ,
9833                                    guint32 const   uint_val , tvbuff_t *tvb ,   9833                                    guint32 const   uint_val , tvbuff_t *tvb ,
9834                                    packet_info *pinfo , proto_tree *tree ) ;   9834                                    packet_info *pinfo , proto_tree *tree ) ;
9835 extern gboolean dissector_try_uint_new(dissector_table_t sub_dissectors ,   9835 extern gboolean dissector_try_uint_new(dissector_table_t sub_dissectors ,
9836                                        guint32 const   uint_val ,   9836                                        guint32 const   uint_val ,
9837                                        tvbuff_t *tvb , packet_info *pinfo ,   9837                                        tvbuff_t *tvb , packet_info *pinfo ,
9838                                        proto_tree *tree ,   9838                                        proto_tree *tree ,
9839                                        gboolean const   add_proto_name ) ;   9839                                        gboolean const   add_proto_name ) ;
9840 extern dissector_handle_t dissector_get_uint_handle(dissector_table_t const   sub_dissectors ,   9840 extern dissector_handle_t dissector_get_uint_handle(dissector_table_t const   sub_dissectors ,
9841                                                     guint32 const   uint_val ) ;   9841                                                     guint32 const   uint_val ) ;
9842 extern void dissector_add_string(char const   *name , gchar const   *pattern ,   9842 extern void dissector_add_string(char const   *name , gchar const   *pattern ,
9843                                  dissector_handle_t handle ) ;   9843                                  dissector_handle_t handle ) ;
9844 extern void dissector_delete_string(char const   *name ,   9844 extern void dissector_delete_string(char const   *name ,
9845                                     gchar const   *pattern ,   9845                                     gchar const   *pattern ,
9846                                     dissector_handle_t handle ) ;   9846                                     dissector_handle_t handle ) ;
9847 extern void dissector_change_string(char const   *name ,   9847 extern void dissector_change_string(char const   *name ,
9848                                     gchar const   *pattern ,   9848                                     gchar const   *pattern ,
9849                                     dissector_handle_t handle ) ;   9849                                     dissector_handle_t handle ) ;
9850 extern void dissector_reset_string(char const   *name , gchar const   *pattern ) ;   9850 extern void dissector_reset_string(char const   *name , gchar const   *pattern ) ;
9851 extern gboolean dissector_try_string(dissector_table_t sub_dissectors ,   9851 extern gboolean dissector_try_string(dissector_table_t sub_dissectors ,
9852                                      gchar const   *string , tvbuff_t *tvb ,   9852                                      gchar const   *string , tvbuff_t *tvb ,
9853                                      packet_info *pinfo , proto_tree *tree ) ;   9853                                      packet_info *pinfo , proto_tree *tree ) ;
9854 extern dissector_handle_t dissector_get_string_handle(dissector_table_t sub_dissectors ,   9854 extern dissector_handle_t dissector_get_string_handle(dissector_table_t sub_dissectors ,
9855                                                       gchar const   *string ) ;   9855                                                       gchar const   *string ) ;
9856 extern void dissector_add_handle(char const   *name , dissector_handle_t handle ) ;   9856 extern void dissector_add_handle(char const   *name , dissector_handle_t handle ) ;
9857 extern void register_heur_dissector_list(char const   *name ,   9857 extern void register_heur_dissector_list(char const   *name ,
9858                                          heur_dissector_list_t *list ) ;   9858                                          heur_dissector_list_t *list ) ;
9859 extern gboolean dissector_try_heuristic(heur_dissector_list_t sub_dissectors ,   9859 extern gboolean dissector_try_heuristic(heur_dissector_list_t sub_dissectors ,
9860                                         tvbuff_t *tvb , packet_info *pinfo ,   9860                                         tvbuff_t *tvb , packet_info *pinfo ,
9861                                         proto_tree *tree ) ;   9861                                         proto_tree *tree ) ;
9862 extern void heur_dissector_add(char const   *name ,   9862 extern void heur_dissector_add(char const   *name ,
9863                                gboolean (*dissector)(tvbuff_t *tvb ,   9863                                gboolean (*dissector)(tvbuff_t *tvb ,
9864                                                      packet_info *pinfo ,   9864                                                      packet_info *pinfo ,
9865                                                      proto_tree *tree ) ,   9865                                                      proto_tree *tree ) ,
9866                                int const   proto ) ;   9866                                int const   proto ) ;
9867 extern void heur_dissector_delete(char const   *name ,   9867 extern void heur_dissector_delete(char const   *name ,
9868                                   gboolean (*dissector)(tvbuff_t *tvb ,   9868                                   gboolean (*dissector)(tvbuff_t *tvb ,
9869                                                         packet_info *pinfo ,   9869                                                         packet_info *pinfo ,
9870                                                         proto_tree *tree ) ,   9870                                                         proto_tree *tree ) ,
9871                                   int const   proto ) ;   9871                                   int const   proto ) ;
9872 extern void register_dissector(char const   *name ,   9872 extern void register_dissector(char const   *name ,
9873                                void (*dissector)(tvbuff_t * , packet_info * ,   9873                                void (*dissector)(tvbuff_t * , packet_info * ,
9874                                                  proto_tree * ) ,   9874                                                  proto_tree * ) ,
9875                                int const   proto ) ;   9875                                int const   proto ) ;
9876 extern void new_register_dissector(char const   *name ,   9876 extern void new_register_dissector(char const   *name ,
9877                                    int (*dissector)(tvbuff_t * , packet_info * ,   9877                                    int (*dissector)(tvbuff_t * , packet_info * ,
9878                                                     proto_tree * ) ,   9878                                                     proto_tree * ) ,
9879                                    int const   proto ) ;   9879                                    int const   proto ) ;
9880 extern char const   *dissector_handle_get_long_name(dissector_handle_t const   handle ) ;   9880 extern char const   *dissector_handle_get_long_name(dissector_handle_t const   handle ) ;
9881 extern char const   *dissector_handle_get_short_name(dissector_handle_t const   handle ) ;   9881 extern char const   *dissector_handle_get_short_name(dissector_handle_t const   handle ) ;
9882 extern int dissector_handle_get_protocol_index(dissector_handle_t const   handle ) ;   9882 extern int dissector_handle_get_protocol_index(dissector_handle_t const   handle ) ;
9883 extern dissector_handle_t find_dissector(char const   *name ) ;   9883 extern dissector_handle_t find_dissector(char const   *name ) ;
9884 extern dissector_handle_t create_dissector_handle(void (*dissector)(tvbuff_t * ,   9884 extern dissector_handle_t create_dissector_handle(void (*dissector)(tvbuff_t * ,
9885                                                                     packet_info * ,   9885                                                                     packet_info * ,
9886                                                                     proto_tree * ) ,   9886                                                                     proto_tree * ) ,
9887                                                   int const   proto ) ;   9887                                                   int const   proto ) ;
9888 extern dissector_handle_t new_create_dissector_handle(int (*dissector)(tvbuff_t * ,   9888 extern dissector_handle_t new_create_dissector_handle(int (*dissector)(tvbuff_t * ,
9889                                                                        packet_info * ,   9889                                                                        packet_info * ,
9890                                                                        proto_tree * ) ,   9890                                                                        proto_tree * ) ,
9891                                                       int const   proto ) ;   9891                                                       int const   proto ) ;
9892 extern int call_dissector(dissector_handle_t handle , tvbuff_t *tvb ,   9892 extern int call_dissector(dissector_handle_t handle , tvbuff_t *tvb ,
9893                           packet_info *pinfo , proto_tree *tree ) ;   9893                           packet_info *pinfo , proto_tree *tree ) ;
9894 extern int call_dissector_only(dissector_handle_t handle , tvbuff_t *tvb ,   9894 extern int call_dissector_only(dissector_handle_t handle , tvbuff_t *tvb ,
9895                                packet_info *pinfo , proto_tree *tree ) ;   9895                                packet_info *pinfo , proto_tree *tree ) ;
9896 extern void dissect_init(void) ;   9896 extern void dissect_init(void) ;
9897 extern void dissect_cleanup(void) ;   9897 extern void dissect_cleanup(void) ;
9898 extern void set_actual_length(tvbuff_t *tvb , guint const   specified_len ) ;   9898 extern void set_actual_length(tvbuff_t *tvb , guint const   specified_len ) ;
9899 extern void register_init_routine(void (*func)(void) ) ;   9899 extern void register_init_routine(void (*func)(void) ) ;
9900 extern void init_dissection(void) ;   9900 extern void init_dissection(void) ;
9901 extern void cleanup_dissection(void) ;   9901 extern void cleanup_dissection(void) ;
9902 extern void register_postseq_cleanup_routine(void (*func)(void) ) ;   9902 extern void register_postseq_cleanup_routine(void (*func)(void) ) ;
9903 extern void postseq_cleanup_all_protocols(void) ;   9903 extern void postseq_cleanup_all_protocols(void) ;
9904 extern void register_final_registration_routine(void (*func)(void) ) ;   9904 extern void register_final_registration_routine(void (*func)(void) ) ;
9905 extern void final_registration_all_protocols(void) ;   9905 extern void final_registration_all_protocols(void) ;
9906 extern void add_new_data_source(packet_info *pinfo , tvbuff_t *tvb ,   9906 extern void add_new_data_source(packet_info *pinfo , tvbuff_t *tvb ,
9907                                 char const   *name ) ;   9907                                 char const   *name ) ;
9908 extern char const   *get_data_source_name(data_source *src ) ;   9908 extern char const   *get_data_source_name(data_source *src ) ;
9909 extern void free_data_sources(packet_info *pinfo ) ;   9909 extern void free_data_sources(packet_info *pinfo ) ;
9910 extern void dissect_packet(epan_dissect_t *edt ,   9910 extern void dissect_packet(epan_dissect_t *edt ,
9911                            union wtap_pseudo_header *pseudo_header ,   9911                            union wtap_pseudo_header *pseudo_header ,
9912                            guchar const   *pd , frame_data *fd ,   9912                            guchar const   *pd , frame_data *fd ,
9913                            column_info *cinfo ) ;   9913                            column_info *cinfo ) ;
9914 extern void capture_ethertype(guint16 etype , guchar const   *pd , int offset ,   9914 extern void capture_ethertype(guint16 etype , guchar const   *pd , int offset ,
9915                               int len , packet_counts *ld ) ;   9915                               int len , packet_counts *ld ) ;
9916 extern void ethertype(guint16 etype , tvbuff_t *tvb ,   9916 extern void ethertype(guint16 etype , tvbuff_t *tvb ,
9917                       int offset_after_ethertype , packet_info *pinfo ,   9917                       int offset_after_ethertype , packet_info *pinfo ,
9918                       proto_tree *tree , proto_tree *fh_tree , int etype_id ,   9918                       proto_tree *tree , proto_tree *fh_tree , int etype_id ,
9919                       int trailer_id , int fcs_len ) ;   9919                       int trailer_id , int fcs_len ) ;
9920 extern void dissector_dump_decodes(void) ;   9920 extern void dissector_dump_decodes(void) ;
9921 extern void register_postdissector(dissector_handle_t  ) ;   9921 extern void register_postdissector(dissector_handle_t  ) ;
9922 extern gboolean have_postdissector(void) ;   9922 extern gboolean have_postdissector(void) ;
9923 extern void call_all_postdissectors(tvbuff_t *tvb , packet_info *pinfo ,   9923 extern void call_all_postdissectors(tvbuff_t *tvb , packet_info *pinfo ,
9924                                     proto_tree *tree ) ;   9924                                     proto_tree *tree ) ;
9925 extern print_stream_t *print_stream_text_new(int to_file , char const   *dest ) ;   9925 extern print_stream_t *print_stream_text_new(int to_file , char const   *dest ) ;
9926 extern print_stream_t *print_stream_text_stdio_new(FILE *fh ) ;   9926 extern print_stream_t *print_stream_text_stdio_new(FILE *fh ) ;
9927 extern print_stream_t *print_stream_ps_new(int to_file , char const   *dest ) ;   9927 extern print_stream_t *print_stream_ps_new(int to_file , char const   *dest ) ;
9928 extern print_stream_t *print_stream_ps_stdio_new(FILE *fh ) ;   9928 extern print_stream_t *print_stream_ps_stdio_new(FILE *fh ) ;
9929 extern gboolean print_preamble(print_stream_t *self , gchar *filename ) ;   9929 extern gboolean print_preamble(print_stream_t *self , gchar *filename ) ;
9930 extern gboolean print_line(print_stream_t *self , int indent ,   9930 extern gboolean print_line(print_stream_t *self , int indent ,
9931                            char const   *line ) ;   9931                            char const   *line ) ;
9932 extern gboolean print_bookmark(print_stream_t *self , gchar const   *name ,   9932 extern gboolean print_bookmark(print_stream_t *self , gchar const   *name ,
9933                                gchar const   *title ) ;   9933                                gchar const   *title ) ;
9934 extern gboolean new_page(print_stream_t *self ) ;   9934 extern gboolean new_page(print_stream_t *self ) ;
9935 extern gboolean print_finale(print_stream_t *self ) ;   9935 extern gboolean print_finale(print_stream_t *self ) ;
9936 extern gboolean destroy_print_stream(print_stream_t *self ) ;   9936 extern gboolean destroy_print_stream(print_stream_t *self ) ;
9937 extern output_fields_t *output_fields_new(void) ;   9937 extern output_fields_t *output_fields_new(void) ;
9938 extern void output_fields_free(output_fields_t *info ) ;   9938 extern void output_fields_free(output_fields_t *info ) ;
9939 extern void output_fields_add(output_fields_t *info , gchar const   *field ) ;   9939 extern void output_fields_add(output_fields_t *info , gchar const   *field ) ;
9940 extern gsize output_fields_num_fields(output_fields_t *info ) ;   9940 extern gsize output_fields_num_fields(output_fields_t *info ) ;
9941 extern gboolean output_fields_set_option(output_fields_t *info , gchar *option ) ;   9941 extern gboolean output_fields_set_option(output_fields_t *info , gchar *option ) ;
9942 extern void output_fields_list_options(FILE *fh ) ;   9942 extern void output_fields_list_options(FILE *fh ) ;
9943 extern GHashTable *output_only_tables ;   9943 extern GHashTable *output_only_tables ;
9944 extern gboolean proto_tree_print(print_args_t *print_args ,   9944 extern gboolean proto_tree_print(print_args_t *print_args ,
9945                                  epan_dissect_t *edt , print_stream_t *stream ) ;   9945                                  epan_dissect_t *edt , print_stream_t *stream ) ;
9946 extern gboolean print_hex_data(print_stream_t *stream , epan_dissect_t *edt ) ;   9946 extern gboolean print_hex_data(print_stream_t *stream , epan_dissect_t *edt ) ;
9947 extern void write_pdml_preamble(FILE *fh ) ;   9947 extern void write_pdml_preamble(FILE *fh ) ;
9948 extern void proto_tree_write_pdml(epan_dissect_t *edt , FILE *fh ) ;   9948 extern void proto_tree_write_pdml(epan_dissect_t *edt , FILE *fh ) ;
9949 extern void write_pdml_finale(FILE *fh ) ;   9949 extern void write_pdml_finale(FILE *fh ) ;
9950 extern void write_psml_preamble(FILE *fh ) ;   9950 extern void write_psml_preamble(FILE *fh ) ;
9951 extern void proto_tree_write_psml(epan_dissect_t *edt , FILE *fh ) ;   9951 extern void proto_tree_write_psml(epan_dissect_t *edt , FILE *fh ) ;
9952 extern void write_psml_finale(FILE *fh ) ;   9952 extern void write_psml_finale(FILE *fh ) ;
9953 extern void write_csv_preamble(FILE *fh ) ;   9953 extern void write_csv_preamble(FILE *fh ) ;
9954 extern void proto_tree_write_csv(epan_dissect_t *edt , FILE *fh ) ;   9954 extern void proto_tree_write_csv(epan_dissect_t *edt , FILE *fh ) ;
9955 extern void write_csv_finale(FILE *fh ) ;   9955 extern void write_csv_finale(FILE *fh ) ;
9956 extern void write_carrays_preamble(FILE *fh ) ;   9956 extern void write_carrays_preamble(FILE *fh ) ;
9957 extern void proto_tree_write_carrays(guint8 const   *pd , guint32 len ,   9957 extern void proto_tree_write_carrays(guint8 const   *pd , guint32 len ,
9958                                      guint32 num , FILE *fh ) ;   9958                                      guint32 num , FILE *fh ) ;
9959 extern void write_carrays_finale(FILE *fh ) ;   9959 extern void write_carrays_finale(FILE *fh ) ;
9960 extern void write_fields_preamble(output_fields_t *fields , FILE *fh ) ;   9960 extern void write_fields_preamble(output_fields_t *fields , FILE *fh ) ;
9961 extern void proto_tree_write_fields(output_fields_t *fields ,   9961 extern void proto_tree_write_fields(output_fields_t *fields ,
9962                                     epan_dissect_t *edt , FILE *fh ) ;   9962                                     epan_dissect_t *edt , FILE *fh ) ;
9963 extern void write_fields_finale(output_fields_t *fields , FILE *fh ) ;   9963 extern void write_fields_finale(output_fields_t *fields , FILE *fh ) ;
9964 extern gchar const   *get_node_field_value(field_info *fi , epan_dissect_t *edt ) ;   9964 extern gchar const   *get_node_field_value(field_info *fi , epan_dissect_t *edt ) ;
9965 extern frame_data_sequence *new_frame_data_sequence(void) ;   9965 extern frame_data_sequence *new_frame_data_sequence(void) ;
9966 extern frame_data *frame_data_sequence_add(frame_data_sequence *fds ,   9966 extern frame_data *frame_data_sequence_add(frame_data_sequence *fds ,
9967                                            frame_data *fdata ) ;   9967                                            frame_data *fdata ) ;
9968 extern frame_data *frame_data_sequence_find(frame_data_sequence *fds ,   9968 extern frame_data *frame_data_sequence_find(frame_data_sequence *fds ,
9969                                             guint32 num ) ;   9969                                             guint32 num ) ;
9970 extern void free_frame_data_sequence(frame_data_sequence *fds ) ;   9970 extern void free_frame_data_sequence(frame_data_sequence *fds ) ;
9971 extern void cap_file_init(capture_file *cf ) ;   9971 extern void cap_file_init(capture_file *cf ) ;
9972 extern void cf_callback_add(void (*func)(gint event , gpointer data ,   9972 extern void cf_callback_add(void (*func)(gint event , gpointer data ,
9973                                          gpointer user_data ) ,   9973                                          gpointer user_data ) ,
9974                             gpointer user_data ) ;   9974                             gpointer user_data ) ;
9975 extern void cf_callback_remove(void (*func)(gint event , gpointer data ,   9975 extern void cf_callback_remove(void (*func)(gint event , gpointer data ,
9976                                             gpointer user_data ) ) ;   9976                                             gpointer user_data ) ) ;
9977 extern cf_status_t cf_open(capture_file *cf , char const   *fname ,   9977 extern cf_status_t cf_open(capture_file *cf , char const   *fname ,
9978                            gboolean is_tempfile , int *err ) ;   9978                            gboolean is_tempfile , int *err ) ;
9979 extern void cf_close(capture_file *cf ) ;   9979 extern void cf_close(capture_file *cf ) ;
9980 extern void cf_reload(capture_file *cf ) ;   9980 extern void cf_reload(capture_file *cf ) ;
9981 extern cf_read_status_t cf_read(capture_file *cf , gboolean from_save ) ;   9981 extern cf_read_status_t cf_read(capture_file *cf , gboolean from_save ) ;
9982 extern gboolean cf_read_frame_r(capture_file *cf , frame_data *fdata ,   9982 extern gboolean cf_read_frame_r(capture_file *cf , frame_data *fdata ,
9983                                 union wtap_pseudo_header *pseudo_header ,   9983                                 union wtap_pseudo_header *pseudo_header ,
9984                                 guint8 *pd ) ;   9984                                 guint8 *pd ) ;
9985 extern gboolean cf_read_frame(capture_file *cf , frame_data *fdata ) ;   9985 extern gboolean cf_read_frame(capture_file *cf , frame_data *fdata ) ;
9986 extern cf_status_t cf_start_tail(capture_file *cf , char const   *fname ,   9986 extern cf_status_t cf_start_tail(capture_file *cf , char const   *fname ,
9987                                  gboolean is_tempfile , int *err ) ;   9987                                  gboolean is_tempfile , int *err ) ;
9988 extern cf_read_status_t cf_continue_tail(capture_file *cf ,   9988 extern cf_read_status_t cf_continue_tail(capture_file *cf ,
9989                                          int volatile   to_read , int *err ) ;   9989                                          int volatile   to_read , int *err ) ;
9990 extern void cf_fake_continue_tail(capture_file *cf ) ;   9990 extern void cf_fake_continue_tail(capture_file *cf ) ;
9991 extern cf_read_status_t cf_finish_tail(capture_file *cf , int *err ) ;   9991 extern cf_read_status_t cf_finish_tail(capture_file *cf , int *err ) ;
9992 extern gboolean cf_can_save_as(capture_file *cf ) ;   9992 extern gboolean cf_can_save_as(capture_file *cf ) ;
9993 extern cf_status_t cf_save(capture_file *cf , char const   *fname ,   9993 extern cf_status_t cf_save(capture_file *cf , char const   *fname ,
9994                            packet_range_t *range , guint save_format ,   9994                            packet_range_t *range , guint save_format ,
9995                            gboolean compressed ) ;   9995                            gboolean compressed ) ;
9996 extern gchar const   *cf_get_display_name(capture_file *cf ) ;   9996 extern gchar const   *cf_get_display_name(capture_file *cf ) ;
9997 extern void cf_set_tempfile_source(capture_file *cf , gchar *source ) ;   9997 extern void cf_set_tempfile_source(capture_file *cf , gchar *source ) ;
9998 extern gchar const   *cf_get_tempfile_source(capture_file *cf ) ;   9998 extern gchar const   *cf_get_tempfile_source(capture_file *cf ) ;
9999 extern int cf_get_packet_count(capture_file *cf ) ;   9999 extern int cf_get_packet_count(capture_file *cf ) ;
10000 extern void cf_set_packet_count(capture_file *cf , int packet_count ) ;   10000 extern void cf_set_packet_count(capture_file *cf , int packet_count ) ;
10001 extern gboolean cf_is_tempfile(capture_file *cf ) ;   10001 extern gboolean cf_is_tempfile(capture_file *cf ) ;
10002 extern void cf_set_tempfile(capture_file *cf , gboolean is_tempfile ) ;   10002 extern void cf_set_tempfile(capture_file *cf , gboolean is_tempfile ) ;
10003 extern void cf_set_drops_known(capture_file *cf , gboolean drops_known ) ;   10003 extern void cf_set_drops_known(capture_file *cf , gboolean drops_known ) ;
10004 extern void cf_set_drops(capture_file *cf , guint32 drops ) ;   10004 extern void cf_set_drops(capture_file *cf , guint32 drops ) ;
10005 extern gboolean cf_get_drops_known(capture_file *cf ) ;   10005 extern gboolean cf_get_drops_known(capture_file *cf ) ;
10006 extern guint32 cf_get_drops(capture_file *cf ) ;   10006 extern guint32 cf_get_drops(capture_file *cf ) ;
10007 extern void cf_set_rfcode(capture_file *cf , dfilter_t *rfcode ) ;   10007 extern void cf_set_rfcode(capture_file *cf , dfilter_t *rfcode ) ;
10008 extern cf_status_t cf_filter_packets(capture_file *cf , gchar *dfilter ,   10008 extern cf_status_t cf_filter_packets(capture_file *cf , gchar *dfilter ,
10009                                      gboolean force ) ;   10009                                      gboolean force ) ;
10010 extern void cf_reftime_packets(capture_file *cf ) ;   10010 extern void cf_reftime_packets(capture_file *cf ) ;
10011 extern gulong cf_get_computed_elapsed(void) ;   10011 extern gulong cf_get_computed_elapsed(void) ;
10012 extern void cf_redissect_packets(capture_file *cf ) ;   10012 extern void cf_redissect_packets(capture_file *cf ) ;
10013 extern cf_read_status_t cf_retap_packets(capture_file *cf ) ;   10013 extern cf_read_status_t cf_retap_packets(capture_file *cf ) ;
10014 extern void cf_timestamp_auto_precision(capture_file *cf ) ;   10014 extern void cf_timestamp_auto_precision(capture_file *cf ) ;
10015 extern cf_print_status_t cf_print_packets(capture_file *cf ,   10015 extern cf_print_status_t cf_print_packets(capture_file *cf ,
10016                                           print_args_t *print_args ) ;   10016                                           print_args_t *print_args ) ;
10017 extern cf_print_status_t cf_write_pdml_packets(capture_file *cf ,   10017 extern cf_print_status_t cf_write_pdml_packets(capture_file *cf ,
10018                                                print_args_t *print_args ) ;   10018                                                print_args_t *print_args ) ;
10019 extern cf_print_status_t cf_write_psml_packets(capture_file *cf ,   10019 extern cf_print_status_t cf_write_psml_packets(capture_file *cf ,
10020                                                print_args_t *print_args ) ;   10020                                                print_args_t *print_args ) ;
10021 extern cf_print_status_t cf_write_csv_packets(capture_file *cf ,   10021 extern cf_print_status_t cf_write_csv_packets(capture_file *cf ,
10022                                               print_args_t *print_args ) ;   10022                                               print_args_t *print_args ) ;
10023 extern cf_print_status_t cf_write_carrays_packets(capture_file *cf ,   10023 extern cf_print_status_t cf_write_carrays_packets(capture_file *cf ,
10024                                                   print_args_t *print_args ) ;   10024                                                   print_args_t *print_args ) ;
10025 extern gboolean cf_find_packet_protocol_tree(capture_file *cf ,   10025 extern gboolean cf_find_packet_protocol_tree(capture_file *cf ,
10026                                              char const   *string ,   10026                                              char const   *string ,
10027                                              search_direction dir ) ;   10027                                              search_direction dir ) ;
10028 extern gboolean cf_find_string_protocol_tree(capture_file *cf ,   10028 extern gboolean cf_find_string_protocol_tree(capture_file *cf ,
10029                                              proto_tree *tree ,   10029                                              proto_tree *tree ,
10030                                              match_data *mdata ) ;   10030                                              match_data *mdata ) ;
10031 extern gboolean cf_find_packet_summary_line(capture_file *cf ,   10031 extern gboolean cf_find_packet_summary_line(capture_file *cf ,
10032                                             char const   *string ,   10032                                             char const   *string ,
10033                                             search_direction dir ) ;   10033                                             search_direction dir ) ;
10034 extern gboolean cf_find_packet_data(capture_file *cf , guint8 const   *string ,   10034 extern gboolean cf_find_packet_data(capture_file *cf , guint8 const   *string ,
10035                                     size_t string_size , search_direction dir ) ;   10035                                     size_t string_size , search_direction dir ) ;
10036 extern gboolean cf_find_packet_dfilter(capture_file *cf , dfilter_t *sfcode ,   10036 extern gboolean cf_find_packet_dfilter(capture_file *cf , dfilter_t *sfcode ,
10037                                        search_direction dir ) ;   10037                                        search_direction dir ) ;
10038 extern gboolean cf_find_packet_dfilter_string(capture_file *cf ,   10038 extern gboolean cf_find_packet_dfilter_string(capture_file *cf ,
10039                                               char const   *filter ,   10039                                               char const   *filter ,
10040                                               search_direction dir ) ;   10040                                               search_direction dir ) ;
10041 extern gboolean cf_find_packet_marked(capture_file *cf , search_direction dir ) ;   10041 extern gboolean cf_find_packet_marked(capture_file *cf , search_direction dir ) ;
10042 extern gboolean cf_find_packet_time_reference(capture_file *cf ,   10042 extern gboolean cf_find_packet_time_reference(capture_file *cf ,
10043                                               search_direction dir ) ;   10043                                               search_direction dir ) ;
10044 extern gboolean cf_goto_top_frame(void) ;   10044 extern gboolean cf_goto_top_frame(void) ;
10045 extern gboolean cf_goto_bottom_frame(void) ;   10045 extern gboolean cf_goto_bottom_frame(void) ;
10046 extern gboolean cf_goto_frame(capture_file *cf , guint row ) ;   10046 extern gboolean cf_goto_frame(capture_file *cf , guint row ) ;
10047 extern gboolean cf_goto_framenum(capture_file *cf ) ;   10047 extern gboolean cf_goto_framenum(capture_file *cf ) ;
10048 extern void cf_select_packet(capture_file *cf , int row ) ;   10048 extern void cf_select_packet(capture_file *cf , int row ) ;
10049 extern void cf_unselect_packet(capture_file *cf ) ;   10049 extern void cf_unselect_packet(capture_file *cf ) ;
10050 extern void cf_unselect_field(capture_file *cf ) ;   10050 extern void cf_unselect_field(capture_file *cf ) ;
10051 extern void cf_mark_frame(capture_file *cf , frame_data *frame ) ;   10051 extern void cf_mark_frame(capture_file *cf , frame_data *frame ) ;
10052 extern void cf_unmark_frame(capture_file *cf , frame_data *frame ) ;   10052 extern void cf_unmark_frame(capture_file *cf , frame_data *frame ) ;
10053 extern void cf_ignore_frame(capture_file *cf , frame_data *frame ) ;   10053 extern void cf_ignore_frame(capture_file *cf , frame_data *frame ) ;
10054 extern void cf_unignore_frame(capture_file *cf , frame_data *frame ) ;   10054 extern void cf_unignore_frame(capture_file *cf , frame_data *frame ) ;
10055 extern cf_status_t cf_merge_files(char **out_filename , int in_file_count ,   10055 extern cf_status_t cf_merge_files(char **out_filename , int in_file_count ,
10056                                   char * const  *in_filenames , int file_type ,   10056                                   char * const  *in_filenames , int file_type ,
10057                                   gboolean do_append ) ;   10057                                   gboolean do_append ) ;
10058 extern void read_keytab_file(char const   * ) ;   10058 extern void read_keytab_file(char const   * ) ;
10059 extern int ringbuf_init(char const   *capture_name , guint num_files ,   10059 extern int ringbuf_init(char const   *capture_name , guint num_files ,
10060                         gboolean group_read_access ) ;   10060                         gboolean group_read_access ) ;
10061 extern gchar const   *ringbuf_current_filename(void) ;   10061 extern gchar const   *ringbuf_current_filename(void) ;
10062 extern FILE *ringbuf_init_libpcap_fdopen(int *err ) ;   10062 extern FILE *ringbuf_init_libpcap_fdopen(int *err ) ;
10063 extern gboolean ringbuf_switch_file(FILE **pdh , gchar **save_file ,   10063 extern gboolean ringbuf_switch_file(FILE **pdh , gchar **save_file ,
10064                                     int *save_file_fd , int *err ) ;   10064                                     int *save_file_fd , int *err ) ;
10065 extern gboolean ringbuf_libpcap_dump_close(gchar **save_file , int *err ) ;   10065 extern gboolean ringbuf_libpcap_dump_close(gchar **save_file , int *err ) ;
10066 extern void ringbuf_free(void) ;   10066 extern void ringbuf_free(void) ;
10067 extern void ringbuf_error_cleanup(void) ;   10067 extern void ringbuf_error_cleanup(void) ;
10068 extern int get_natural_int(char const   *string , char const   *name ) ;   10068 extern int get_natural_int(char const   *string , char const   *name ) ;
10069 extern int get_positive_int(char const   *string , char const   *name ) ;   10069 extern int get_positive_int(char const   *string , char const   *name ) ;
10070 void vfprintf_stderr(char const   *fmt , va_list ap ) ;   10070 void vfprintf_stderr(char const   *fmt , va_list ap ) ;
10071 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...) ;   10071 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...) ;
10072 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...) ;   10072 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...) ;
10073 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...) ;   10073 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...) ;
10074 extern gchar const   *wireshark_svnversion ;   10074 extern gchar const   *wireshark_svnversion ;
10075 extern void get_compiled_version_info(GString *str ,   10075 extern void get_compiled_version_info(GString *str ,
10076                                       void (*prepend_info)(GString * ) ,   10076                                       void (*prepend_info)(GString * ) ,
10077                                       void (*append_info)(GString * ) ) ;   10077                                       void (*append_info)(GString * ) ) ;
10078 extern void get_runtime_version_info(GString *str ,   10078 extern void get_runtime_version_info(GString *str ,
10079                                      void (*additional_info)(GString * ) ) ;   10079                                      void (*additional_info)(GString * ) ) ;
10080 extern char const   *get_copyright_info(void) ;   10080 extern char const   *get_copyright_info(void) ;
10081 extern int bpf_validate(struct bpf_insn  const  *f , int len ) ;   10081 extern int bpf_validate(struct bpf_insn  const  *f , int len ) ;
10082 extern u_int bpf_filter(struct bpf_insn  const  * , u_char const   * , u_int  ,   10082 extern u_int bpf_filter(struct bpf_insn  const  * , u_char const   * , u_int  ,
10083                         u_int  ) ;   10083                         u_int  ) ;
10084 extern char *pcap_lookupdev(char * ) ;   10084 extern char *pcap_lookupdev(char * ) ;
10085 extern int pcap_lookupnet(char const   * , bpf_u_int32 * , bpf_u_int32 * ,   10085 extern int pcap_lookupnet(char const   * , bpf_u_int32 * , bpf_u_int32 * ,
10086                           char * ) ;   10086                           char * ) ;
10087 extern pcap_t *pcap_create(char const   * , char * ) ;   10087 extern pcap_t *pcap_create(char const   * , char * ) ;
10088 extern int pcap_set_snaplen(pcap_t * , int  ) ;   10088 extern int pcap_set_snaplen(pcap_t * , int  ) ;
10089 extern int pcap_set_promisc(pcap_t * , int  ) ;   10089 extern int pcap_set_promisc(pcap_t * , int  ) ;
10090 extern int pcap_can_set_rfmon(pcap_t * ) ;   10090 extern int pcap_can_set_rfmon(pcap_t * ) ;
10091 extern int pcap_set_rfmon(pcap_t * , int  ) ;   10091 extern int pcap_set_rfmon(pcap_t * , int  ) ;
10092 extern int pcap_set_timeout(pcap_t * , int  ) ;   10092 extern int pcap_set_timeout(pcap_t * , int  ) ;
10093 extern int pcap_set_buffer_size(pcap_t * , int  ) ;   10093 extern int pcap_set_buffer_size(pcap_t * , int  ) ;
10094 extern int pcap_activate(pcap_t * ) ;   10094 extern int pcap_activate(pcap_t * ) ;
10095 extern pcap_t *pcap_open_live(char const   * , int  , int  , int  , char * ) ;   10095 extern pcap_t *pcap_open_live(char const   * , int  , int  , int  , char * ) ;
10096 extern pcap_t *pcap_open_dead(int  , int  ) ;   10096 extern pcap_t *pcap_open_dead(int  , int  ) ;
10097 extern pcap_t *pcap_open_offline(char const   * , char * ) ;   10097 extern pcap_t *pcap_open_offline(char const   * , char * ) ;
10098 extern pcap_t *pcap_fopen_offline(FILE * , char * ) ;   10098 extern pcap_t *pcap_fopen_offline(FILE * , char * ) ;
10099 extern void pcap_close(pcap_t * ) ;   10099 extern void pcap_close(pcap_t * ) ;
10100 extern int pcap_loop(pcap_t * , int  ,   10100 extern int pcap_loop(pcap_t * , int  ,
10101                      void (*)(u_char * , struct pcap_pkthdr  const  * ,   10101                      void (*)(u_char * , struct pcap_pkthdr  const  * ,
10102                               u_char const   * ) , u_char * ) ;   10102                               u_char const   * ) , u_char * ) ;
10103 extern int pcap_dispatch(pcap_t * , int  ,   10103 extern int pcap_dispatch(pcap_t * , int  ,
10104                          void (*)(u_char * , struct pcap_pkthdr  const  * ,   10104                          void (*)(u_char * , struct pcap_pkthdr  const  * ,
10105                                   u_char const   * ) , u_char * ) ;   10105                                   u_char const   * ) , u_char * ) ;
10106 extern u_char const   *pcap_next(pcap_t * , struct pcap_pkthdr * ) ;   10106 extern u_char const   *pcap_next(pcap_t * , struct pcap_pkthdr * ) ;
10107 extern int pcap_next_ex(pcap_t * , struct pcap_pkthdr ** , u_char const   ** ) ;   10107 extern int pcap_next_ex(pcap_t * , struct pcap_pkthdr ** , u_char const   ** ) ;
10108 extern void pcap_breakloop(pcap_t * ) ;   10108 extern void pcap_breakloop(pcap_t * ) ;
10109 extern int pcap_stats(pcap_t * , struct pcap_stat * ) ;   10109 extern int pcap_stats(pcap_t * , struct pcap_stat * ) ;
10110 extern int pcap_setfilter(pcap_t * , struct bpf_program * ) ;   10110 extern int pcap_setfilter(pcap_t * , struct bpf_program * ) ;
10111 extern int pcap_setdirection(pcap_t * , pcap_direction_t  ) ;   10111 extern int pcap_setdirection(pcap_t * , pcap_direction_t  ) ;
10112 extern int pcap_getnonblock(pcap_t * , char * ) ;   10112 extern int pcap_getnonblock(pcap_t * , char * ) ;
10113 extern int pcap_setnonblock(pcap_t * , int  , char * ) ;   10113 extern int pcap_setnonblock(pcap_t * , int  , char * ) ;
10114 extern int pcap_inject(pcap_t * , void const   * , size_t  ) ;   10114 extern int pcap_inject(pcap_t * , void const   * , size_t  ) ;
10115 extern int pcap_sendpacket(pcap_t * , u_char const   * , int  ) ;   10115 extern int pcap_sendpacket(pcap_t * , u_char const   * , int  ) ;
10116 extern char const   *pcap_statustostr(int  ) ;   10116 extern char const   *pcap_statustostr(int  ) ;
10117 extern char const   *pcap_strerror(int  ) ;   10117 extern char const   *pcap_strerror(int  ) ;
10118 extern char *pcap_geterr(pcap_t * ) ;   10118 extern char *pcap_geterr(pcap_t * ) ;
10119 extern void pcap_perror(pcap_t * , char * ) ;   10119 extern void pcap_perror(pcap_t * , char * ) ;
10120 extern int pcap_compile(pcap_t * , struct bpf_program * , char const   * ,   10120 extern int pcap_compile(pcap_t * , struct bpf_program * , char const   * ,
10121                         int  , bpf_u_int32  ) ;   10121                         int  , bpf_u_int32  ) ;
10122 extern int pcap_compile_nopcap(int  , int  , struct bpf_program * ,   10122 extern int pcap_compile_nopcap(int  , int  , struct bpf_program * ,
10123                                char const   * , int  , bpf_u_int32  ) ;   10123                                char const   * , int  , bpf_u_int32  ) ;
10124 extern void pcap_freecode(struct bpf_program * ) ;   10124 extern void pcap_freecode(struct bpf_program * ) ;
10125 extern int pcap_offline_filter(struct bpf_program * ,   10125 extern int pcap_offline_filter(struct bpf_program * ,
10126                                struct pcap_pkthdr  const  * , u_char const   * ) ;   10126                                struct pcap_pkthdr  const  * , u_char const   * ) ;
10127 extern int pcap_datalink(pcap_t * ) ;   10127 extern int pcap_datalink(pcap_t * ) ;
10128 extern int pcap_datalink_ext(pcap_t * ) ;   10128 extern int pcap_datalink_ext(pcap_t * ) ;
10129 extern int pcap_list_datalinks(pcap_t * , int ** ) ;   10129 extern int pcap_list_datalinks(pcap_t * , int ** ) ;
10130 extern int pcap_set_datalink(pcap_t * , int  ) ;   10130 extern int pcap_set_datalink(pcap_t * , int  ) ;
10131 extern void pcap_free_datalinks(int * ) ;   10131 extern void pcap_free_datalinks(int * ) ;
10132 extern int pcap_datalink_name_to_val(char const   * ) ;   10132 extern int pcap_datalink_name_to_val(char const   * ) ;
10133 extern char const   *pcap_datalink_val_to_name(int  ) ;   10133 extern char const   *pcap_datalink_val_to_name(int  ) ;
10134 extern char const   *pcap_datalink_val_to_description(int  ) ;   10134 extern char const   *pcap_datalink_val_to_description(int  ) ;
10135 extern int pcap_snapshot(pcap_t * ) ;   10135 extern int pcap_snapshot(pcap_t * ) ;
10136 extern int pcap_is_swapped(pcap_t * ) ;   10136 extern int pcap_is_swapped(pcap_t * ) ;
10137 extern int pcap_major_version(pcap_t * ) ;   10137 extern int pcap_major_version(pcap_t * ) ;
10138 extern int pcap_minor_version(pcap_t * ) ;   10138 extern int pcap_minor_version(pcap_t * ) ;
10139 extern FILE *pcap_file(pcap_t * ) ;   10139 extern FILE *pcap_file(pcap_t * ) ;
10140 extern int pcap_fileno(pcap_t * ) ;   10140 extern int pcap_fileno(pcap_t * ) ;
10141 extern pcap_dumper_t *pcap_dump_open(pcap_t * , char const   * ) ;   10141 extern pcap_dumper_t *pcap_dump_open(pcap_t * , char const   * ) ;
10142 extern pcap_dumper_t *pcap_dump_fopen(pcap_t * , FILE *fp ) ;   10142 extern pcap_dumper_t *pcap_dump_fopen(pcap_t * , FILE *fp ) ;
10143 extern FILE *pcap_dump_file(pcap_dumper_t * ) ;   10143 extern FILE *pcap_dump_file(pcap_dumper_t * ) ;
10144 extern long pcap_dump_ftell(pcap_dumper_t * ) ;   10144 extern long pcap_dump_ftell(pcap_dumper_t * ) ;
10145 extern int pcap_dump_flush(pcap_dumper_t * ) ;   10145 extern int pcap_dump_flush(pcap_dumper_t * ) ;
10146 extern void pcap_dump_close(pcap_dumper_t * ) ;   10146 extern void pcap_dump_close(pcap_dumper_t * ) ;
10147 extern void pcap_dump(u_char * , struct pcap_pkthdr  const  * ,   10147 extern void pcap_dump(u_char * , struct pcap_pkthdr  const  * ,
10148                       u_char const   * ) ;   10148                       u_char const   * ) ;
10149 extern int pcap_findalldevs(pcap_if_t ** , char * ) ;   10149 extern int pcap_findalldevs(pcap_if_t ** , char * ) ;
10150 extern void pcap_freealldevs(pcap_if_t * ) ;   10150 extern void pcap_freealldevs(pcap_if_t * ) ;
10151 extern char const   *pcap_lib_version(void) ;   10151 extern char const   *pcap_lib_version(void) ;
10152 extern char *bpf_image(struct bpf_insn  const  * , int  ) ;   10152 extern char *bpf_image(struct bpf_insn  const  * , int  ) ;
10153 extern void bpf_dump(struct bpf_program  const  * , int  ) ;   10153 extern void bpf_dump(struct bpf_program  const  * , int  ) ;
10154 extern int pcap_get_selectable_fd(pcap_t * ) ;   10154 extern int pcap_get_selectable_fd(pcap_t * ) ;
10155 extern GList *get_interface_list(int *err , char **err_str ) ;   10155 extern GList *get_interface_list(int *err , char **err_str ) ;
10156 extern char const   *linktype_val_to_name(int dlt ) ;   10156 extern char const   *linktype_val_to_name(int dlt ) ;
10157 extern int linktype_name_to_val(char const   *linktype ) ;   10157 extern int linktype_name_to_val(char const   *linktype ) ;
10158 extern void get_compiled_pcap_version(GString *str ) ;   10158 extern void get_compiled_pcap_version(GString *str ) ;
10159 extern void get_runtime_pcap_version(GString *str ) ;   10159 extern void get_runtime_pcap_version(GString *str ) ;
10160 extern FILE *libpcap_fdopen(int fd , int *err ) ;   10160 extern FILE *libpcap_fdopen(int fd , int *err ) ;
10161 extern gboolean libpcap_write_file_header(FILE *fp , int linktype ,   10161 extern gboolean libpcap_write_file_header(FILE *fp , int linktype ,
10162                                           int snaplen , long *bytes_written ,   10162                                           int snaplen , long *bytes_written ,
10163                                           int *err ) ;   10163                                           int *err ) ;
10164 extern gboolean libpcap_write_packet(FILE *fp ,   10164 extern gboolean libpcap_write_packet(FILE *fp ,
10165                                      struct pcap_pkthdr  const  *phdr ,   10165                                      struct pcap_pkthdr  const  *phdr ,
10166                                      u_char const   *pd , long *bytes_written ,   10166                                      u_char const   *pd , long *bytes_written ,
10167                                      int *err ) ;   10167                                      int *err ) ;
10168 extern gboolean libpcap_write_session_header_block(FILE *fp , char *appname ,   10168 extern gboolean libpcap_write_session_header_block(FILE *fp , char *appname ,
10169                                                    long *bytes_written ,   10169                                                    long *bytes_written ,
10170                                                    int *err ) ;   10170                                                    int *err ) ;
10171 extern gboolean libpcap_write_interface_description_block(FILE *fp ,   10171 extern gboolean libpcap_write_interface_description_block(FILE *fp ,
10172                                                           char *name ,   10172                                                           char *name ,
10173                                                           char *filter ,   10173                                                           char *filter ,
10174                                                           int link_type ,   10174                                                           int link_type ,
10175                                                           int snap_len ,   10175                                                           int snap_len ,
10176                                                           long *bytes_written ,   10176                                                           long *bytes_written ,
10177                                                           int *err ) ;   10177                                                           int *err ) ;
10178 extern gboolean libpcap_write_interface_statistics_block(FILE *fp ,   10178 extern gboolean libpcap_write_interface_statistics_block(FILE *fp ,
10179                                                          guint32 interface_id ,   10179                                                          guint32 interface_id ,
10180                                                          pcap_t *pd ,   10180                                                          pcap_t *pd ,
10181                                                          long *bytes_written ,   10181                                                          long *bytes_written ,
10182                                                          int *err ) ;   10182                                                          int *err ) ;
10183 extern gboolean libpcap_write_enhanced_packet_block(FILE *fp ,   10183 extern gboolean libpcap_write_enhanced_packet_block(FILE *fp ,
10184                                                     struct pcap_pkthdr  const  *phdr ,   10184                                                     struct pcap_pkthdr  const  *phdr ,
10185                                                     guint32 interface_id ,   10185                                                     guint32 interface_id ,
10186                                                     u_char const   *pd ,   10186                                                     u_char const   *pd ,
10187                                                     long *bytes_written ,   10187                                                     long *bytes_written ,
10188                                                     int *err ) ;   10188                                                     int *err ) ;
10189 extern gboolean libpcap_dump_flush(FILE *pd , int *err ) ;   10189 extern gboolean libpcap_dump_flush(FILE *pd , int *err ) ;
10190 extern gboolean libpcap_dump_close(FILE *pd , int *err ) ;   10190 extern gboolean libpcap_dump_close(FILE *pd , int *err ) ;
10191 extern void init_process_policies(void) ;   10191 extern void init_process_policies(void) ;
10192 extern gboolean started_with_special_privs(void) ;   10192 extern gboolean started_with_special_privs(void) ;
10193 extern gboolean running_with_special_privs(void) ;   10193 extern gboolean running_with_special_privs(void) ;
10194 extern void relinquish_special_privs_perm(void) ;   10194 extern void relinquish_special_privs_perm(void) ;
10195 extern gchar *get_cur_username(void) ;   10195 extern gchar *get_cur_username(void) ;
10196 extern gchar *get_cur_groupname(void) ;   10196 extern gchar *get_cur_groupname(void) ;
10197 extern int pipe_write_header(int pipe_fd , char indicator , int length ) ;   10197 extern int pipe_write_header(int pipe_fd , char indicator , int length ) ;
10198 extern void pipe_write_block(int pipe_fd , char indicator , char const   *msg ) ;   10198 extern void pipe_write_block(int pipe_fd , char indicator , char const   *msg ) ;
10199 extern void sync_pipe_errmsg_to_parent(int pipe_fd , char const   *error_msg ,   10199 extern void sync_pipe_errmsg_to_parent(int pipe_fd , char const   *error_msg ,
10200                                        char const   *secondary_error_msg ) ;   10200                                        char const   *secondary_error_msg ) ;
10201 GList *capture_interface_list(int *err , char **err_str ) ;   10201 GList *capture_interface_list(int *err , char **err_str ) ;
10202 extern void free_interface_list(GList *if_list ) ;   10202 extern void free_interface_list(GList *if_list ) ;
10203 extern if_capabilities_t *capture_get_if_capabilities(char const   *devname ,   10203 extern if_capabilities_t *capture_get_if_capabilities(char const   *devname ,
10204                                                       gboolean monitor_mode ,   10204                                                       gboolean monitor_mode ,
10205                                                       char **err_str ) ;   10205                                                       char **err_str ) ;
10206 extern void free_if_capabilities(if_capabilities_t *caps ) ;   10206 extern void free_if_capabilities(if_capabilities_t *caps ) ;
10207 extern void capture_opts_init(capture_options *capture_opts , void *cf ) ;   10207 extern void capture_opts_init(capture_options *capture_opts , void *cf ) ;
10208 extern int capture_opts_add_opt(capture_options *capture_opts , int opt ,   10208 extern int capture_opts_add_opt(capture_options *capture_opts , int opt ,
10209                                 char const   *optarg , gboolean *start_capture ) ;   10209                                 char const   *optarg , gboolean *start_capture ) ;
10210 extern void capture_opts_log(char const   *log_domain ,   10210 extern void capture_opts_log(char const   *log_domain ,
10211                              GLogLevelFlags log_level ,   10211                              GLogLevelFlags log_level ,
10212                              capture_options *capture_opts ) ;   10212                              capture_options *capture_opts ) ;
10213 extern void capture_opts_print_if_capabilities(if_capabilities_t *caps ,   10213 extern void capture_opts_print_if_capabilities(if_capabilities_t *caps ,
10214                                                char *name ,   10214                                                char *name ,
10215                                                gboolean monitor_mode ) ;   10215                                                gboolean monitor_mode ) ;
10216 extern void capture_opts_print_interfaces(GList *if_list ) ;   10216 extern void capture_opts_print_interfaces(GList *if_list ) ;
10217 extern void capture_opts_trim_snaplen(capture_options *capture_opts ,   10217 extern void capture_opts_trim_snaplen(capture_options *capture_opts ,
10218                                       int snaplen_min ) ;   10218                                       int snaplen_min ) ;
10219 extern void capture_opts_trim_ring_num_files(capture_options *capture_opts ) ;   10219 extern void capture_opts_trim_ring_num_files(capture_options *capture_opts ) ;
10220 extern gboolean capture_opts_trim_iface(capture_options *capture_opts ,   10220 extern gboolean capture_opts_trim_iface(capture_options *capture_opts ,
10221                                         char const   *capture_device ) ;   10221                                         char const   *capture_device ) ;
10222 extern gboolean sync_pipe_start(capture_options *capture_opts ) ;   10222 extern gboolean sync_pipe_start(capture_options *capture_opts ) ;
10223 extern void sync_pipe_stop(capture_options *capture_opts ) ;   10223 extern void sync_pipe_stop(capture_options *capture_opts ) ;
10224 extern void sync_pipe_kill(int fork_child ) ;   10224 extern void sync_pipe_kill(int fork_child ) ;
10225 extern int sync_interface_list_open(gchar **data , gchar **primary_msg ,   10225 extern int sync_interface_list_open(gchar **data , gchar **primary_msg ,
10226                                     gchar **secondary_msg ) ;   10226                                     gchar **secondary_msg ) ;
10227 extern int sync_if_capabilities_open(gchar const   *ifname ,   10227 extern int sync_if_capabilities_open(gchar const   *ifname ,
10228                                      gboolean monitor_mode , gchar **data ,   10228                                      gboolean monitor_mode , gchar **data ,
10229                                      gchar **primary_msg ,   10229                                      gchar **primary_msg ,
10230                                      gchar **secondary_msg ) ;   10230                                      gchar **secondary_msg ) ;
10231 extern int sync_interface_stats_open(int *read_fd , int *fork_child ,   10231 extern int sync_interface_stats_open(int *read_fd , int *fork_child ,
10232                                      gchar **msg ) ;   10232                                      gchar **msg ) ;
10233 extern int sync_interface_stats_close(int *read_fd , int *fork_child ,   10233 extern int sync_interface_stats_close(int *read_fd , int *fork_child ,
10234                                       gchar **msg ) ;   10234                                       gchar **msg ) ;
10235 extern int sync_pipe_gets_nonblock(int pipe_fd , char *bytes , int max ) ;   10235 extern int sync_pipe_gets_nonblock(int pipe_fd , char *bytes , int max ) ;
10236 extern condition *cnd_new(char const   *  , ...) ;   10236 extern condition *cnd_new(char const   *  , ...) ;
10237 extern void cnd_delete(condition * ) ;   10237 extern void cnd_delete(condition * ) ;
10238 extern gboolean cnd_eval(condition *  , ...) ;   10238 extern gboolean cnd_eval(condition *  , ...) ;
10239 extern void cnd_reset(condition * ) ;   10239 extern void cnd_reset(condition * ) ;
10240 extern gboolean cnd_register_class(char const   * ,   10240 extern gboolean cnd_register_class(char const   * ,
10241                                    condition *(*)(condition * , va_list  ) ,   10241                                    condition *(*)(condition * , va_list  ) ,
10242                                    void (*)(condition * ) ,   10242                                    void (*)(condition * ) ,
10243                                    gboolean (*)(condition * , va_list  ) ,   10243                                    gboolean (*)(condition * , va_list  ) ,
10244                                    void (*)(condition * ) ) ;   10244                                    void (*)(condition * ) ) ;
10245 extern void cnd_unregister_class(char const   * ) ;   10245 extern void cnd_unregister_class(char const   * ) ;
10246 extern void *cnd_get_user_data(condition * ) ;   10246 extern void *cnd_get_user_data(condition * ) ;
10247 extern void cnd_set_user_data(condition * , void * ) ;   10247 extern void cnd_set_user_data(condition * , void * ) ;
10248 extern void init_capture_stop_conditions(void) ;   10248 extern void init_capture_stop_conditions(void) ;
10249 extern void cleanup_capture_stop_conditions(void) ;   10249 extern void cleanup_capture_stop_conditions(void) ;
10250 extern char const   *CND_CLASS_TIMEOUT ;   10250 extern char const   *CND_CLASS_TIMEOUT ;
10251 extern char const   *CND_CLASS_CAPTURESIZE ;   10251 extern char const   *CND_CLASS_CAPTURESIZE ;
10252 extern int create_tempfile(char **namebuf , char const   *pfx ) ;   10252 extern int create_tempfile(char **namebuf , char const   *pfx ) ;
10253 extern char const   *create_tempdir(char **namebuf , char const   *pfx ) ;   10253 extern char const   *create_tempdir(char **namebuf , char const   *pfx ) ;
10254 extern int libpcap_open(wtap *wth , int *err , gchar **err_info ) ;   10254 extern int libpcap_open(wtap *wth , int *err , gchar **err_info ) ;
10255 extern gboolean libpcap_dump_open(wtap_dumper *wdh , int *err ) ;   10255 extern gboolean libpcap_dump_open(wtap_dumper *wdh , int *err ) ;
10256 extern int libpcap_dump_can_write_encap(int encap ) ;   10256 extern int libpcap_dump_can_write_encap(int encap ) ;
10257 static GAsyncQueue *pcap_queue  ;   10257 static GAsyncQueue *pcap_queue  ;
10258 static gint64 pcap_queue_bytes  ;   10258 static gint64 pcap_queue_bytes  ;
10259 static gint64 pcap_queue_packets  ;   10259 static gint64 pcap_queue_packets  ;
10260 static gint64 pcap_queue_byte_limit  =    (gint64 )1000000;   10260 static gint64 pcap_queue_byte_limit  =    (gint64 )1000000;
10261 static gint64 pcap_queue_packet_limit  =    (gint64 )1;   10261 static gint64 pcap_queue_packet_limit  =    (gint64 )1;
10262 static gboolean capture_child  =    0;   10262 static gboolean capture_child  =    0;
10263 static void capture_loop_stop(void) ;   10263 static void capture_loop_stop(void) ;
10264 static char const   please_report[104]  =   10264 static char const   please_report[104]  =
10265   {      (char const   )'P',      (char const   )'l',      (char const   )'e',      (char const   )'a',   10265   {      (char const   )'P',      (char const   )'l',      (char const   )'e',      (char const   )'a',
10266         (char const   )'s',      (char const   )'e',      (char const   )' ',      (char const   )'r',   10266         (char const   )'s',      (char const   )'e',      (char const   )' ',      (char const   )'r',
10267         (char const   )'e',      (char const   )'p',      (char const   )'o',      (char const   )'r',   10267         (char const   )'e',      (char const   )'p',      (char const   )'o',      (char const   )'r',
10268         (char const   )'t',      (char const   )' ',      (char const   )'t',      (char const   )'h',   10268         (char const   )'t',      (char const   )' ',      (char const   )'t',      (char const   )'h',
10269         (char const   )'i',      (char const   )'s',      (char const   )' ',      (char const   )'t',   10269         (char const   )'i',      (char const   )'s',      (char const   )' ',      (char const   )'t',
10270         (char const   )'o',      (char const   )' ',      (char const   )'t',      (char const   )'h',   10270         (char const   )'o',      (char const   )' ',      (char const   )'t',      (char const   )'h',
10271         (char const   )'e',      (char const   )' ',      (char const   )'W',      (char const   )'i',   10271         (char const   )'e',      (char const   )' ',      (char const   )'W',      (char const   )'i',
10272         (char const   )'r',      (char const   )'e',      (char const   )'s',      (char const   )'h',   10272         (char const   )'r',      (char const   )'e',      (char const   )'s',      (char const   )'h',
10273         (char const   )'a',      (char const   )'r',      (char const   )'k',      (char const   )' ',   10273         (char const   )'a',      (char const   )'r',      (char const   )'k',      (char const   )' ',
10274         (char const   )'d',      (char const   )'e',      (char const   )'v',      (char const   )'e',   10274         (char const   )'d',      (char const   )'e',      (char const   )'v',      (char const   )'e',
10275         (char const   )'l',      (char const   )'o',      (char const   )'p',      (char const   )'e',   10275         (char const   )'l',      (char const   )'o',      (char const   )'p',      (char const   )'e',
10276         (char const   )'r',      (char const   )'s',      (char const   )'.',      (char const   )'\n',   10276         (char const   )'r',      (char const   )'s',      (char const   )'.',      (char const   )'\n',
10277         (char const   )'(',      (char const   )'T',      (char const   )'h',      (char const   )'i',   10277         (char const   )'(',      (char const   )'T',      (char const   )'h',      (char const   )'i',
10278         (char const   )'s',      (char const   )' ',      (char const   )'i',      (char const   )'s',   10278         (char const   )'s',      (char const   )' ',      (char const   )'i',      (char const   )'s',
10279         (char const   )' ',      (char const   )'n',      (char const   )'o',      (char const   )'t',   10279         (char const   )' ',      (char const   )'n',      (char const   )'o',      (char const   )'t',
10280         (char const   )' ',      (char const   )'a',      (char const   )' ',      (char const   )'c',   10280         (char const   )' ',      (char const   )'a',      (char const   )' ',      (char const   )'c',
10281         (char const   )'r',      (char const   )'a',      (char const   )'s',      (char const   )'h',   10281         (char const   )'r',      (char const   )'a',      (char const   )'s',      (char const   )'h',
10282         (char const   )';',      (char const   )' ',      (char const   )'p',      (char const   )'l',   10282         (char const   )';',      (char const   )' ',      (char const   )'p',      (char const   )'l',
10283         (char const   )'e',      (char const   )'a',      (char const   )'s',      (char const   )'e',   10283         (char const   )'e',      (char const   )'a',      (char const   )'s',      (char const   )'e',
10284         (char const   )' ',      (char const   )'d',      (char const   )'o',      (char const   )' ',   10284         (char const   )' ',      (char const   )'d',      (char const   )'o',      (char const   )' ',
10285         (char const   )'n',      (char const   )'o',      (char const   )'t',      (char const   )' ',   10285         (char const   )'n',      (char const   )'o',      (char const   )'t',      (char const   )' ',
10286         (char const   )'r',      (char const   )'e',      (char const   )'p',      (char const   )'o',   10286         (char const   )'r',      (char const   )'e',      (char const   )'p',      (char const   )'o',
10287         (char const   )'r',      (char const   )'t',      (char const   )' ',      (char const   )'i',   10287         (char const   )'r',      (char const   )'t',      (char const   )' ',      (char const   )'i',
10288         (char const   )'t',      (char const   )' ',      (char const   )'a',      (char const   )'s',   10288         (char const   )'t',      (char const   )' ',      (char const   )'a',      (char const   )'s',
10289         (char const   )' ',      (char const   )'s',      (char const   )'u',      (char const   )'c',   10289         (char const   )' ',      (char const   )'s',      (char const   )'u',      (char const   )'c',
10290         (char const   )'h',      (char const   )'.',      (char const   )')',      (char const   )'\000'};   10290         (char const   )'h',      (char const   )'.',      (char const   )')',      (char const   )'\000'};
10291 static loop_data global_ld  ;   10291 static loop_data global_ld  ;
10292 static char const   *cap_pipe_err_str  ;   10292 static char const   *cap_pipe_err_str  ;
10293 static void console_log_handler(char const   *log_domain ,   10293 static void console_log_handler(char const   *log_domain ,
10294                                 GLogLevelFlags log_level ,   10294                                 GLogLevelFlags log_level ,
10295                                 char const   *message ,   10295                                 char const   *message ,
10296                                 gpointer user_data  __attribute__((__unused__)) ) ;   10296                                 gpointer user_data  __attribute__((__unused__)) ) ;
10297 static capture_options global_capture_opts  ;   10297 static capture_options global_capture_opts  ;
10298 static gboolean quiet  =    0;   10298 static gboolean quiet  =    0;
10299 static gboolean use_threads  =    0;   10299 static gboolean use_threads  =    0;
10300 static void capture_loop_write_packet_cb(u_char *user ,   10300 static void capture_loop_write_packet_cb(u_char *user ,
10301                                          struct pcap_pkthdr  const  *phdr ,   10301                                          struct pcap_pkthdr  const  *phdr ,
10302                                          u_char const   *pd ) ;   10302                                          u_char const   *pd ) ;
10303 static void capture_loop_queue_packet_cb(u_char *user ,   10303 static void capture_loop_queue_packet_cb(u_char *user ,
10304                                          struct pcap_pkthdr  const  *phdr ,   10304                                          struct pcap_pkthdr  const  *phdr ,
10305                                          u_char const   *pd ) ;   10305                                          u_char const   *pd ) ;
10306 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,   10306 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,
10307                                     char const   *fname , int err ,   10307                                     char const   *fname , int err ,
10308                                     gboolean is_close ) ;   10308                                     gboolean is_close ) ;
10309 static  __attribute__((__noreturn__)) void exit_main(int status ) ;   10309 static  __attribute__((__noreturn__)) void exit_main(int status ) ;
10310 static void report_new_capture_file(char const   *filename ) ;   10310 static void report_new_capture_file(char const   *filename ) ;
10311 static void report_packet_count(int packet_count ) ;   10311 static void report_packet_count(int packet_count ) ;
10312 static void report_packet_drops(guint32 received , guint32 drops , gchar *name ) ;   10312 static void report_packet_drops(guint32 received , guint32 drops , gchar *name ) ;
10313 static void report_capture_error(char const   *error_msg ,   10313 static void report_capture_error(char const   *error_msg ,
10314                                  char const   *secondary_error_msg ) ;   10314                                  char const   *secondary_error_msg ) ;
10315 static void report_cfilter_error(char const   *cfilter , char const   *errmsg ) ;   10315 static void report_cfilter_error(char const   *cfilter , char const   *errmsg ) ;
10316 static void print_usage(gboolean print_ver )   10316 static void print_usage(gboolean print_ver )
10317 {   10317 {
10318   FILE *output ;   10318   FILE *output ;
10319     10319  
10320   {   10320   {
10321   if (print_ver) {   10321   if (print_ver) {
10322     output = stdout;   10322     output = stdout;
10323     fprintf((FILE */* __restrict  */)output,   10323     fprintf((FILE */* __restrict  */)output,
10324             (char const   */* __restrict  */)"Dumpcap 1.7.0%s\nCapture network packets and dump them into a libpcap file.\nSee http://www.wireshark.org for more information.\n",   10324             (char const   */* __restrict  */)"Dumpcap 1.7.0%s\nCapture network packets and dump them into a libpcap file.\nSee http://www.wireshark.org for more information.\n",
10325             wireshark_svnversion);   10325             wireshark_svnversion);
10326   } else {   10326   } else {
10327     output = stderr;   10327     output = stderr;
10328   }   10328   }
10329   fprintf((FILE */* __restrict  */)output,   10329   fprintf((FILE */* __restrict  */)output,
10330           (char const   */* __restrict  */)"\nUsage: dumpcap [options] ...\n");   10330           (char const   */* __restrict  */)"\nUsage: dumpcap [options] ...\n");
10331   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10331   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10332   fprintf((FILE */* __restrict  */)output,   10332   fprintf((FILE */* __restrict  */)output,
10333           (char const   */* __restrict  */)"Capture interface:\n");   10333           (char const   */* __restrict  */)"Capture interface:\n");
10334   fprintf((FILE */* __restrict  */)output,   10334   fprintf((FILE */* __restrict  */)output,
10335           (char const   */* __restrict  */)"  -i <interface>           name or idx of interface (def: first non-loopback)\n");   10335           (char const   */* __restrict  */)"  -i <interface>           name or idx of interface (def: first non-loopback)\n");
10336   fprintf((FILE */* __restrict  */)output,   10336   fprintf((FILE */* __restrict  */)output,
10337           (char const   */* __restrict  */)"  -f <capture filter>      packet filter in libpcap filter syntax\n");   10337           (char const   */* __restrict  */)"  -f <capture filter>      packet filter in libpcap filter syntax\n");
10338   fprintf((FILE */* __restrict  */)output,   10338   fprintf((FILE */* __restrict  */)output,
10339           (char const   */* __restrict  */)"  -s <snaplen>             packet snapshot length (def: 65535)\n");   10339           (char const   */* __restrict  */)"  -s <snaplen>             packet snapshot length (def: 65535)\n");
10340   fprintf((FILE */* __restrict  */)output,   10340   fprintf((FILE */* __restrict  */)output,
10341           (char const   */* __restrict  */)"  -p                       don\'t capture in promiscuous mode\n");   10341           (char const   */* __restrict  */)"  -p                       don\'t capture in promiscuous mode\n");
10342   fprintf((FILE */* __restrict  */)output,   10342   fprintf((FILE */* __restrict  */)output,
10343           (char const   */* __restrict  */)"  -I                       capture in monitor mode, if available\n");   10343           (char const   */* __restrict  */)"  -I                       capture in monitor mode, if available\n");
10344   fprintf((FILE */* __restrict  */)output,   10344   fprintf((FILE */* __restrict  */)output,
10345           (char const   */* __restrict  */)"  -B <buffer size>         size of kernel buffer (def: 1MB)\n");   10345           (char const   */* __restrict  */)"  -B <buffer size>         size of kernel buffer (def: 1MB)\n");
10346   fprintf((FILE */* __restrict  */)output,   10346   fprintf((FILE */* __restrict  */)output,
10347           (char const   */* __restrict  */)"  -y <link type>           link layer type (def: first appropriate)\n");   10347           (char const   */* __restrict  */)"  -y <link type>           link layer type (def: first appropriate)\n");
10348   fprintf((FILE */* __restrict  */)output,   10348   fprintf((FILE */* __restrict  */)output,
10349           (char const   */* __restrict  */)"  -D                       print list of interfaces and exit\n");   10349           (char const   */* __restrict  */)"  -D                       print list of interfaces and exit\n");
10350   fprintf((FILE */* __restrict  */)output,   10350   fprintf((FILE */* __restrict  */)output,
10351           (char const   */* __restrict  */)"  -L                       print list of link-layer types of iface and exit\n");   10351           (char const   */* __restrict  */)"  -L                       print list of link-layer types of iface and exit\n");
10352   fprintf((FILE */* __restrict  */)output,   10352   fprintf((FILE */* __restrict  */)output,
10353           (char const   */* __restrict  */)"  -d                       print generated BPF code for capture filter\n");   10353           (char const   */* __restrict  */)"  -d                       print generated BPF code for capture filter\n");
10354   fprintf((FILE */* __restrict  */)output,   10354   fprintf((FILE */* __restrict  */)output,
10355           (char const   */* __restrict  */)"  -S                       print statistics for each interface once every second\n");   10355           (char const   */* __restrict  */)"  -S                       print statistics for each interface once every second\n");
10356   fprintf((FILE */* __restrict  */)output,   10356   fprintf((FILE */* __restrict  */)output,
10357           (char const   */* __restrict  */)"  -M                       for -D, -L, and -S, produce machine-readable output\n");   10357           (char const   */* __restrict  */)"  -M                       for -D, -L, and -S, produce machine-readable output\n");
10358   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10358   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10359   fprintf((FILE */* __restrict  */)output,   10359   fprintf((FILE */* __restrict  */)output,
10360           (char const   */* __restrict  */)"Stop conditions:\n");   10360           (char const   */* __restrict  */)"Stop conditions:\n");
10361   fprintf((FILE */* __restrict  */)output,   10361   fprintf((FILE */* __restrict  */)output,
10362           (char const   */* __restrict  */)"  -c <packet count>        stop after n packets (def: infinite)\n");   10362           (char const   */* __restrict  */)"  -c <packet count>        stop after n packets (def: infinite)\n");
10363   fprintf((FILE */* __restrict  */)output,   10363   fprintf((FILE */* __restrict  */)output,
10364           (char const   */* __restrict  */)"  -a <autostop cond.> ...  duration:NUM - stop after NUM seconds\n");   10364           (char const   */* __restrict  */)"  -a <autostop cond.> ...  duration:NUM - stop after NUM seconds\n");
10365   fprintf((FILE */* __restrict  */)output,   10365   fprintf((FILE */* __restrict  */)output,
10366           (char const   */* __restrict  */)"                           filesize:NUM - stop this file after NUM KB\n");   10366           (char const   */* __restrict  */)"                           filesize:NUM - stop this file after NUM KB\n");
10367   fprintf((FILE */* __restrict  */)output,   10367   fprintf((FILE */* __restrict  */)output,
10368           (char const   */* __restrict  */)"                              files:NUM - stop after NUM files\n");   10368           (char const   */* __restrict  */)"                              files:NUM - stop after NUM files\n");
10369   fprintf((FILE */* __restrict  */)output,   10369   fprintf((FILE */* __restrict  */)output,
10370           (char const   */* __restrict  */)"Output (files):\n");   10370           (char const   */* __restrict  */)"Output (files):\n");
10371   fprintf((FILE */* __restrict  */)output,   10371   fprintf((FILE */* __restrict  */)output,
10372           (char const   */* __restrict  */)"  -w <filename>            name of file to save (def: tempfile)\n");   10372           (char const   */* __restrict  */)"  -w <filename>            name of file to save (def: tempfile)\n");
10373   fprintf((FILE */* __restrict  */)output,   10373   fprintf((FILE */* __restrict  */)output,
10374           (char const   */* __restrict  */)"  -g                       enable group read access on the output file(s)\n");   10374           (char const   */* __restrict  */)"  -g                       enable group read access on the output file(s)\n");
10375   fprintf((FILE */* __restrict  */)output,   10375   fprintf((FILE */* __restrict  */)output,
10376           (char const   */* __restrict  */)"  -b <ringbuffer opt.> ... duration:NUM - switch to next file after NUM secs\n");   10376           (char const   */* __restrict  */)"  -b <ringbuffer opt.> ... duration:NUM - switch to next file after NUM secs\n");
10377   fprintf((FILE */* __restrict  */)output,   10377   fprintf((FILE */* __restrict  */)output,
10378           (char const   */* __restrict  */)"                           filesize:NUM - switch to next file after NUM KB\n");   10378           (char const   */* __restrict  */)"                           filesize:NUM - switch to next file after NUM KB\n");
10379   fprintf((FILE */* __restrict  */)output,   10379   fprintf((FILE */* __restrict  */)output,
10380           (char const   */* __restrict  */)"                              files:NUM - ringbuffer: replace after NUM files\n");   10380           (char const   */* __restrict  */)"                              files:NUM - ringbuffer: replace after NUM files\n");
10381   fprintf((FILE */* __restrict  */)output,   10381   fprintf((FILE */* __restrict  */)output,
10382           (char const   */* __restrict  */)"  -n                       use pcapng format instead of pcap\n");   10382           (char const   */* __restrict  */)"  -n                       use pcapng format instead of pcap\n");
10383   fprintf((FILE */* __restrict  */)output,   10383   fprintf((FILE */* __restrict  */)output,
10384           (char const   */* __restrict  */)"Miscellaneous:\n");   10384           (char const   */* __restrict  */)"Miscellaneous:\n");
10385   fprintf((FILE */* __restrict  */)output,   10385   fprintf((FILE */* __restrict  */)output,
10386           (char const   */* __restrict  */)"  -t                       use a separate thread per interface\n");   10386           (char const   */* __restrict  */)"  -t                       use a separate thread per interface\n");
10387   fprintf((FILE */* __restrict  */)output,   10387   fprintf((FILE */* __restrict  */)output,
10388           (char const   */* __restrict  */)"  -q                       don\'t report packet capture counts\n");   10388           (char const   */* __restrict  */)"  -q                       don\'t report packet capture counts\n");
10389   fprintf((FILE */* __restrict  */)output,   10389   fprintf((FILE */* __restrict  */)output,
10390           (char const   */* __restrict  */)"  -v                       print version information and exit\n");   10390           (char const   */* __restrict  */)"  -v                       print version information and exit\n");
10391   fprintf((FILE */* __restrict  */)output,   10391   fprintf((FILE */* __restrict  */)output,
10392           (char const   */* __restrict  */)"  -h                       display this help and exit\n");   10392           (char const   */* __restrict  */)"  -h                       display this help and exit\n");
10393   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10393   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10394   fprintf((FILE */* __restrict  */)output,   10394   fprintf((FILE */* __restrict  */)output,
10395           (char const   */* __restrict  */)"Example: dumpcap -i eth0 -a duration:60 -w output.pcap\n");   10395           (char const   */* __restrict  */)"Example: dumpcap -i eth0 -a duration:60 -w output.pcap\n");
10396   fprintf((FILE */* __restrict  */)output,   10396   fprintf((FILE */* __restrict  */)output,
10397           (char const   */* __restrict  */)"\"Capture network packets from interface eth0 until 60s passed into output.pcap\"\n");   10397           (char const   */* __restrict  */)"\"Capture network packets from interface eth0 until 60s passed into output.pcap\"\n");
10398   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");   10398   fprintf((FILE */* __restrict  */)output, (char const   */* __restrict  */)"\n");
10399   fprintf((FILE */* __restrict  */)output,   10399   fprintf((FILE */* __restrict  */)output,
10400           (char const   */* __restrict  */)"Use Ctrl-C to stop capturing at any time.\n");   10400           (char const   */* __restrict  */)"Use Ctrl-C to stop capturing at any time.\n");
10401   return;   10401   return;
10402 }   10402 }
10403 }   10403 }
10404 static void show_version(GString *comp_info_str , GString *runtime_info_str )   10404 static void show_version(GString *comp_info_str , GString *runtime_info_str )
10405 {   10405 {
10406   char const   *tmp ;   10406   char const   *tmp ;
10407     10407  
10408   {   10408   {
10409   tmp = get_copyright_info();   10409   tmp = get_copyright_info();
10410   printf((char const   */* __restrict  */)"Dumpcap 1.7.0%s\n\n%s\n%s\n%s\nSee http://www.wireshark.org for more information.\n",   10410   printf((char const   */* __restrict  */)"Dumpcap 1.7.0%s\n\n%s\n%s\n%s\nSee http://www.wireshark.org for more information.\n",
10411          wireshark_svnversion, tmp, comp_info_str->str, runtime_info_str->str);   10411          wireshark_svnversion, tmp, comp_info_str->str, runtime_info_str->str);
10412   return;   10412   return;
10413 }   10413 }
10414 }   10414 }
10415 void vfprintf_stderr(char const   *fmt , va_list ap )   10415 void vfprintf_stderr(char const   *fmt , va_list ap )
10416 {   10416 {
10417     10417  
10418     10418  
10419   {   10419   {
10420   vfprintf((FILE */* __restrict  */)stderr,   10420   vfprintf((FILE */* __restrict  */)stderr,
10421            (char const   */* __restrict  */)fmt, ap);   10421            (char const   */* __restrict  */)fmt, ap);
10422   return;   10422   return;
10423 }   10423 }
10424 }   10424 }
10425 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...)   10425 void ( /* format attribute */  fprintf_stderr)(char const   *fmt  , ...)
10426 {   10426 {
10427   va_list ap ;   10427   va_list ap ;
10428     10428  
10429   {   10429   {
10430   __builtin_va_start(ap, fmt);   10430   __builtin_va_start(ap, fmt);
10431   vfprintf_stderr(fmt, ap);   10431   vfprintf_stderr(fmt, ap);
10432   __builtin_va_end(ap);   10432   __builtin_va_end(ap);
10433   return;   10433   return;
10434 }   10434 }
10435 }   10435 }
10436 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...)   10436 void ( /* format attribute */  cmdarg_err)(char const   *fmt  , ...)
10437 {   10437 {
10438   va_list ap ;   10438   va_list ap ;
10439   gchar *msg ;   10439   gchar *msg ;
10440     10440  
10441   {   10441   {
10442   if (capture_child) {   10442   if (capture_child) {
10443     __builtin_va_start(ap, fmt);   10443     __builtin_va_start(ap, fmt);
10444     msg = g_strdup_vprintf(fmt, ap);   10444     msg = g_strdup_vprintf(fmt, ap);
10445     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");   10445     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");
10446     g_free((gpointer )msg);   10446     g_free((gpointer )msg);
10447     __builtin_va_end(ap);   10447     __builtin_va_end(ap);
10448   } else {   10448   } else {
10449     __builtin_va_start(ap, fmt);   10449     __builtin_va_start(ap, fmt);
10450     fprintf((FILE */* __restrict  */)stderr,   10450     fprintf((FILE */* __restrict  */)stderr,
10451             (char const   */* __restrict  */)"dumpcap: ");   10451             (char const   */* __restrict  */)"dumpcap: ");
10452     vfprintf((FILE */* __restrict  */)stderr,   10452     vfprintf((FILE */* __restrict  */)stderr,
10453              (char const   */* __restrict  */)fmt, ap);   10453              (char const   */* __restrict  */)fmt, ap);
10454     fprintf((FILE */* __restrict  */)stderr,   10454     fprintf((FILE */* __restrict  */)stderr,
10455             (char const   */* __restrict  */)"\n");   10455             (char const   */* __restrict  */)"\n");
10456     __builtin_va_end(ap);   10456     __builtin_va_end(ap);
10457   }   10457   }
10458   return;   10458   return;
10459 }   10459 }
10460 }   10460 }
10461 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...)   10461 void ( /* format attribute */  cmdarg_err_cont)(char const   *fmt  , ...)
10462 {   10462 {
10463   va_list ap ;   10463   va_list ap ;
10464   gchar *msg ;   10464   gchar *msg ;
10465     10465  
10466   {   10466   {
10467   if (capture_child) {   10467   if (capture_child) {
10468     __builtin_va_start(ap, fmt);   10468     __builtin_va_start(ap, fmt);
10469     msg = g_strdup_vprintf(fmt, ap);   10469     msg = g_strdup_vprintf(fmt, ap);
10470     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");   10470     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");
10471     g_free((gpointer )msg);   10471     g_free((gpointer )msg);
10472     __builtin_va_end(ap);   10472     __builtin_va_end(ap);
10473   } else {   10473   } else {
10474     __builtin_va_start(ap, fmt);   10474     __builtin_va_start(ap, fmt);
10475     vfprintf((FILE */* __restrict  */)stderr,   10475     vfprintf((FILE */* __restrict  */)stderr,
10476              (char const   */* __restrict  */)fmt, ap);   10476              (char const   */* __restrict  */)fmt, ap);
10477     fprintf((FILE */* __restrict  */)stderr,   10477     fprintf((FILE */* __restrict  */)stderr,
10478             (char const   */* __restrict  */)"\n");   10478             (char const   */* __restrict  */)"\n");
10479     __builtin_va_end(ap);   10479     __builtin_va_end(ap);
10480   }   10480   }
10481   return;   10481   return;
10482 }   10482 }
10483 }   10483 }
10484 static pcap_t *open_capture_device(interface_options *interface_opts ,   10484 static pcap_t *open_capture_device(interface_options *interface_opts ,
10485                                    char (*open_err_str)[256] )   10485                                    char (*open_err_str)[256] )
10486 {   10486 {
10487   pcap_t *pcap_h ;   10487   pcap_t *pcap_h ;
10488   int err ;   10488   int err ;
10489   char *tmp ;   10489   char *tmp ;
10490   char const   *tmp___0 ;   10490   char const   *tmp___0 ;
10491     10491  
10492   {   10492   {
10493   (*open_err_str)[0] = (char )'\000';   10493   (*open_err_str)[0] = (char )'\000';
10494   pcap_h = pcap_create((char const   *)interface_opts->name, *open_err_str);   10494   pcap_h = pcap_create((char const   *)interface_opts->name, *open_err_str);
10495   if ((unsigned int )pcap_h != (unsigned int )((void *)0)) {   10495   if ((unsigned int )pcap_h != (unsigned int )((void *)0)) {
10496     pcap_set_snaplen(pcap_h, interface_opts->snaplen);   10496     pcap_set_snaplen(pcap_h, interface_opts->snaplen);
10497     pcap_set_promisc(pcap_h, interface_opts->promisc_mode);   10497     pcap_set_promisc(pcap_h, interface_opts->promisc_mode);
10498     pcap_set_timeout(pcap_h, 250);   10498     pcap_set_timeout(pcap_h, 250);
10499     if (interface_opts->buffer_size > 1) {   10499     if (interface_opts->buffer_size > 1) {
10500       pcap_set_buffer_size(pcap_h, (interface_opts->buffer_size * 1024) * 1024);   10500       pcap_set_buffer_size(pcap_h, (interface_opts->buffer_size * 1024) * 1024);
10501     } else {   10501     } else {
10502     10502  
10503     }   10503     }
10504     if (interface_opts->monitor_mode) {   10504     if (interface_opts->monitor_mode) {
10505       pcap_set_rfmon(pcap_h, 1);   10505       pcap_set_rfmon(pcap_h, 1);
10506     } else {   10506     } else {
10507     10507  
10508     }   10508     }
10509     err = pcap_activate(pcap_h);   10509     err = pcap_activate(pcap_h);
10510     if (err < 0) {   10510     if (err < 0) {
10511       if (err == -1) {   10511       if (err == -1) {
10512         tmp = pcap_geterr(pcap_h);   10512         tmp = pcap_geterr(pcap_h);
10513         g_strlcpy(*open_err_str, (gchar const   *)tmp, sizeof(*open_err_str));   10513         g_strlcpy(*open_err_str, (gchar const   *)tmp, sizeof(*open_err_str));
10514       } else {   10514       } else {
10515         tmp___0 = pcap_statustostr(err);   10515         tmp___0 = pcap_statustostr(err);
10516         g_strlcpy(*open_err_str, tmp___0, sizeof(*open_err_str));   10516         g_strlcpy(*open_err_str, tmp___0, sizeof(*open_err_str));
10517       }   10517       }
10518       pcap_close(pcap_h);   10518       pcap_close(pcap_h);
10519       pcap_h = (pcap_t *)((void *)0);   10519       pcap_h = (pcap_t *)((void *)0);
10520     } else {   10520     } else {
10521     10521  
10522     }   10522     }
10523   } else {   10523   } else {
10524     10524  
10525   }   10525   }
10526   relinquish_special_privs_perm();   10526   relinquish_special_privs_perm();
10527   return (pcap_h);   10527   return (pcap_h);
10528 }   10528 }
10529 }   10529 }
10530 static void get_capture_device_open_failure_messages(char const   *open_err_str ,   10530 static void get_capture_device_open_failure_messages(char const   *open_err_str ,
10531                                                      char const   *iface  __attribute__((__unused__)) ,   10531                                                      char const   *iface  __attribute__((__unused__)) ,
10532                                                      char *errmsg ,   10532                                                      char *errmsg ,
10533                                                      size_t errmsg_len ,   10533                                                      size_t errmsg_len ,
10534                                                      char *secondary_errmsg ,   10534                                                      char *secondary_errmsg ,
10535                                                      size_t secondary_errmsg_len ) ;   10535                                                      size_t secondary_errmsg_len ) ;
10536 static char const   ppamsg[20]  =   10536 static char const   ppamsg[20]  =
10537   {      (char const   )'c',      (char const   )'a',      (char const   )'n',      (char const   )'\'',   10537   {      (char const   )'c',      (char const   )'a',      (char const   )'n',      (char const   )'\'',
10538         (char const   )'t',      (char const   )' ',      (char const   )'f',      (char const   )'i',   10538         (char const   )'t',      (char const   )' ',      (char const   )'f',      (char const   )'i',
10539         (char const   )'n',      (char const   )'d',      (char const   )' ',      (char const   )'P',   10539         (char const   )'n',      (char const   )'d',      (char const   )' ',      (char const   )'P',
10540         (char const   )'P',      (char const   )'A',      (char const   )' ',      (char const   )'f',   10540         (char const   )'P',      (char const   )'A',      (char const   )' ',      (char const   )'f',
10541         (char const   )'o',      (char const   )'r',      (char const   )' ',      (char const   )'\000'};   10541         (char const   )'o',      (char const   )'r',      (char const   )' ',      (char const   )'\000'};
10542 static void get_capture_device_open_failure_messages(char const   *open_err_str ,   10542 static void get_capture_device_open_failure_messages(char const   *open_err_str ,
10543                                                      char const   *iface  __attribute__((__unused__)) ,   10543                                                      char const   *iface  __attribute__((__unused__)) ,
10544                                                      char *errmsg ,   10544                                                      char *errmsg ,
10545                                                      size_t errmsg_len ,   10545                                                      size_t errmsg_len ,
10546                                                      char *secondary_errmsg ,   10546                                                      char *secondary_errmsg ,
10547                                                      size_t secondary_errmsg_len )   10547                                                      size_t secondary_errmsg_len )
10548 {   10548 {
10549   char const   *libpcap_warn ;   10549   char const   *libpcap_warn ;
10550   size_t tmp ;   10550   size_t tmp ;
10551   size_t tmp___0 ;   10551   size_t tmp___0 ;
10552   size_t __s1_len ;   10552   size_t __s1_len ;
10553   size_t __s2_len ;   10553   size_t __s2_len ;
10554   int tmp___1 ;   10554   int tmp___1 ;
10555   int tmp___2 ;   10555   int tmp___2 ;
10556   int tmp___3 ;   10556   int tmp___3 ;
10557   unsigned char const   *__s2 ;   10557   unsigned char const   *__s2 ;
10558   register int __result ;   10558   register int __result ;
10559   int tmp___4 ;   10559   int tmp___4 ;
10560   unsigned char const   *__s1 ;   10560   unsigned char const   *__s1 ;
10561   register int __result___0 ;   10561   register int __result___0 ;
10562   int tmp___5 ;   10562   int tmp___5 ;
10563   int tmp___6 ;   10563   int tmp___6 ;
10564   int tmp___7 ;   10564   int tmp___7 ;
10565   int tmp___8 ;   10565   int tmp___8 ;
10566   int tmp___9 ;   10566   int tmp___9 ;
10567   size_t tmp___10 ;   10567   size_t tmp___10 ;
10568   size_t tmp___11 ;   10568   size_t tmp___11 ;
10569     10569  
10570   {   10570   {
10571   if (0) {   10571   if (0) {
10572     if (0) {   10572     if (0) {
10573       __s1_len = strlen(open_err_str);   10573       __s1_len = strlen(open_err_str);
10574       __s2_len = strlen(ppamsg);   10574       __s2_len = strlen(ppamsg);
10575       if (! ((size_t )((void const   *)(open_err_str + 1)) - (size_t )((void const   *)open_err_str) == 1U)) {   10575       if (! ((size_t )((void const   *)(open_err_str + 1)) - (size_t )((void const   *)open_err_str) == 1U)) {
10576         goto _L___0;   10576         goto _L___0;
10577       } else   10577       } else
10578       if (__s1_len >= 4U) {   10578       if (__s1_len >= 4U) {
10579         _L___0: /* CIL Label */   10579         _L___0: /* CIL Label */
10580         if (! ((size_t )((void const   *)(ppamsg + 1)) - (size_t )((void const   *)(ppamsg)) == 1U)) {   10580         if (! ((size_t )((void const   *)(ppamsg + 1)) - (size_t )((void const   *)(ppamsg)) == 1U)) {
10581           tmp___7 = 1;   10581           tmp___7 = 1;
10582         } else   10582         } else
10583         if (__s2_len >= 4U) {   10583         if (__s2_len >= 4U) {
10584           tmp___7 = 1;   10584           tmp___7 = 1;
10585         } else {   10585         } else {
10586           tmp___7 = 0;   10586           tmp___7 = 0;
10587         }   10587         }
10588       } else {   10588       } else {
10589         tmp___7 = 0;   10589         tmp___7 = 0;
10590       }   10590       }
10591       if (tmp___7) {   10591       if (tmp___7) {
10592         tmp___2 = __builtin_strcmp(open_err_str, ppamsg);   10592         tmp___2 = __builtin_strcmp(open_err_str, ppamsg);
10593         tmp___6 = tmp___2;   10593         tmp___6 = tmp___2;
10594       } else {   10594       } else {
10595         tmp___5 = __builtin_strcmp(open_err_str, ppamsg);   10595         tmp___5 = __builtin_strcmp(open_err_str, ppamsg);
10596         tmp___6 = tmp___5;   10596         tmp___6 = tmp___5;
10597       }   10597       }
10598     } else {   10598     } else {
10599       tmp___5 = __builtin_strcmp(open_err_str, ppamsg);   10599       tmp___5 = __builtin_strcmp(open_err_str, ppamsg);
10600       tmp___6 = tmp___5;   10600       tmp___6 = tmp___5;
10601     }   10601     }
10602     tmp___9 = tmp___6;   10602     tmp___9 = tmp___6;
10603   } else {   10603   } else {
10604     tmp___8 = strncmp(open_err_str, ppamsg, sizeof(ppamsg) - 1U);   10604     tmp___8 = strncmp(open_err_str, ppamsg, sizeof(ppamsg) - 1U);
10605     tmp___9 = tmp___8;   10605     tmp___9 = tmp___8;
10606   }   10606   }
10607   if (tmp___9 == 0) {   10607   if (tmp___9 == 0) {
10608     libpcap_warn = "\n\nYou are running (T)Wireshark with a version of the libpcap library\nthat doesn\'t handle HP-UX network devices well; this means that\n(T)Wireshark may not be able to capture packets.\n\nTo fix this, you should install libpcap 0.6.2, or a later version\nof libpcap, rather than libpcap 0.4 or 0.5.x.  It is available in\npackaged binary form from the Software Porting And Archive Centre\nfor HP-UX; the Centre is at http://hpux.connect.org.uk/ - the page\nat the URL lists a number of mirror sites.";   10608     libpcap_warn = "\n\nYou are running (T)Wireshark with a version of the libpcap library\nthat doesn\'t handle HP-UX network devices well; this means that\n(T)Wireshark may not be able to capture packets.\n\nTo fix this, you should install libpcap 0.6.2, or a later version\nof libpcap, rather than libpcap 0.4 or 0.5.x.  It is available in\npackaged binary form from the Software Porting And Archive Centre\nfor HP-UX; the Centre is at http://hpux.connect.org.uk/ - the page\nat the URL lists a number of mirror sites.";
10609   } else {   10609   } else {
10610     libpcap_warn = "";   10610     libpcap_warn = "";
10611   }   10611   }
10612   g_snprintf(errmsg, (gulong )errmsg_len,   10612   g_snprintf(errmsg, (gulong )errmsg_len,
10613              "The capture session could not be initiated (%s).", open_err_str);   10613              "The capture session could not be initiated (%s).", open_err_str);
10614   g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len,   10614   g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len,
10615              "Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.%s",   10615              "Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.%s",
10616              libpcap_warn);   10616              libpcap_warn);
10617   return;   10617   return;
10618 }   10618 }
10619 }   10619 }
10620 static gboolean set_pcap_linktype(pcap_t *pcap_h , int linktype ,   10620 static gboolean set_pcap_linktype(pcap_t *pcap_h , int linktype ,
10621                                   char *name  __attribute__((__unused__)) ,   10621                                   char *name  __attribute__((__unused__)) ,
10622                                   char *errmsg , size_t errmsg_len ,   10622                                   char *errmsg , size_t errmsg_len ,
10623                                   char *secondary_errmsg ,   10623                                   char *secondary_errmsg ,
10624                                   size_t secondary_errmsg_len )   10624                                   size_t secondary_errmsg_len )
10625 {   10625 {
10626   char *set_linktype_err_str ;   10626   char *set_linktype_err_str ;
10627   int tmp ;   10627   int tmp ;
10628   char *tmp___0 ;   10628   char *tmp___0 ;
10629     10629  
10630   {   10630   {
10631   if (linktype == -1) {   10631   if (linktype == -1) {
10632     return (1);   10632     return (1);
10633   } else {   10633   } else {
10634     10634  
10635   }   10635   }
10636   tmp = pcap_set_datalink(pcap_h, linktype);   10636   tmp = pcap_set_datalink(pcap_h, linktype);
10637   if (tmp == 0) {   10637   if (tmp == 0) {
10638     return (1);   10638     return (1);
10639   } else {   10639   } else {
10640     10640  
10641   }   10641   }
10642   set_linktype_err_str = pcap_geterr(pcap_h);   10642   set_linktype_err_str = pcap_geterr(pcap_h);
10643   g_snprintf(errmsg, (gulong )errmsg_len, "Unable to set data link type (%s).",   10643   g_snprintf(errmsg, (gulong )errmsg_len, "Unable to set data link type (%s).",
10644              set_linktype_err_str);   10644              set_linktype_err_str);
10645   tmp___0 = strstr((char const   *)set_linktype_err_str,   10645   tmp___0 = strstr((char const   *)set_linktype_err_str,
10646                    "is not one of the DLTs supported by this device");   10646                    "is not one of the DLTs supported by this device");
10647   if ((unsigned int )tmp___0 == (unsigned int )((void *)0)) {   10647   if ((unsigned int )tmp___0 == (unsigned int )((void *)0)) {
10648     g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len, please_report);   10648     g_snprintf(secondary_errmsg, (gulong )secondary_errmsg_len, please_report);
10649   } else {   10649   } else {
10650     *(secondary_errmsg + 0) = (char )'\000';   10650     *(secondary_errmsg + 0) = (char )'\000';
10651   }   10651   }
10652   return (0);   10652   return (0);
10653 }   10653 }
10654 }   10654 }
10655 static gboolean compile_capture_filter(char const   *iface , pcap_t *pcap_h ,   10655 static gboolean compile_capture_filter(char const   *iface , pcap_t *pcap_h ,
10656                                        struct bpf_program *fcode ,   10656                                        struct bpf_program *fcode ,
10657                                        char *cfilter )   10657                                        char *cfilter )
10658 {   10658 {
10659   bpf_u_int32 netnum ;   10659   bpf_u_int32 netnum ;
10660   bpf_u_int32 netmask ;   10660   bpf_u_int32 netmask ;
10661   gchar lookup_net_err_str[256] ;   10661   gchar lookup_net_err_str[256] ;
10662   int tmp ;   10662   int tmp ;
10663   int tmp___0 ;   10663   int tmp___0 ;
10664     10664  
10665   {   10665   {
10666   tmp = pcap_lookupnet(iface, & netnum, & netmask, lookup_net_err_str);   10666   tmp = pcap_lookupnet(iface, & netnum, & netmask, lookup_net_err_str);
10667   if (tmp < 0) {   10667   if (tmp < 0) {
10668     netmask = (bpf_u_int32 )0;   10668     netmask = (bpf_u_int32 )0;
10669   } else {   10669   } else {
10670     10670  
10671   }   10671   }
10672   tmp___0 = pcap_compile(pcap_h, fcode, (char const   *)cfilter, 1, netmask);   10672   tmp___0 = pcap_compile(pcap_h, fcode, (char const   *)cfilter, 1, netmask);
10673   if (tmp___0 < 0) {   10673   if (tmp___0 < 0) {
10674     return (0);   10674     return (0);
10675   } else {   10675   } else {
10676     10676  
10677   }   10677   }
10678   return (1);   10678   return (1);
10679 }   10679 }
10680 }   10680 }
10681 static gboolean show_filter_code(capture_options *capture_opts )   10681 static gboolean show_filter_code(capture_options *capture_opts )
10682 {   10682 {
10683   interface_options interface_opts ;   10683   interface_options interface_opts ;
10684   pcap_t *pcap_h ;   10684   pcap_t *pcap_h ;
10685   gchar open_err_str[256] ;   10685   gchar open_err_str[256] ;
10686   char errmsg[4097] ;   10686   char errmsg[4097] ;
10687   char secondary_errmsg[4097] ;   10687   char secondary_errmsg[4097] ;
10688   struct bpf_program fcode ;   10688   struct bpf_program fcode ;
10689   struct bpf_insn *insn ;   10689   struct bpf_insn *insn ;
10690   u_int i ;   10690   u_int i ;
10691   guint j ;   10691   guint j ;
10692   gboolean tmp ;   10692   gboolean tmp ;
10693   gboolean tmp___0 ;   10693   gboolean tmp___0 ;
10694   char *tmp___1 ;   10694   char *tmp___1 ;
10695     10695  
10696   {   10696   {
10697   j = (guint )0;   10697   j = (guint )0;
10698   while (j < (capture_opts->ifaces)->len) {   10698   while (j < (capture_opts->ifaces)->len) {
10699     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + j);   10699     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + j);
10700     pcap_h = open_capture_device(& interface_opts, & open_err_str);   10700     pcap_h = open_capture_device(& interface_opts, & open_err_str);
10701     if ((unsigned int )pcap_h == (unsigned int )((void *)0)) {   10701     if ((unsigned int )pcap_h == (unsigned int )((void *)0)) {
10702       get_capture_device_open_failure_messages((char const   *)(open_err_str),   10702       get_capture_device_open_failure_messages((char const   *)(open_err_str),
10703                                                (char const   *)interface_opts.name,   10703                                                (char const   *)interface_opts.name,
10704                                                errmsg, sizeof(errmsg),   10704                                                errmsg, sizeof(errmsg),
10705                                                secondary_errmsg,   10705                                                secondary_errmsg,
10706                                                sizeof(secondary_errmsg));   10706                                                sizeof(secondary_errmsg));
10707       report_capture_error((char const   *)(errmsg),   10707       report_capture_error((char const   *)(errmsg),
10708                            (char const   *)(secondary_errmsg));   10708                            (char const   *)(secondary_errmsg));
10709       return (0);   10709       return (0);
10710     } else {   10710     } else {
10711     10711  
10712     }   10712     }
10713     tmp = set_pcap_linktype(pcap_h, interface_opts.linktype,   10713     tmp = set_pcap_linktype(pcap_h, interface_opts.linktype,
10714                             interface_opts.name, errmsg, sizeof(errmsg),   10714                             interface_opts.name, errmsg, sizeof(errmsg),
10715                             secondary_errmsg, sizeof(secondary_errmsg));   10715                             secondary_errmsg, sizeof(secondary_errmsg));
10716     if (tmp) {   10716     if (tmp) {
10717     10717  
10718     } else {   10718     } else {
10719       pcap_close(pcap_h);   10719       pcap_close(pcap_h);
10720       report_capture_error((char const   *)(errmsg),   10720       report_capture_error((char const   *)(errmsg),
10721                            (char const   *)(secondary_errmsg));   10721                            (char const   *)(secondary_errmsg));
10722       return (0);   10722       return (0);
10723     }   10723     }
10724     tmp___0 = compile_capture_filter((char const   *)interface_opts.name,   10724     tmp___0 = compile_capture_filter((char const   *)interface_opts.name,
10725                                      pcap_h, & fcode, interface_opts.cfilter);   10725                                      pcap_h, & fcode, interface_opts.cfilter);
10726     if (tmp___0) {   10726     if (tmp___0) {
10727     10727  
10728     } else {   10728     } else {
10729       pcap_close(pcap_h);   10729       pcap_close(pcap_h);
10730       report_cfilter_error((char const   *)interface_opts.cfilter,   10730       report_cfilter_error((char const   *)interface_opts.cfilter,
10731                            (char const   *)(errmsg));   10731                            (char const   *)(errmsg));
10732       return (0);   10732       return (0);
10733     }   10733     }
10734     pcap_close(pcap_h);   10734     pcap_close(pcap_h);
10735     insn = fcode.bf_insns;   10735     insn = fcode.bf_insns;
10736     i = (u_int )0;   10736     i = (u_int )0;
10737     while (i < fcode.bf_len) {   10737     while (i < fcode.bf_len) {
10738       tmp___1 = bpf_image((struct bpf_insn  const  *)insn, (int )i);   10738       tmp___1 = bpf_image((struct bpf_insn  const  *)insn, (int )i);
10739       printf((char const   */* __restrict  */)"%s\n", tmp___1);   10739       printf((char const   */* __restrict  */)"%s\n", tmp___1);
10740       insn ++;   10740       insn ++;
10741       i ++;   10741       i ++;
10742     }   10742     }
10743     j ++;   10743     j ++;
10744   }   10744   }
10745   if (capture_child) {   10745   if (capture_child) {
10746     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   10746     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
10747   } else {   10747   } else {
10748     10748  
10749   }   10749   }
10750   return (1);   10750   return (1);
10751 }   10751 }
10752 }   10752 }
10753 GList *capture_interface_list(int *err , char **err_str )   10753 GList *capture_interface_list(int *err , char **err_str )
10754 {   10754 {
10755   GList *tmp ;   10755   GList *tmp ;
10756     10756  
10757   {   10757   {
10758   tmp = get_interface_list(err, err_str);   10758   tmp = get_interface_list(err, err_str);
10759   return (tmp);   10759   return (tmp);
10760 }   10760 }
10761 }   10761 }
10762 static int get_pcap_linktype(pcap_t *pch ,   10762 static int get_pcap_linktype(pcap_t *pch ,
10763                              char const   *devname  __attribute__((__unused__)) )   10763                              char const   *devname  __attribute__((__unused__)) )
10764 {   10764 {
10765   int linktype ;   10765   int linktype ;
10766     10766  
10767   {   10767   {
10768   linktype = pcap_datalink(pch);   10768   linktype = pcap_datalink(pch);
10769   return (linktype);   10769   return (linktype);
10770 }   10770 }
10771 }   10771 }
10772 static data_link_info_t *create_data_link_info(int dlt )   10772 static data_link_info_t *create_data_link_info(int dlt )
10773 {   10773 {
10774   data_link_info_t *data_link_info ;   10774   data_link_info_t *data_link_info ;
10775   char const   *text ;   10775   char const   *text ;
10776   gpointer tmp ;   10776   gpointer tmp ;
10777     10777  
10778   {   10778   {
10779   tmp = g_malloc(sizeof(data_link_info_t ));   10779   tmp = g_malloc(sizeof(data_link_info_t ));
10780   data_link_info = (data_link_info_t *)tmp;   10780   data_link_info = (data_link_info_t *)tmp;
10781   data_link_info->dlt = dlt;   10781   data_link_info->dlt = dlt;
10782   text = pcap_datalink_val_to_name(dlt);   10782   text = pcap_datalink_val_to_name(dlt);
10783   if ((unsigned int )text != (unsigned int )((void *)0)) {   10783   if ((unsigned int )text != (unsigned int )((void *)0)) {
10784     data_link_info->name = g_strdup(text);   10784     data_link_info->name = g_strdup(text);
10785   } else {   10785   } else {
10786     data_link_info->name = g_strdup_printf("DLT %d", dlt);   10786     data_link_info->name = g_strdup_printf("DLT %d", dlt);
10787   }   10787   }
10788   text = pcap_datalink_val_to_description(dlt);   10788   text = pcap_datalink_val_to_description(dlt);
10789   if ((unsigned int )text != (unsigned int )((void *)0)) {   10789   if ((unsigned int )text != (unsigned int )((void *)0)) {
10790     data_link_info->description = g_strdup(text);   10790     data_link_info->description = g_strdup(text);
10791   } else {   10791   } else {
10792     data_link_info->description = (char *)((void *)0);   10792     data_link_info->description = (char *)((void *)0);
10793   }   10793   }
10794   return (data_link_info);   10794   return (data_link_info);
10795 }   10795 }
10796 }   10796 }
10797 static if_capabilities_t *get_if_capabilities(char const   *devname ,   10797 static if_capabilities_t *get_if_capabilities(char const   *devname ,
10798                                               gboolean monitor_mode ,   10798                                               gboolean monitor_mode ,
10799                                               char **err_str )   10799                                               char **err_str )
10800 {   10800 {
10801   if_capabilities_t *caps ;   10801   if_capabilities_t *caps ;
10802   char errbuf[256] ;   10802   char errbuf[256] ;
10803   pcap_t *pch ;   10803   pcap_t *pch ;
10804   int status ;   10804   int status ;
10805   int deflt ;   10805   int deflt ;
10806   int *linktypes ;   10806   int *linktypes ;
10807   int i ;   10807   int i ;
10808   int nlt ;   10808   int nlt ;
10809   data_link_info_t *data_link_info ;   10809   data_link_info_t *data_link_info ;
10810   gpointer tmp ;   10810   gpointer tmp ;
10811   char *tmp___0 ;   10811   char *tmp___0 ;
10812   char const   *tmp___1 ;   10812   char const   *tmp___1 ;
10813   char *tmp___2 ;   10813   char *tmp___2 ;
10814   char const   *tmp___3 ;   10814   char const   *tmp___3 ;
10815     10815  
10816   {   10816   {
10817   tmp = g_malloc(sizeof(*caps));   10817   tmp = g_malloc(sizeof(*caps));
10818   caps = (if_capabilities_t *)tmp;   10818   caps = (if_capabilities_t *)tmp;
10819   pch = pcap_create(devname, errbuf);   10819   pch = pcap_create(devname, errbuf);
10820   if ((unsigned int )pch == (unsigned int )((void *)0)) {   10820   if ((unsigned int )pch == (unsigned int )((void *)0)) {
10821     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10821     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10822       *err_str = g_strdup((gchar const   *)(errbuf));   10822       *err_str = g_strdup((gchar const   *)(errbuf));
10823     } else {   10823     } else {
10824     10824  
10825     }   10825     }
10826     g_free((gpointer )caps);   10826     g_free((gpointer )caps);
10827     return ((if_capabilities_t *)((void *)0));   10827     return ((if_capabilities_t *)((void *)0));
10828   } else {   10828   } else {
10829     10829  
10830   }   10830   }
10831   status = pcap_can_set_rfmon(pch);   10831   status = pcap_can_set_rfmon(pch);
10832   if (status < 0) {   10832   if (status < 0) {
10833     if (status == -1) {   10833     if (status == -1) {
10834       tmp___0 = pcap_geterr(pch);   10834       tmp___0 = pcap_geterr(pch);
10835       *err_str = g_strdup_printf("pcap_can_set_rfmon() failed: %s", tmp___0);   10835       *err_str = g_strdup_printf("pcap_can_set_rfmon() failed: %s", tmp___0);
10836     } else {   10836     } else {
10837       tmp___1 = pcap_statustostr(status);   10837       tmp___1 = pcap_statustostr(status);
10838       *err_str = g_strdup(tmp___1);   10838       *err_str = g_strdup(tmp___1);
10839     }   10839     }
10840     pcap_close(pch);   10840     pcap_close(pch);
10841     g_free((gpointer )caps);   10841     g_free((gpointer )caps);
10842     return ((if_capabilities_t *)((void *)0));   10842     return ((if_capabilities_t *)((void *)0));
10843   } else {   10843   } else {
10844     10844  
10845   }   10845   }
10846   if (status == 0) {   10846   if (status == 0) {
10847     caps->can_set_rfmon = 0;   10847     caps->can_set_rfmon = 0;
10848   } else   10848   } else
10849   if (status == 1) {   10849   if (status == 1) {
10850     caps->can_set_rfmon = 1;   10850     caps->can_set_rfmon = 1;
10851     if (monitor_mode) {   10851     if (monitor_mode) {
10852       pcap_set_rfmon(pch, 1);   10852       pcap_set_rfmon(pch, 1);
10853     } else {   10853     } else {
10854     10854  
10855     }   10855     }
10856   } else {   10856   } else {
10857     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10857     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10858       *err_str = g_strdup_printf("pcap_can_set_rfmon() returned %d", status);   10858       *err_str = g_strdup_printf("pcap_can_set_rfmon() returned %d", status);
10859     } else {   10859     } else {
10860     10860  
10861     }   10861     }
10862     pcap_close(pch);   10862     pcap_close(pch);
10863     g_free((gpointer )caps);   10863     g_free((gpointer )caps);
10864     return ((if_capabilities_t *)((void *)0));   10864     return ((if_capabilities_t *)((void *)0));
10865   }   10865   }
10866   status = pcap_activate(pch);   10866   status = pcap_activate(pch);
10867   if (status < 0) {   10867   if (status < 0) {
10868     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10868     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10869       if (status == -1) {   10869       if (status == -1) {
10870         tmp___2 = pcap_geterr(pch);   10870         tmp___2 = pcap_geterr(pch);
10871         *err_str = g_strdup_printf("pcap_activate() failed: %s", tmp___2);   10871         *err_str = g_strdup_printf("pcap_activate() failed: %s", tmp___2);
10872       } else {   10872       } else {
10873         tmp___3 = pcap_statustostr(status);   10873         tmp___3 = pcap_statustostr(status);
10874         *err_str = g_strdup(tmp___3);   10874         *err_str = g_strdup(tmp___3);
10875       }   10875       }
10876     } else {   10876     } else {
10877     10877  
10878     }   10878     }
10879     pcap_close(pch);   10879     pcap_close(pch);
10880     g_free((gpointer )caps);   10880     g_free((gpointer )caps);
10881     return ((if_capabilities_t *)((void *)0));   10881     return ((if_capabilities_t *)((void *)0));
10882   } else {   10882   } else {
10883     10883  
10884   }   10884   }
10885   deflt = get_pcap_linktype(pch, devname);   10885   deflt = get_pcap_linktype(pch, devname);
10886   nlt = pcap_list_datalinks(pch, & linktypes);   10886   nlt = pcap_list_datalinks(pch, & linktypes);
10887   if (nlt == 0) {   10887   if (nlt == 0) {
10888     goto _L;   10888     goto _L;
10889   } else   10889   } else
10890   if ((unsigned int )linktypes == (unsigned int )((void *)0)) {   10890   if ((unsigned int )linktypes == (unsigned int )((void *)0)) {
10891     _L: /* CIL Label */   10891     _L: /* CIL Label */
10892     pcap_close(pch);   10892     pcap_close(pch);
10893     if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10893     if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10894       *err_str = (char *)((void *)0);   10894       *err_str = (char *)((void *)0);
10895     } else {   10895     } else {
10896     10896  
10897     }   10897     }
10898     return ((if_capabilities_t *)((void *)0));   10898     return ((if_capabilities_t *)((void *)0));
10899   } else {   10899   } else {
10900     10900  
10901   }   10901   }
10902   caps->data_link_types = (GList *)((void *)0);   10902   caps->data_link_types = (GList *)((void *)0);
10903   i = 0;   10903   i = 0;
10904   while (i < nlt) {   10904   while (i < nlt) {
10905     data_link_info = create_data_link_info(*(linktypes + i));   10905     data_link_info = create_data_link_info(*(linktypes + i));
10906     if (*(linktypes + i) == deflt) {   10906     if (*(linktypes + i) == deflt) {
10907       caps->data_link_types = g_list_prepend(caps->data_link_types,   10907       caps->data_link_types = g_list_prepend(caps->data_link_types,
10908                                              (gpointer )data_link_info);   10908                                              (gpointer )data_link_info);
10909     } else {   10909     } else {
10910       caps->data_link_types = g_list_append(caps->data_link_types,   10910       caps->data_link_types = g_list_append(caps->data_link_types,
10911                                             (gpointer )data_link_info);   10911                                             (gpointer )data_link_info);
10912     }   10912     }
10913     i ++;   10913     i ++;
10914   }   10914   }
10915   pcap_free_datalinks(linktypes);   10915   pcap_free_datalinks(linktypes);
10916   pcap_close(pch);   10916   pcap_close(pch);
10917   if ((unsigned int )err_str != (unsigned int )((void *)0)) {   10917   if ((unsigned int )err_str != (unsigned int )((void *)0)) {
10918     *err_str = (char *)((void *)0);   10918     *err_str = (char *)((void *)0);
10919   } else {   10919   } else {
10920     10920  
10921   }   10921   }
10922   return (caps);   10922   return (caps);
10923 }   10923 }
10924 }   10924 }
10925 static void print_machine_readable_interfaces(GList *if_list )   10925 static void print_machine_readable_interfaces(GList *if_list )
10926 {   10926 {
10927   int i ;   10927   int i ;
10928   GList *if_entry ;   10928   GList *if_entry ;
10929   if_info_t *if_info ;   10929   if_info_t *if_info ;
10930   GSList *addr ;   10930   GSList *addr ;
10931   if_addr_t *if_addr ;   10931   if_addr_t *if_addr ;
10932   char addr_str[46] ;   10932   char addr_str[46] ;
10933   int tmp ;   10933   int tmp ;
10934   GSList *tmp___0 ;   10934   GSList *tmp___0 ;
10935   char const   *tmp___1 ;   10935   char const   *tmp___1 ;
10936   char const   *tmp___2 ;   10936   char const   *tmp___2 ;
10937     10937  
10938   {   10938   {
10939   if (capture_child) {   10939   if (capture_child) {
10940     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   10940     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
10941   } else {   10941   } else {
10942     10942  
10943   }   10943   }
10944   i = 1;   10944   i = 1;
10945   if_entry = g_list_first(if_list);   10945   if_entry = g_list_first(if_list);
10946   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {   10946   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {
10947     if_info = (if_info_t *)if_entry->data;   10947     if_info = (if_info_t *)if_entry->data;
10948     tmp = i;   10948     tmp = i;
10949     i ++;   10949     i ++;
10950     printf((char const   */* __restrict  */)"%d. %s", tmp, if_info->name);   10950     printf((char const   */* __restrict  */)"%d. %s", tmp, if_info->name);
10951     if ((unsigned int )if_info->description != (unsigned int )((void *)0)) {   10951     if ((unsigned int )if_info->description != (unsigned int )((void *)0)) {
10952       printf((char const   */* __restrict  */)"\t%s\t", if_info->description);   10952       printf((char const   */* __restrict  */)"\t%s\t", if_info->description);
10953     } else {   10953     } else {
10954       printf((char const   */* __restrict  */)"\t\t");   10954       printf((char const   */* __restrict  */)"\t\t");
10955     }   10955     }
10956     addr = g_slist_nth(if_info->addrs, (guint )0);   10956     addr = g_slist_nth(if_info->addrs, (guint )0);
10957     while ((unsigned int )addr != (unsigned int )((void *)0)) {   10957     while ((unsigned int )addr != (unsigned int )((void *)0)) {
10958       tmp___0 = g_slist_nth(if_info->addrs, (guint )0);   10958       tmp___0 = g_slist_nth(if_info->addrs, (guint )0);
10959       if ((unsigned int )addr != (unsigned int )tmp___0) {   10959       if ((unsigned int )addr != (unsigned int )tmp___0) {
10960         printf((char const   */* __restrict  */)",");   10960         printf((char const   */* __restrict  */)",");
10961       } else {   10961       } else {
10962     10962  
10963       }   10963       }
10964       if_addr = (if_addr_t *)addr->data;   10964       if_addr = (if_addr_t *)addr->data;
10965       switch ((unsigned int )if_addr->ifat_type) {   10965       switch ((unsigned int )if_addr->ifat_type) {
10966       case 0U:   10966       case 0U:
10967       tmp___1 = inet_ntop(2,   10967       tmp___1 = inet_ntop(2,
10968                           (void const   */* __restrict  */)(& if_addr->addr.ip4_addr),   10968                           (void const   */* __restrict  */)(& if_addr->addr.ip4_addr),
10969                           (char */* __restrict  */)(addr_str), (socklen_t )46);   10969                           (char */* __restrict  */)(addr_str), (socklen_t )46);
10970       if (tmp___1) {   10970       if (tmp___1) {
10971         printf((char const   */* __restrict  */)"%s", addr_str);   10971         printf((char const   */* __restrict  */)"%s", addr_str);
10972       } else {   10972       } else {
10973         printf((char const   */* __restrict  */)"<unknown IPv4>");   10973         printf((char const   */* __restrict  */)"<unknown IPv4>");
10974       }   10974       }
10975       break;   10975       break;
10976       case 1U:   10976       case 1U:
10977       tmp___2 = inet_ntop(10,   10977       tmp___2 = inet_ntop(10,
10978                           (void const   */* __restrict  */)(& if_addr->addr.ip6_addr),   10978                           (void const   */* __restrict  */)(& if_addr->addr.ip6_addr),
10979                           (char */* __restrict  */)(addr_str), (socklen_t )46);   10979                           (char */* __restrict  */)(addr_str), (socklen_t )46);
10980       if (tmp___2) {   10980       if (tmp___2) {
10981         printf((char const   */* __restrict  */)"%s", addr_str);   10981         printf((char const   */* __restrict  */)"%s", addr_str);
10982       } else {   10982       } else {
10983         printf((char const   */* __restrict  */)"<unknown IPv6>");   10983         printf((char const   */* __restrict  */)"<unknown IPv6>");
10984       }   10984       }
10985       break;   10985       break;
10986       default:   10986       default:
10987       printf((char const   */* __restrict  */)"<type unknown %u>",   10987       printf((char const   */* __restrict  */)"<type unknown %u>",
10988              (unsigned int )if_addr->ifat_type);   10988              (unsigned int )if_addr->ifat_type);
10989       }   10989       }
10990       if (addr) {   10990       if (addr) {
10991         addr = addr->next;   10991         addr = addr->next;
10992       } else {   10992       } else {
10993         addr = (GSList *)((void *)0);   10993         addr = (GSList *)((void *)0);
10994       }   10994       }
10995     }   10995     }
10996     if (if_info->loopback) {   10996     if (if_info->loopback) {
10997       printf((char const   */* __restrict  */)"\tloopback");   10997       printf((char const   */* __restrict  */)"\tloopback");
10998     } else {   10998     } else {
10999       printf((char const   */* __restrict  */)"\tnetwork");   10999       printf((char const   */* __restrict  */)"\tnetwork");
11000     }   11000     }
11001     printf((char const   */* __restrict  */)"\n");   11001     printf((char const   */* __restrict  */)"\n");
11002     if (if_entry) {   11002     if (if_entry) {
11003       if_entry = if_entry->next;   11003       if_entry = if_entry->next;
11004     } else {   11004     } else {
11005       if_entry = (GList *)((void *)0);   11005       if_entry = (GList *)((void *)0);
11006     }   11006     }
11007   }   11007   }
11008   return;   11008   return;
11009 }   11009 }
11010 }   11010 }
11011 static void print_machine_readable_if_capabilities(if_capabilities_t *caps )   11011 static void print_machine_readable_if_capabilities(if_capabilities_t *caps )
11012 {   11012 {
11013   GList *lt_entry ;   11013   GList *lt_entry ;
11014   data_link_info_t *data_link_info ;   11014   data_link_info_t *data_link_info ;
11015   gchar const   *desc_str ;   11015   gchar const   *desc_str ;
11016     11016  
11017   {   11017   {
11018   if (capture_child) {   11018   if (capture_child) {
11019     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   11019     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
11020   } else {   11020   } else {
11021     11021  
11022   }   11022   }
11023   if (caps->can_set_rfmon) {   11023   if (caps->can_set_rfmon) {
11024     printf((char const   */* __restrict  */)"1\n");   11024     printf((char const   */* __restrict  */)"1\n");
11025   } else {   11025   } else {
11026     printf((char const   */* __restrict  */)"0\n");   11026     printf((char const   */* __restrict  */)"0\n");
11027   }   11027   }
11028   lt_entry = caps->data_link_types;   11028   lt_entry = caps->data_link_types;
11029   while ((unsigned int )lt_entry != (unsigned int )((void *)0)) {   11029   while ((unsigned int )lt_entry != (unsigned int )((void *)0)) {
11030     data_link_info = (data_link_info_t *)lt_entry->data;   11030     data_link_info = (data_link_info_t *)lt_entry->data;
11031     if ((unsigned int )data_link_info->description != (unsigned int )((void *)0)) {   11031     if ((unsigned int )data_link_info->description != (unsigned int )((void *)0)) {
11032       desc_str = (gchar const   *)data_link_info->description;   11032       desc_str = (gchar const   *)data_link_info->description;
11033     } else {   11033     } else {
11034       desc_str = "(not supported)";   11034       desc_str = "(not supported)";
11035     }   11035     }
11036     printf((char const   */* __restrict  */)"%d\t%s\t%s\n", data_link_info->dlt,   11036     printf((char const   */* __restrict  */)"%d\t%s\t%s\n", data_link_info->dlt,
11037            data_link_info->name, desc_str);   11037            data_link_info->name, desc_str);
11038     if (lt_entry) {   11038     if (lt_entry) {
11039       lt_entry = lt_entry->next;   11039       lt_entry = lt_entry->next;
11040     } else {   11040     } else {
11041       lt_entry = (GList *)((void *)0);   11041       lt_entry = (GList *)((void *)0);
11042     }   11042     }
11043   }   11043   }
11044   return;   11044   return;
11045 }   11045 }
11046 }   11046 }
11047 static int print_statistics_loop(gboolean machine_readable )   11047 static int print_statistics_loop(gboolean machine_readable )
11048 {   11048 {
11049   GList *if_list ;   11049   GList *if_list ;
11050   GList *if_entry ;   11050   GList *if_entry ;
11051   GList *stat_list ;   11051   GList *stat_list ;
11052   GList *stat_entry ;   11052   GList *stat_entry ;
11053   if_info_t *if_info ;   11053   if_info_t *if_info ;
11054   if_stat_t *if_stat ;   11054   if_stat_t *if_stat ;
11055   int err ;   11055   int err ;
11056   gchar *err_str ;   11056   gchar *err_str ;
11057   pcap_t *pch ;   11057   pcap_t *pch ;
11058   char errbuf[256] ;   11058   char errbuf[256] ;
11059   struct pcap_stat ps ;   11059   struct pcap_stat ps ;
11060   gpointer tmp ;   11060   gpointer tmp ;
11061     11061  
11062   {   11062   {
11063   stat_list = (GList *)((void *)0);   11063   stat_list = (GList *)((void *)0);
11064   if_list = get_interface_list(& err, & err_str);   11064   if_list = get_interface_list(& err, & err_str);
11065   if ((unsigned int )if_list == (unsigned int )((void *)0)) {   11065   if ((unsigned int )if_list == (unsigned int )((void *)0)) {
11066     switch (err) {   11066     switch (err) {
11067     case 1:   11067     case 1:
11068     cmdarg_err("%s", err_str);   11068     cmdarg_err("%s", err_str);
11069     g_free((gpointer )err_str);   11069     g_free((gpointer )err_str);
11070     break;   11070     break;
11071     case 2:   11071     case 2:
11072     cmdarg_err("There are no interfaces on which a capture can be done");   11072     cmdarg_err("There are no interfaces on which a capture can be done");
11073     break;   11073     break;
11074     }   11074     }
11075     return (err);   11075     return (err);
11076   } else {   11076   } else {
11077     11077  
11078   }   11078   }
11079   if_entry = g_list_first(if_list);   11079   if_entry = g_list_first(if_list);
11080   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {   11080   while ((unsigned int )if_entry != (unsigned int )((void *)0)) {
11081     if_info = (if_info_t *)if_entry->data;   11081     if_info = (if_info_t *)if_entry->data;
11082     pch = pcap_open_live((char const   *)if_info->name, 1, 0, 0, errbuf);   11082     pch = pcap_open_live((char const   *)if_info->name, 1, 0, 0, errbuf);
11083     if (pch) {   11083     if (pch) {
11084       tmp = g_malloc(sizeof(if_stat_t ));   11084       tmp = g_malloc(sizeof(if_stat_t ));
11085       if_stat = (if_stat_t *)tmp;   11085       if_stat = (if_stat_t *)tmp;
11086       if_stat->name = g_strdup((gchar const   *)if_info->name);   11086       if_stat->name = g_strdup((gchar const   *)if_info->name);
11087       if_stat->pch = pch;   11087       if_stat->pch = pch;
11088       stat_list = g_list_append(stat_list, (gpointer )if_stat);   11088       stat_list = g_list_append(stat_list, (gpointer )if_stat);
11089     } else {   11089     } else {
11090     11090  
11091     }   11091     }
11092     if (if_entry) {   11092     if (if_entry) {
11093       if_entry = if_entry->next;   11093       if_entry = if_entry->next;
11094     } else {   11094     } else {
11095       if_entry = (GList *)((void *)0);   11095       if_entry = (GList *)((void *)0);
11096     }   11096     }
11097   }   11097   }
11098   if (! stat_list) {   11098   if (! stat_list) {
11099     cmdarg_err("There are no interfaces on which a capture can be done");   11099     cmdarg_err("There are no interfaces on which a capture can be done");
11100     return (2);   11100     return (2);
11101   } else {   11101   } else {
11102     11102  
11103   }   11103   }
11104   if (capture_child) {   11104   if (capture_child) {
11105     pipe_write_block(2, (char )'S', (char const   *)((void *)0));   11105     pipe_write_block(2, (char )'S', (char const   *)((void *)0));
11106   } else {   11106   } else {
11107     11107  
11108   }   11108   }
11109   if (! machine_readable) {   11109   if (! machine_readable) {
11110     printf((char const   */* __restrict  */)"%-15s  %10s  %10s\n", "Interface",   11110     printf((char const   */* __restrict  */)"%-15s  %10s  %10s\n", "Interface",
11111            "Received", "Dropped");   11111            "Received", "Dropped");
11112   } else {   11112   } else {
11113     11113  
11114   }   11114   }
11115   global_ld.go = 1;   11115   global_ld.go = 1;
11116   while (global_ld.go) {   11116   while (global_ld.go) {
11117     stat_entry = g_list_first(stat_list);   11117     stat_entry = g_list_first(stat_list);
11118     while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {   11118     while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {
11119       if_stat = (if_stat_t *)stat_entry->data;   11119       if_stat = (if_stat_t *)stat_entry->data;
11120       pcap_stats(if_stat->pch, & ps);   11120       pcap_stats(if_stat->pch, & ps);
11121       if (! machine_readable) {   11121       if (! machine_readable) {
11122         printf((char const   */* __restrict  */)"%-15s  %10u  %10u\n",   11122         printf((char const   */* __restrict  */)"%-15s  %10u  %10u\n",
11123                if_stat->name, ps.ps_recv, ps.ps_drop);   11123                if_stat->name, ps.ps_recv, ps.ps_drop);
11124       } else {   11124       } else {
11125         printf((char const   */* __restrict  */)"%s\t%u\t%u\n", if_stat->name,   11125         printf((char const   */* __restrict  */)"%s\t%u\t%u\n", if_stat->name,
11126                ps.ps_recv, ps.ps_drop);   11126                ps.ps_recv, ps.ps_drop);
11127         fflush(stdout);   11127         fflush(stdout);
11128       }   11128       }
11129       if (stat_entry) {   11129       if (stat_entry) {
11130         stat_entry = stat_entry->next;   11130         stat_entry = stat_entry->next;
11131       } else {   11131       } else {
11132         stat_entry = (GList *)((void *)0);   11132         stat_entry = (GList *)((void *)0);
11133       }   11133       }
11134     }   11134     }
11135     sleep(1U);   11135     sleep(1U);
11136   }   11136   }
11137   stat_entry = g_list_first(stat_list);   11137   stat_entry = g_list_first(stat_list);
11138   while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {   11138   while ((unsigned int )stat_entry != (unsigned int )((void *)0)) {
11139     if_stat = (if_stat_t *)stat_entry->data;   11139     if_stat = (if_stat_t *)stat_entry->data;
11140     pcap_close(if_stat->pch);   11140     pcap_close(if_stat->pch);
11141     g_free((gpointer )if_stat->name);   11141     g_free((gpointer )if_stat->name);
11142     g_free((gpointer )if_stat);   11142     g_free((gpointer )if_stat);
11143     if (stat_entry) {   11143     if (stat_entry) {
11144       stat_entry = stat_entry->next;   11144       stat_entry = stat_entry->next;
11145     } else {   11145     } else {
11146       stat_entry = (GList *)((void *)0);   11146       stat_entry = (GList *)((void *)0);
11147     }   11147     }
11148   }   11148   }
11149   g_list_free(stat_list);   11149   g_list_free(stat_list);
11150   free_interface_list(if_list);   11150   free_interface_list(if_list);
11151   return (0);   11151   return (0);
11152 }   11152 }
11153 }   11153 }
11154 static void capture_cleanup_handler(int signum  __attribute__((__unused__)) )   11154 static void capture_cleanup_handler(int signum  __attribute__((__unused__)) )
11155 {   11155 {
11156     11156  
11157     11157  
11158   {   11158   {
11159   capture_loop_stop();   11159   capture_loop_stop();
11160   return;   11160   return;
11161 }   11161 }
11162 }   11162 }
11163 static void report_capture_count(void)   11163 static void report_capture_count(void)
11164 {   11164 {
11165     11165  
11166     11166  
11167   {   11167   {
11168   if (! capture_child) {   11168   if (! capture_child) {
11169     if (quiet) {   11169     if (quiet) {
11170       fprintf((FILE */* __restrict  */)stderr,   11170       fprintf((FILE */* __restrict  */)stderr,
11171               (char const   */* __restrict  */)"Packets captured: %u\n",   11171               (char const   */* __restrict  */)"Packets captured: %u\n",
11172               global_ld.packet_count);   11172               global_ld.packet_count);
11173       fflush(stderr);   11173       fflush(stderr);
11174     } else {   11174     } else {
11175     11175  
11176     }   11176     }
11177   } else {   11177   } else {
11178     11178  
11179   }   11179   }
11180   return;   11180   return;
11181 }   11181 }
11182 }   11182 }
11183 static  __attribute__((__noreturn__)) void exit_main(int status ) ;   11183 static  __attribute__((__noreturn__)) void exit_main(int status ) ;
11184 static void exit_main(int status )   11184 static void exit_main(int status )
11185 {   11185 {
11186     11186  
11187     11187  
11188   {   11188   {
11189   exit(status);   11189   exit(status);
11190 }   11190 }
11191 }   11191 }
11192 static void cap_pipe_adjust_header(gboolean byte_swapped ,   11192 static void cap_pipe_adjust_header(gboolean byte_swapped ,
11193                                    struct pcap_hdr *hdr ,   11193                                    struct pcap_hdr *hdr ,
11194                                    struct pcaprec_hdr *rechdr )   11194                                    struct pcaprec_hdr *rechdr )
11195 {   11195 {
11196   guint32 temp ;   11196   guint32 temp ;
11197     11197  
11198   {   11198   {
11199   if (byte_swapped) {   11199   if (byte_swapped) {
    -+ 11200     {
      11201     memset(rechdr, 0, sizeof(struct pcaprec_hdr ));
11200     rechdr->ts_sec = ((((rechdr->ts_sec & 4278190080U) >> 24) | ((rechdr->ts_sec & 16711680U) >> 8)) | ((rechdr->ts_sec & 65280U) << 8)) | ((rechdr->ts_sec & 255U) << 24); = 11202     rechdr->ts_sec = ((((rechdr->ts_sec & 4278190080U) >> 24) | ((rechdr->ts_sec & 16711680U) >> 8)) | ((rechdr->ts_sec & 65280U) << 8)) | ((rechdr->ts_sec & 255U) << 24);
    -+ 11203     }
11201     rechdr->ts_usec = ((((rechdr->ts_usec & 4278190080U) >> 24) | ((rechdr->ts_usec & 16711680U) >> 8)) | ((rechdr->ts_usec & 65280U) << 8)) | ((rechdr->ts_usec & 255U) << 24); = 11204     rechdr->ts_usec = ((((rechdr->ts_usec & 4278190080U) >> 24) | ((rechdr->ts_usec & 16711680U) >> 8)) | ((rechdr->ts_usec & 65280U) << 8)) | ((rechdr->ts_usec & 255U) << 24);
11202     rechdr->incl_len = ((((rechdr->incl_len & 4278190080U) >> 24) | ((rechdr->incl_len & 16711680U) >> 8)) | ((rechdr->incl_len & 65280U) << 8)) | ((rechdr->incl_len & 255U) << 24);   11205     rechdr->incl_len = ((((rechdr->incl_len & 4278190080U) >> 24) | ((rechdr->incl_len & 16711680U) >> 8)) | ((rechdr->incl_len & 65280U) << 8)) | ((rechdr->incl_len & 255U) << 24);
11203     rechdr->orig_len = ((((rechdr->orig_len & 4278190080U) >> 24) | ((rechdr->orig_len & 16711680U) >> 8)) | ((rechdr->orig_len & 65280U) << 8)) | ((rechdr->orig_len & 255U) << 24);   11206     rechdr->orig_len = ((((rechdr->orig_len & 4278190080U) >> 24) | ((rechdr->orig_len & 16711680U) >> 8)) | ((rechdr->orig_len & 65280U) << 8)) | ((rechdr->orig_len & 255U) << 24);
11204   } else {   11207   } else {
11205     11208  
11206   }   11209   }
11207   if ((int )hdr->version_major == 2) {   11210   if ((int )hdr->version_major == 2) {
11208     if ((int )hdr->version_minor < 3) {   11211     if ((int )hdr->version_minor < 3) {
11209       temp = rechdr->orig_len;   11212       temp = rechdr->orig_len;
11210       rechdr->orig_len = rechdr->incl_len;   11213       rechdr->orig_len = rechdr->incl_len;
11211       rechdr->incl_len = temp;   11214       rechdr->incl_len = temp;
11212     } else   11215     } else
11213     if ((int )hdr->version_minor == 3) {   11216     if ((int )hdr->version_minor == 3) {
11214       if (rechdr->incl_len > rechdr->orig_len) {   11217       if (rechdr->incl_len > rechdr->orig_len) {
11215         temp = rechdr->orig_len;   11218         temp = rechdr->orig_len;
11216         rechdr->orig_len = rechdr->incl_len;   11219         rechdr->orig_len = rechdr->incl_len;
11217         rechdr->incl_len = temp;   11220         rechdr->incl_len = temp;
11218       } else {   11221       } else {
11219     11222  
11220       }   11223       }
11221     } else {   11224     } else {
11222     11225  
11223     }   11226     }
11224   } else {   11227   } else {
11225     11228  
11226   }   11229   }
11227   return;   11230   return;
11228 }   11231 }
11229 }   11232 }
11230 static int cap_pipe_select(int pipe_fd )   11233 static int cap_pipe_select(int pipe_fd )
11231 {   11234 {
11232   fd_set rfds ;   11235   fd_set rfds ;
11233   struct timeval timeout ;   11236   struct timeval timeout ;
11234   int sel_ret ;   11237   int sel_ret ;
11235   int __d0 ;   11238   int __d0 ;
11236   int __d1 ;   11239   int __d1 ;
11237   int *tmp ;   11240   int *tmp ;
11238   char *tmp___0 ;   11241   char *tmp___0 ;
11239     11242  
11240   {   11243   {
11241   cap_pipe_err_str = "Unknown error";   11244   cap_pipe_err_str = "Unknown error";
11242   while (1) {   11245   while (1) {
11243     __asm__  volatile   ("cld; rep; stosl": "=c" (__d0), "=D" (__d1): "a" (0),   11246     __asm__  volatile   ("cld; rep; stosl": "=c" (__d0), "=D" (__d1): "a" (0),
11244                          "0" (sizeof(fd_set ) / sizeof(__fd_mask )),   11247                          "0" (sizeof(fd_set ) / sizeof(__fd_mask )),
11245                          "1" (& rfds.__fds_bits[0]): "memory");   11248                          "1" (& rfds.__fds_bits[0]): "memory");
11246     break;   11249     break;
11247   }   11250   }
11248   __asm__  volatile   ("btsl %1,%0": "=m" (rfds.__fds_bits[(unsigned int )pipe_fd / (8U * sizeof(unsigned long ))]): "r" ((unsigned int )pipe_fd % (8U * sizeof(unsigned long ))): "cc",   11251   __asm__  volatile   ("btsl %1,%0": "=m" (rfds.__fds_bits[(unsigned int )pipe_fd / (8U * sizeof(unsigned long ))]): "r" ((unsigned int )pipe_fd % (8U * sizeof(unsigned long ))): "cc",
11249                        "memory");   11252                        "memory");
11250   timeout.tv_sec = (__time_t )0;   11253   timeout.tv_sec = (__time_t )0;
11251   timeout.tv_usec = (__suseconds_t )250000;   11254   timeout.tv_usec = (__suseconds_t )250000;
11252   sel_ret = select(pipe_fd + 1, (fd_set */* __restrict  */)(& rfds),   11255   sel_ret = select(pipe_fd + 1, (fd_set */* __restrict  */)(& rfds),
11253                    (fd_set */* __restrict  */)((void *)0),   11256                    (fd_set */* __restrict  */)((void *)0),
11254                    (fd_set */* __restrict  */)((void *)0),   11257                    (fd_set */* __restrict  */)((void *)0),
11255                    (struct timeval */* __restrict  */)(& timeout));   11258                    (struct timeval */* __restrict  */)(& timeout));
11256   if (sel_ret < 0) {   11259   if (sel_ret < 0) {
11257     tmp = __errno_location();   11260     tmp = __errno_location();
11258     tmp___0 = strerror(*tmp);   11261     tmp___0 = strerror(*tmp);
11259     cap_pipe_err_str = (char const   *)tmp___0;   11262     cap_pipe_err_str = (char const   *)tmp___0;
11260   } else {   11263   } else {
11261     11264  
11262   }   11265   }
11263   return (sel_ret);   11266   return (sel_ret);
11264 }   11267 }
11265 }   11268 }
11266 static void cap_pipe_open_live(char *pipename , pcap_options *pcap_opts ,   11269 static void cap_pipe_open_live(char *pipename , pcap_options *pcap_opts ,
11267                                struct pcap_hdr *hdr , char *errmsg ,   11270                                struct pcap_hdr *hdr , char *errmsg ,
11268                                int errmsgl )   11271                                int errmsgl )
11269 {   11272 {
11270   struct stat pipe_stat ;   11273   struct stat pipe_stat ;
11271   struct sockaddr_un sa ;   11274   struct sockaddr_un sa ;
11272   int b ;   11275   int b ;
11273   int fd ;   11276   int fd ;
11274   int sel_ret ;   11277   int sel_ret ;
11275   unsigned int bytes_read ;   11278   unsigned int bytes_read ;
11276   guint32 magic ;   11279   guint32 magic ;
11277   int *tmp ;   11280   int *tmp ;
11278   char *tmp___0 ;   11281   char *tmp___0 ;
11279   int *tmp___1 ;   11282   int *tmp___1 ;
11280   int *tmp___2 ;   11283   int *tmp___2 ;
11281   int tmp___3 ;   11284   int tmp___3 ;
11282   int *tmp___4 ;   11285   int *tmp___4 ;
11283   char *tmp___5 ;   11286   char *tmp___5 ;
11284   int *tmp___6 ;   11287   int *tmp___6 ;
11285   char *tmp___7 ;   11288   char *tmp___7 ;
11286   gsize tmp___8 ;   11289   gsize tmp___8 ;
11287   int *tmp___9 ;   11290   int *tmp___9 ;
11288   char *tmp___10 ;   11291   char *tmp___10 ;
11289   size_t __s1_len ;   11292   size_t __s1_len ;
11290   size_t __s2_len ;   11293   size_t __s2_len ;
11291   int tmp___11 ;   11294   int tmp___11 ;
11292   int tmp___12 ;   11295   int tmp___12 ;
11293   int tmp___13 ;   11296   int tmp___13 ;
11294   unsigned char const   *__s2 ;   11297   unsigned char const   *__s2 ;
11295   register int __result ;   11298   register int __result ;
11296   int tmp___14 ;   11299   int tmp___14 ;
11297   unsigned char const   *__s1 ;   11300   unsigned char const   *__s1 ;
11298   register int __result___0 ;   11301   register int __result___0 ;
11299   int tmp___15 ;   11302   int tmp___15 ;
11300   int tmp___16 ;   11303   int tmp___16 ;
11301   int tmp___17 ;   11304   int tmp___17 ;
11302   int *tmp___18 ;   11305   int *tmp___18 ;
11303   char *tmp___19 ;   11306   char *tmp___19 ;
11304   int *tmp___20 ;   11307   int *tmp___20 ;
11305   char *tmp___21 ;   11308   char *tmp___21 ;
11306   int *tmp___22 ;   11309   int *tmp___22 ;
11307   char *tmp___23 ;   11310   char *tmp___23 ;
11308   int *tmp___24 ;   11311   int *tmp___24 ;
11309   char *tmp___25 ;   11312   char *tmp___25 ;
11310     11313  
11311   {   11314   {
11312   magic = (guint32 )0;   11315   magic = (guint32 )0;
11313   pcap_opts->cap_pipe_fd = -1;   11316   pcap_opts->cap_pipe_fd = -1;
11314   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: %s", pipename);   11317   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: %s", pipename);
11315   if (0) {   11318   if (0) {
11316     __s1_len = strlen((char const   *)pipename);   11319     __s1_len = strlen((char const   *)pipename);
11317     __s2_len = strlen("-");   11320     __s2_len = strlen("-");
11318     if (! ((size_t )((void const   *)(pipename + 1)) - (size_t )((void const   *)pipename) == 1U)) {   11321     if (! ((size_t )((void const   *)(pipename + 1)) - (size_t )((void const   *)pipename) == 1U)) {
11319       goto _L___0;   11322       goto _L___0;
11320     } else   11323     } else
11321     if (__s1_len >= 4U) {   11324     if (__s1_len >= 4U) {
11322       _L___0: /* CIL Label */   11325       _L___0: /* CIL Label */
11323       if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {   11326       if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {
11324         tmp___17 = 1;   11327         tmp___17 = 1;
11325       } else   11328       } else
11326       if (__s2_len >= 4U) {   11329       if (__s2_len >= 4U) {
11327         tmp___17 = 1;   11330         tmp___17 = 1;
11328       } else {   11331       } else {
11329         tmp___17 = 0;   11332         tmp___17 = 0;
11330       }   11333       }
11331     } else {   11334     } else {
11332       tmp___17 = 0;   11335       tmp___17 = 0;
11333     }   11336     }
11334     if (tmp___17) {   11337     if (tmp___17) {
11335       tmp___12 = __builtin_strcmp((char const   *)pipename, "-");   11338       tmp___12 = __builtin_strcmp((char const   *)pipename, "-");
11336       tmp___16 = tmp___12;   11339       tmp___16 = tmp___12;
11337     } else {   11340     } else {
11338       tmp___15 = __builtin_strcmp((char const   *)pipename, "-");   11341       tmp___15 = __builtin_strcmp((char const   *)pipename, "-");
11339       tmp___16 = tmp___15;   11342       tmp___16 = tmp___15;
11340     }   11343     }
11341   } else {   11344   } else {
11342     tmp___15 = __builtin_strcmp((char const   *)pipename, "-");   11345     tmp___15 = __builtin_strcmp((char const   *)pipename, "-");
11343     tmp___16 = tmp___15;   11346     tmp___16 = tmp___15;
11344   }   11347   }
11345   if (tmp___16 == 0) {   11348   if (tmp___16 == 0) {
11346     fd = 0;   11349     fd = 0;
11347   } else {   11350   } else {
11348     tmp___3 = stat((char const   */* __restrict  */)pipename,   11351     tmp___3 = stat((char const   */* __restrict  */)pipename,
11349                    (struct stat */* __restrict  */)(& pipe_stat));   11352                    (struct stat */* __restrict  */)(& pipe_stat));
11350     if (tmp___3 < 0) {   11353     if (tmp___3 < 0) {
11351       tmp___1 = __errno_location();   11354       tmp___1 = __errno_location();
11352       if (*tmp___1 == 2) {   11355       if (*tmp___1 == 2) {
11353         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;   11356         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;
11354       } else {   11357       } else {
11355         tmp___2 = __errno_location();   11358         tmp___2 = __errno_location();
11356         if (*tmp___2 == 20) {   11359         if (*tmp___2 == 20) {
11357           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;   11360           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;
11358         } else {   11361         } else {
11359           tmp = __errno_location();   11362           tmp = __errno_location();
11360           tmp___0 = strerror(*tmp);   11363           tmp___0 = strerror(*tmp);
11361           g_snprintf(errmsg, (gulong )errmsgl,   11364           g_snprintf(errmsg, (gulong )errmsgl,
11362                      "The capture session could not be initiated due to error getting information on pipe/socket: %s",   11365                      "The capture session could not be initiated due to error getting information on pipe/socket: %s",
11363                      tmp___0);   11366                      tmp___0);
11364           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11367           pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11365         }   11368         }
11366       }   11369       }
11367       return;   11370       return;
11368     } else {   11371     } else {
11369     11372  
11370     }   11373     }
11371     if ((pipe_stat.st_mode & 61440U) == 4096U) {   11374     if ((pipe_stat.st_mode & 61440U) == 4096U) {
11372       fd = open((char const   *)pipename, 2048, 0);   11375       fd = open((char const   *)pipename, 2048, 0);
11373       if (fd == -1) {   11376       if (fd == -1) {
11374         tmp___4 = __errno_location();   11377         tmp___4 = __errno_location();
11375         tmp___5 = strerror(*tmp___4);   11378         tmp___5 = strerror(*tmp___4);
11376         g_snprintf(errmsg, (gulong )errmsgl,   11379         g_snprintf(errmsg, (gulong )errmsgl,
11377                    "The capture session could not be initiated due to error on pipe open: %s",   11380                    "The capture session could not be initiated due to error on pipe open: %s",
11378                    tmp___5);   11381                    tmp___5);
11379         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11382         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11380         return;   11383         return;
11381       } else {   11384       } else {
11382     11385  
11383       }   11386       }
11384     } else   11387     } else
11385     if ((pipe_stat.st_mode & 61440U) == 49152U) {   11388     if ((pipe_stat.st_mode & 61440U) == 49152U) {
11386       fd = socket(1, 1, 0);   11389       fd = socket(1, 1, 0);
11387       if (fd == -1) {   11390       if (fd == -1) {
11388         tmp___6 = __errno_location();   11391         tmp___6 = __errno_location();
11389         tmp___7 = strerror(*tmp___6);   11392         tmp___7 = strerror(*tmp___6);
11390         g_snprintf(errmsg, (gulong )errmsgl,   11393         g_snprintf(errmsg, (gulong )errmsgl,
11391                    "The capture session could not be initiated due to error on socket create: %s",   11394                    "The capture session could not be initiated due to error on socket create: %s",
11392                    tmp___7);   11395                    tmp___7);
11393         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11396         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11394         return;   11397         return;
11395       } else {   11398       } else {
11396     11399  
11397       }   11400       }
11398       sa.sun_family = (sa_family_t )1;   11401       sa.sun_family = (sa_family_t )1;
11399       tmp___8 = g_strlcpy(sa.sun_path, (gchar const   *)pipename,   11402       tmp___8 = g_strlcpy(sa.sun_path, (gchar const   *)pipename,
11400                           sizeof(sa.sun_path));   11403                           sizeof(sa.sun_path));
11401       if (tmp___8 > sizeof(sa.sun_path)) {   11404       if (tmp___8 > sizeof(sa.sun_path)) {
11402         g_snprintf(errmsg, (gulong )errmsgl,   11405         g_snprintf(errmsg, (gulong )errmsgl,
11403                    "The capture session coud not be initiated due to error on socket connect: Path name too long");   11406                    "The capture session coud not be initiated due to error on socket connect: Path name too long");
11404         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11407         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11405         return;   11408         return;
11406       } else {   11409       } else {
11407     11410  
11408       }   11411       }
11409       b = connect(fd, (struct sockaddr  const  *)((struct sockaddr *)(& sa)),   11412       b = connect(fd, (struct sockaddr  const  *)((struct sockaddr *)(& sa)),
11410                   sizeof(sa));   11413                   sizeof(sa));
11411       if (b == -1) {   11414       if (b == -1) {
11412         tmp___9 = __errno_location();   11415         tmp___9 = __errno_location();
11413         tmp___10 = strerror(*tmp___9);   11416         tmp___10 = strerror(*tmp___9);
11414         g_snprintf(errmsg, (gulong )errmsgl,   11417         g_snprintf(errmsg, (gulong )errmsgl,
11415                    "The capture session coud not be initiated due to error on socket connect: %s",   11418                    "The capture session coud not be initiated due to error on socket connect: %s",
11416                    tmp___10);   11419                    tmp___10);
11417         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11420         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11418         return;   11421         return;
11419       } else {   11422       } else {
11420     11423  
11421       }   11424       }
11422     } else {   11425     } else {
11423       if ((pipe_stat.st_mode & 61440U) == 8192U) {   11426       if ((pipe_stat.st_mode & 61440U) == 8192U) {
11424         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;   11427         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )3;
11425       } else {   11428       } else {
11426         g_snprintf(errmsg, (gulong )errmsgl,   11429         g_snprintf(errmsg, (gulong )errmsgl,
11427                    "The capture session could not be initiated because\n\"%s\" is neither an interface nor a socket nor a pipe",   11430                    "The capture session could not be initiated because\n\"%s\" is neither an interface nor a socket nor a pipe",
11428                    pipename);   11431                    pipename);
11429         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11432         pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11430       }   11433       }
11431       return;   11434       return;
11432     }   11435     }
11433   }   11436   }
11434   pcap_opts->from_cap_pipe = 1;   11437   pcap_opts->from_cap_pipe = 1;
11435   bytes_read = 0U;   11438   bytes_read = 0U;
11436   while (bytes_read < sizeof(magic)) {   11439   while (bytes_read < sizeof(magic)) {
11437     sel_ret = cap_pipe_select(fd);   11440     sel_ret = cap_pipe_select(fd);
11438     if (sel_ret < 0) {   11441     if (sel_ret < 0) {
11439       tmp___18 = __errno_location();   11442       tmp___18 = __errno_location();
11440       tmp___19 = strerror(*tmp___18);   11443       tmp___19 = strerror(*tmp___18);
11441       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",   11444       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",
11442                  tmp___19);   11445                  tmp___19);
11443       goto error;   11446       goto error;
11444     } else   11447     } else
11445     if (sel_ret > 0) {   11448     if (sel_ret > 0) {
11446       b = read(fd, (void *)((char *)(& magic) + bytes_read),   11449       b = read(fd, (void *)((char *)(& magic) + bytes_read),
11447                sizeof(magic) - bytes_read);   11450                sizeof(magic) - bytes_read);
11448       if (b <= 0) {   11451       if (b <= 0) {
11449         if (b == 0) {   11452         if (b == 0) {
11450           g_snprintf(errmsg, (gulong )errmsgl,   11453           g_snprintf(errmsg, (gulong )errmsgl,
11451                      "End of file on pipe magic during open");   11454                      "End of file on pipe magic during open");
11452         } else {   11455         } else {
11453           tmp___20 = __errno_location();   11456           tmp___20 = __errno_location();
11454           tmp___21 = strerror(*tmp___20);   11457           tmp___21 = strerror(*tmp___20);
11455           g_snprintf(errmsg, (gulong )errmsgl,   11458           g_snprintf(errmsg, (gulong )errmsgl,
11456                      "Error on pipe magic during open: %s", tmp___21);   11459                      "Error on pipe magic during open: %s", tmp___21);
11457         }   11460         }
11458         goto error;   11461         goto error;
11459       } else {   11462       } else {
11460     11463  
11461       }   11464       }
11462       bytes_read += (unsigned int )b;   11465       bytes_read += (unsigned int )b;
11463     } else {   11466     } else {
11464     11467  
11465     }   11468     }
11466   }   11469   }
11467   switch (magic) {   11470   switch (magic) {
11468   case 2712847316U:   11471   case 2712847316U:
11469   pcap_opts->cap_pipe_byte_swapped = 0;   11472   pcap_opts->cap_pipe_byte_swapped = 0;
11470   pcap_opts->cap_pipe_modified = 0;   11473   pcap_opts->cap_pipe_modified = 0;
11471   break;   11474   break;
11472   case 2712849716U:   11475   case 2712849716U:
11473   pcap_opts->cap_pipe_byte_swapped = 0;   11476   pcap_opts->cap_pipe_byte_swapped = 0;
11474   pcap_opts->cap_pipe_modified = 1;   11477   pcap_opts->cap_pipe_modified = 1;
11475   break;   11478   break;
11476   case 3569595041U:   11479   case 3569595041U:
11477   pcap_opts->cap_pipe_byte_swapped = 1;   11480   pcap_opts->cap_pipe_byte_swapped = 1;
11478   pcap_opts->cap_pipe_modified = 0;   11481   pcap_opts->cap_pipe_modified = 0;
11479   break;   11482   break;
11480   case 885895841U:   11483   case 885895841U:
11481   pcap_opts->cap_pipe_byte_swapped = 1;   11484   pcap_opts->cap_pipe_byte_swapped = 1;
11482   pcap_opts->cap_pipe_modified = 1;   11485   pcap_opts->cap_pipe_modified = 1;
11483   break;   11486   break;
11484   default:   11487   default:
11485   g_snprintf(errmsg, (gulong )errmsgl, "Unrecognized libpcap format");   11488   g_snprintf(errmsg, (gulong )errmsgl, "Unrecognized libpcap format");
11486   goto error;   11489   goto error;
11487   }   11490   }
11488   bytes_read = 0U;   11491   bytes_read = 0U;
11489   while (bytes_read < sizeof(struct pcap_hdr )) {   11492   while (bytes_read < sizeof(struct pcap_hdr )) {
11490     sel_ret = cap_pipe_select(fd);   11493     sel_ret = cap_pipe_select(fd);
11491     if (sel_ret < 0) {   11494     if (sel_ret < 0) {
11492       tmp___22 = __errno_location();   11495       tmp___22 = __errno_location();
11493       tmp___23 = strerror(*tmp___22);   11496       tmp___23 = strerror(*tmp___22);
11494       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",   11497       g_snprintf(errmsg, (gulong )errmsgl, "Unexpected error from select: %s",
11495                  tmp___23);   11498                  tmp___23);
11496       goto error;   11499       goto error;
11497     } else   11500     } else
11498     if (sel_ret > 0) {   11501     if (sel_ret > 0) {
11499       b = read(fd, (void *)((char *)hdr + bytes_read),   11502       b = read(fd, (void *)((char *)hdr + bytes_read),
11500                sizeof(struct pcap_hdr ) - bytes_read);   11503                sizeof(struct pcap_hdr ) - bytes_read);
11501       if (b <= 0) {   11504       if (b <= 0) {
11502         if (b == 0) {   11505         if (b == 0) {
11503           g_snprintf(errmsg, (gulong )errmsgl,   11506           g_snprintf(errmsg, (gulong )errmsgl,
11504                      "End of file on pipe header during open");   11507                      "End of file on pipe header during open");
11505         } else {   11508         } else {
11506           tmp___24 = __errno_location();   11509           tmp___24 = __errno_location();
11507           tmp___25 = strerror(*tmp___24);   11510           tmp___25 = strerror(*tmp___24);
11508           g_snprintf(errmsg, (gulong )errmsgl,   11511           g_snprintf(errmsg, (gulong )errmsgl,
11509                      "Error on pipe header during open: %s", tmp___25);   11512                      "Error on pipe header during open: %s", tmp___25);
11510         }   11513         }
11511         goto error;   11514         goto error;
11512       } else {   11515       } else {
11513     11516  
11514       }   11517       }
11515       bytes_read += (unsigned int )b;   11518       bytes_read += (unsigned int )b;
11516     } else {   11519     } else {
11517     11520  
11518     }   11521     }
11519   }   11522   }
11520   if (pcap_opts->cap_pipe_byte_swapped) {   11523   if (pcap_opts->cap_pipe_byte_swapped) {
    -+ 11524     {
      11525     memset(hdr, 0, sizeof(struct pcap_hdr ));
11521     hdr->version_major = (guint16 )((((int )hdr->version_major & 65280) >> 8) | (((int )hdr->version_major & 255) << 8)); = 11526     hdr->version_major = (guint16 )((((int )hdr->version_major & 65280) >> 8) | (((int )hdr->version_major & 255) << 8));
    -+ 11527     }
11522     hdr->version_minor = (guint16 )((((int )hdr->version_minor & 65280) >> 8) | (((int )hdr->version_minor & 255) << 8)); = 11528     hdr->version_minor = (guint16 )((((int )hdr->version_minor & 65280) >> 8) | (((int )hdr->version_minor & 255) << 8));
11523     hdr->snaplen = ((((hdr->snaplen & 4278190080U) >> 24) | ((hdr->snaplen & 16711680U) >> 8)) | ((hdr->snaplen & 65280U) << 8)) | ((hdr->snaplen & 255U) << 24);   11529     hdr->snaplen = ((((hdr->snaplen & 4278190080U) >> 24) | ((hdr->snaplen & 16711680U) >> 8)) | ((hdr->snaplen & 65280U) << 8)) | ((hdr->snaplen & 255U) << 24);
11524     hdr->network = ((((hdr->network & 4278190080U) >> 24) | ((hdr->network & 16711680U) >> 8)) | ((hdr->network & 65280U) << 8)) | ((hdr->network & 255U) << 24);   11530     hdr->network = ((((hdr->network & 4278190080U) >> 24) | ((hdr->network & 16711680U) >> 8)) | ((hdr->network & 65280U) << 8)) | ((hdr->network & 255U) << 24);
11525   } else {   11531   } else {
11526     11532  
11527   }   11533   }
11528   pcap_opts->linktype = (int )hdr->network;   11534   pcap_opts->linktype = (int )hdr->network;
11529   if ((int )hdr->version_major < 2) {   11535   if ((int )hdr->version_major < 2) {
11530     g_snprintf(errmsg, (gulong )errmsgl, "Unable to read old libpcap format");   11536     g_snprintf(errmsg, (gulong )errmsgl, "Unable to read old libpcap format");
11531     goto error;   11537     goto error;
11532   } else {   11538   } else {
11533     11539  
11534   }   11540   }
11535   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;   11541   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;
11536   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;   11542   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;
11537   pcap_opts->cap_pipe_fd = fd;   11543   pcap_opts->cap_pipe_fd = fd;
11538   return;   11544   return;
11539   error:   11545   error:
11540   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: error %s",   11546   g_log("CaptureChild", (GLogLevelFlags )128, "cap_pipe_open_live: error %s",
11541         errmsg);   11547         errmsg);
11542   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11548   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11543   close(fd);   11549   close(fd);
11544   pcap_opts->cap_pipe_fd = -1;   11550   pcap_opts->cap_pipe_fd = -1;
11545   return;   11551   return;
11546 }   11552 }
11547 }   11553 }
11548 static int cap_pipe_dispatch(loop_data *ld , pcap_options *pcap_opts ,   11554 static int cap_pipe_dispatch(loop_data *ld , pcap_options *pcap_opts ,
11549                              guchar *data , char *errmsg , int errmsgl )   11555                              guchar *data , char *errmsg , int errmsgl )
11550 {   11556 {
11551   struct pcap_pkthdr phdr ;   11557   struct pcap_pkthdr phdr ;
11552   enum __anonenum_result_171 result ;   11558   enum __anonenum_result_171 result ;
11553   int b ;   11559   int b ;
11554   int *tmp ;   11560   int *tmp ;
11555   char *tmp___0 ;   11561   char *tmp___0 ;
11556     11562  
11557   {   11563   {
11558   switch ((unsigned int )pcap_opts->cap_pipe_state) {   11564   switch ((unsigned int )pcap_opts->cap_pipe_state) {
11559   case 0U:   11565   case 0U:
11560   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )1;   11566   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )1;
11561   if (pcap_opts->cap_pipe_modified) {   11567   if (pcap_opts->cap_pipe_modified) {
11562     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_modified_hdr );   11568     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_modified_hdr );
11563   } else {   11569   } else {
11564     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_hdr );   11570     pcap_opts->cap_pipe_bytes_to_read = (int )sizeof(struct pcaprec_hdr );
11565   }   11571   }
11566   pcap_opts->cap_pipe_bytes_read = 0;   11572   pcap_opts->cap_pipe_bytes_read = 0;
11567   case 1U:   11573   case 1U:
11568   b = read(pcap_opts->cap_pipe_fd,   11574   b = read(pcap_opts->cap_pipe_fd,
11569            (void *)((char *)(& pcap_opts->cap_pipe_rechdr) + pcap_opts->cap_pipe_bytes_read),   11575            (void *)((char *)(& pcap_opts->cap_pipe_rechdr) + pcap_opts->cap_pipe_bytes_read),
11570            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));   11576            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));
11571   if (b <= 0) {   11577   if (b <= 0) {
11572     if (b == 0) {   11578     if (b == 0) {
11573       result = (enum __anonenum_result_171 )2;   11579       result = (enum __anonenum_result_171 )2;
11574     } else {   11580     } else {
11575       result = (enum __anonenum_result_171 )3;   11581       result = (enum __anonenum_result_171 )3;
11576     }   11582     }
11577     break;   11583     break;
11578   } else {   11584   } else {
11579     11585  
11580   }   11586   }
11581   pcap_opts->cap_pipe_bytes_read += b;   11587   pcap_opts->cap_pipe_bytes_read += b;
11582   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {   11588   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {
11583     return (0);   11589     return (0);
11584   } else {   11590   } else {
11585     11591  
11586   }   11592   }
11587   result = (enum __anonenum_result_171 )0;   11593   result = (enum __anonenum_result_171 )0;
11588   break;   11594   break;
11589   case 2U:   11595   case 2U:
11590   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )3;   11596   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )3;
11591   pcap_opts->cap_pipe_bytes_to_read = (int )pcap_opts->cap_pipe_rechdr.hdr.incl_len;   11597   pcap_opts->cap_pipe_bytes_to_read = (int )pcap_opts->cap_pipe_rechdr.hdr.incl_len;
11592   pcap_opts->cap_pipe_bytes_read = 0;   11598   pcap_opts->cap_pipe_bytes_read = 0;
11593   case 3U:   11599   case 3U:
11594   b = read(pcap_opts->cap_pipe_fd,   11600   b = read(pcap_opts->cap_pipe_fd,
11595            (void *)(data + pcap_opts->cap_pipe_bytes_read),   11601            (void *)(data + pcap_opts->cap_pipe_bytes_read),
11596            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));   11602            (size_t )(pcap_opts->cap_pipe_bytes_to_read - pcap_opts->cap_pipe_bytes_read));
11597   if (b <= 0) {   11603   if (b <= 0) {
11598     if (b == 0) {   11604     if (b == 0) {
11599       result = (enum __anonenum_result_171 )2;   11605       result = (enum __anonenum_result_171 )2;
11600     } else {   11606     } else {
11601       result = (enum __anonenum_result_171 )3;   11607       result = (enum __anonenum_result_171 )3;
11602     }   11608     }
11603     break;   11609     break;
11604   } else {   11610   } else {
11605     11611  
11606   }   11612   }
11607   pcap_opts->cap_pipe_bytes_read += b;   11613   pcap_opts->cap_pipe_bytes_read += b;
11608   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {   11614   if (pcap_opts->cap_pipe_bytes_read < pcap_opts->cap_pipe_bytes_to_read) {
11609     return (0);   11615     return (0);
11610   } else {   11616   } else {
11611     11617  
11612   }   11618   }
11613   result = (enum __anonenum_result_171 )1;   11619   result = (enum __anonenum_result_171 )1;
11614   break;   11620   break;
11615   default:   11621   default:
11616   g_snprintf(errmsg, (gulong )errmsgl, "cap_pipe_dispatch: invalid state");   11622   g_snprintf(errmsg, (gulong )errmsgl, "cap_pipe_dispatch: invalid state");
11617   result = (enum __anonenum_result_171 )4;   11623   result = (enum __anonenum_result_171 )4;
11618   }   11624   }
11619   switch ((unsigned int )result) {   11625   switch ((unsigned int )result) {
11620   case 0U:   11626   case 0U:
11621   cap_pipe_adjust_header(pcap_opts->cap_pipe_byte_swapped,   11627   cap_pipe_adjust_header(pcap_opts->cap_pipe_byte_swapped,
11622                          & pcap_opts->cap_pipe_hdr,   11628                          & pcap_opts->cap_pipe_hdr,
11623                          & pcap_opts->cap_pipe_rechdr.hdr);   11629                          & pcap_opts->cap_pipe_rechdr.hdr);
11624   if (pcap_opts->cap_pipe_rechdr.hdr.incl_len > 65535U) {   11630   if (pcap_opts->cap_pipe_rechdr.hdr.incl_len > 65535U) {
11625     g_snprintf(errmsg, (gulong )errmsgl, "Frame %u too long (%d bytes)",   11631     g_snprintf(errmsg, (gulong )errmsgl, "Frame %u too long (%d bytes)",
11626                ld->packet_count + 1, pcap_opts->cap_pipe_rechdr.hdr.incl_len);   11632                ld->packet_count + 1, pcap_opts->cap_pipe_rechdr.hdr.incl_len);
11627     break;   11633     break;
11628   } else {   11634   } else {
11629     11635  
11630   }   11636   }
11631   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )2;   11637   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )2;
11632   return (0);   11638   return (0);
11633   case 1U:   11639   case 1U:
11634   phdr.ts.tv_sec = (__time_t )pcap_opts->cap_pipe_rechdr.hdr.ts_sec;   11640   phdr.ts.tv_sec = (__time_t )pcap_opts->cap_pipe_rechdr.hdr.ts_sec;
11635   phdr.ts.tv_usec = (__suseconds_t )pcap_opts->cap_pipe_rechdr.hdr.ts_usec;   11641   phdr.ts.tv_usec = (__suseconds_t )pcap_opts->cap_pipe_rechdr.hdr.ts_usec;
11636   phdr.caplen = pcap_opts->cap_pipe_rechdr.hdr.incl_len;   11642   phdr.caplen = pcap_opts->cap_pipe_rechdr.hdr.incl_len;
11637   phdr.len = pcap_opts->cap_pipe_rechdr.hdr.orig_len;   11643   phdr.len = pcap_opts->cap_pipe_rechdr.hdr.orig_len;
11638   if (use_threads) {   11644   if (use_threads) {
11639     capture_loop_queue_packet_cb((u_char *)(& pcap_opts->interface_id),   11645     capture_loop_queue_packet_cb((u_char *)(& pcap_opts->interface_id),
11640                                  (struct pcap_pkthdr  const  *)(& phdr),   11646                                  (struct pcap_pkthdr  const  *)(& phdr),
11641                                  (u_char const   *)data);   11647                                  (u_char const   *)data);
11642   } else {   11648   } else {
11643     capture_loop_write_packet_cb((u_char *)(& pcap_opts->interface_id),   11649     capture_loop_write_packet_cb((u_char *)(& pcap_opts->interface_id),
11644                                  (struct pcap_pkthdr  const  *)(& phdr),   11650                                  (struct pcap_pkthdr  const  *)(& phdr),
11645                                  (u_char const   *)data);   11651                                  (u_char const   *)data);
11646   }   11652   }
11647   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;   11653   pcap_opts->cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;
11648   return (1);   11654   return (1);
11649   case 2U:   11655   case 2U:
11650   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )1;   11656   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )1;
11651   return (-1);   11657   return (-1);
11652   case 3U:   11658   case 3U:
11653   tmp = __errno_location();   11659   tmp = __errno_location();
11654   tmp___0 = strerror(*tmp);   11660   tmp___0 = strerror(*tmp);
11655   g_snprintf(errmsg, (gulong )errmsgl, "Error reading from pipe: %s", tmp___0);   11661   g_snprintf(errmsg, (gulong )errmsgl, "Error reading from pipe: %s", tmp___0);
11656   case 4U:   11662   case 4U:
11657   break;   11663   break;
11658   }   11664   }
11659   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;   11665   pcap_opts->cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )2;
11660   return (-1);   11666   return (-1);
11661 }   11667 }
11662 }   11668 }
11663 static gboolean capture_loop_open_input(capture_options *capture_opts ,   11669 static gboolean capture_loop_open_input(capture_options *capture_opts ,
11664                                         loop_data *ld , char *errmsg ,   11670                                         loop_data *ld , char *errmsg ,
11665                                         size_t errmsg_len ,   11671                                         size_t errmsg_len ,
11666                                         char *secondary_errmsg ,   11672                                         char *secondary_errmsg ,
11667                                         size_t secondary_errmsg_len )   11673                                         size_t secondary_errmsg_len )
11668 {   11674 {
11669   gchar open_err_str[256] ;   11675   gchar open_err_str[256] ;
11670   gchar *sync_msg_str ;   11676   gchar *sync_msg_str ;
11671   interface_options interface_opts ;   11677   interface_options interface_opts ;
11672   pcap_options pcap_opts ;   11678   pcap_options pcap_opts ;
11673   guint i ;   11679   guint i ;
11674   gboolean tmp ;   11680   gboolean tmp ;
11675     11681  
11676   {   11682   {
11677   if (use_threads == 0) {   11683   if (use_threads == 0) {
11678     if ((capture_opts->ifaces)->len > 1U) {   11684     if ((capture_opts->ifaces)->len > 1U) {
11679       g_snprintf(errmsg, (gulong )errmsg_len,   11685       g_snprintf(errmsg, (gulong )errmsg_len,
11680                  "Using threads is required for capturing on mulitple interfaces! Use the -t option.");   11686                  "Using threads is required for capturing on mulitple interfaces! Use the -t option.");
11681       return (0);   11687       return (0);
11682     } else {   11688     } else {
11683     11689  
11684     }   11690     }
11685   } else {   11691   } else {
11686     11692  
11687   }   11693   }
11688   i = (guint )0;   11694   i = (guint )0;
11689   while (i < (capture_opts->ifaces)->len) {   11695   while (i < (capture_opts->ifaces)->len) {
11690     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   11696     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
11691     pcap_opts.pcap_h = (pcap_t *)((void *)0);   11697     pcap_opts.pcap_h = (pcap_t *)((void *)0);
11692     pcap_opts.pcap_fd = -1;   11698     pcap_opts.pcap_fd = -1;
11693     pcap_opts.pcap_err = 0;   11699     pcap_opts.pcap_err = 0;
11694     pcap_opts.interface_id = i;   11700     pcap_opts.interface_id = i;
11695     pcap_opts.tid = (GThread *)((void *)0);   11701     pcap_opts.tid = (GThread *)((void *)0);
11696     pcap_opts.snaplen = 0;   11702     pcap_opts.snaplen = 0;
11697     pcap_opts.linktype = -1;   11703     pcap_opts.linktype = -1;
11698     pcap_opts.from_cap_pipe = 0;   11704     pcap_opts.from_cap_pipe = 0;
11699     memset((void *)(& pcap_opts.cap_pipe_hdr), 0, sizeof(struct pcap_hdr ));   11705     memset((void *)(& pcap_opts.cap_pipe_hdr), 0, sizeof(struct pcap_hdr ));
11700     memset((void *)(& pcap_opts.cap_pipe_rechdr), 0,   11706     memset((void *)(& pcap_opts.cap_pipe_rechdr), 0,
11701            sizeof(struct pcaprec_modified_hdr ));   11707            sizeof(struct pcaprec_modified_hdr ));
11702     pcap_opts.cap_pipe_fd = -1;   11708     pcap_opts.cap_pipe_fd = -1;
11703     pcap_opts.cap_pipe_modified = 0;   11709     pcap_opts.cap_pipe_modified = 0;
11704     pcap_opts.cap_pipe_byte_swapped = 0;   11710     pcap_opts.cap_pipe_byte_swapped = 0;
11705     pcap_opts.cap_pipe_bytes_to_read = 0;   11711     pcap_opts.cap_pipe_bytes_to_read = 0;
11706     pcap_opts.cap_pipe_bytes_read = 0;   11712     pcap_opts.cap_pipe_bytes_read = 0;
11707     pcap_opts.cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;   11713     pcap_opts.cap_pipe_state = (enum __anonenum_cap_pipe_state_168 )0;
11708     pcap_opts.cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;   11714     pcap_opts.cap_pipe_err = (enum __anonenum_cap_pipe_err_169 )0;
11709     g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_input : %s",   11715     g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_input : %s",
11710           interface_opts.name);   11716           interface_opts.name);
11711     pcap_opts.pcap_h = open_capture_device(& interface_opts, & open_err_str);   11717     pcap_opts.pcap_h = open_capture_device(& interface_opts, & open_err_str);
11712     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   11718     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
11713       tmp = set_pcap_linktype(pcap_opts.pcap_h, interface_opts.linktype,   11719       tmp = set_pcap_linktype(pcap_opts.pcap_h, interface_opts.linktype,
11714                               interface_opts.name, errmsg, errmsg_len,   11720                               interface_opts.name, errmsg, errmsg_len,
11715                               secondary_errmsg, secondary_errmsg_len);   11721                               secondary_errmsg, secondary_errmsg_len);
11716       if (tmp) {   11722       if (tmp) {
11717     11723  
11718       } else {   11724       } else {
11719         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);   11725         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);
11720         return (0);   11726         return (0);
11721       }   11727       }
11722       pcap_opts.linktype = get_pcap_linktype(pcap_opts.pcap_h,   11728       pcap_opts.linktype = get_pcap_linktype(pcap_opts.pcap_h,
11723                                              (char const   *)interface_opts.name);   11729                                              (char const   *)interface_opts.name);
11724     } else {   11730     } else {
11725       cap_pipe_open_live(interface_opts.name, & pcap_opts,   11731       cap_pipe_open_live(interface_opts.name, & pcap_opts,
11726                          & pcap_opts.cap_pipe_hdr, errmsg, (int )errmsg_len);   11732                          & pcap_opts.cap_pipe_hdr, errmsg, (int )errmsg_len);
11727       if (pcap_opts.cap_pipe_fd == -1) {   11733       if (pcap_opts.cap_pipe_fd == -1) {
11728         if ((unsigned int )pcap_opts.cap_pipe_err == 3U) {   11734         if ((unsigned int )pcap_opts.cap_pipe_err == 3U) {
11729           get_capture_device_open_failure_messages((char const   *)(open_err_str),   11735           get_capture_device_open_failure_messages((char const   *)(open_err_str),
11730                                                    (char const   *)interface_opts.name,   11736                                                    (char const   *)interface_opts.name,
11731                                                    errmsg, errmsg_len,   11737                                                    errmsg, errmsg_len,
11732                                                    secondary_errmsg,   11738                                                    secondary_errmsg,
11733                                                    secondary_errmsg_len);   11739                                                    secondary_errmsg_len);
11734         } else {   11740         } else {
11735     11741  
11736         }   11742         }
11737         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);   11743         g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);
11738         return (0);   11744         return (0);
11739       } else {   11745       } else {
11740         open_err_str[0] = (gchar )'\000';   11746         open_err_str[0] = (gchar )'\000';
11741       }   11747       }
11742     }   11748     }
11743     if (! pcap_opts.from_cap_pipe) {   11749     if (! pcap_opts.from_cap_pipe) {
11744       pcap_opts.pcap_fd = pcap_get_selectable_fd(pcap_opts.pcap_h);   11750       pcap_opts.pcap_fd = pcap_get_selectable_fd(pcap_opts.pcap_h);
11745     } else {   11751     } else {
11746     11752  
11747     }   11753     }
11748     if ((int )open_err_str[0] != 0) {   11754     if ((int )open_err_str[0] != 0) {
11749       sync_msg_str = g_strdup_printf("%s.", open_err_str);   11755       sync_msg_str = g_strdup_printf("%s.", open_err_str);
11750       report_capture_error((char const   *)sync_msg_str, "");   11756       report_capture_error((char const   *)sync_msg_str, "");
11751       g_free((gpointer )sync_msg_str);   11757       g_free((gpointer )sync_msg_str);
11752     } else {   11758     } else {
11753     11759  
11754     }   11760     }
11755     capture_opts->ifaces = g_array_remove_index(capture_opts->ifaces, i);   11761     capture_opts->ifaces = g_array_remove_index(capture_opts->ifaces, i);
11756     g_array_insert_vals(capture_opts->ifaces, i,   11762     g_array_insert_vals(capture_opts->ifaces, i,
11757                         (gconstpointer )(& interface_opts), (guint )1);   11763                         (gconstpointer )(& interface_opts), (guint )1);
11758     g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);   11764     g_array_append_vals(ld->pcaps, (gconstpointer )(& pcap_opts), (guint )1);
11759     i ++;   11765     i ++;
11760   }   11766   }
11761   return (1);   11767   return (1);
11762 }   11768 }
11763 }   11769 }
11764 static void capture_loop_close_input(loop_data *ld )   11770 static void capture_loop_close_input(loop_data *ld )
11765 {   11771 {
11766   guint i ;   11772   guint i ;
11767   pcap_options pcap_opts ;   11773   pcap_options pcap_opts ;
11768   int _g_boolean_var_ ;   11774   int _g_boolean_var_ ;
11769   long tmp ;   11775   long tmp ;
11770     11776  
11771   {   11777   {
11772   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_input");   11778   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_input");
11773   i = (guint )0;   11779   i = (guint )0;
11774   while (i < (ld->pcaps)->len) {   11780   while (i < (ld->pcaps)->len) {
11775     pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);   11781     pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);
11776     if (pcap_opts.cap_pipe_fd >= 0) {   11782     if (pcap_opts.cap_pipe_fd >= 0) {
11777       while (1) {   11783       while (1) {
11778         if (pcap_opts.from_cap_pipe) {   11784         if (pcap_opts.from_cap_pipe) {
11779           _g_boolean_var_ = 1;   11785           _g_boolean_var_ = 1;
11780         } else {   11786         } else {
11781           _g_boolean_var_ = 0;   11787           _g_boolean_var_ = 0;
11782         }   11788         }
11783         tmp = __builtin_expect((long )_g_boolean_var_, 1L);   11789         tmp = __builtin_expect((long )_g_boolean_var_, 1L);
11784         if (tmp) {   11790         if (tmp) {
11785     11791  
11786         } else {   11792         } else {
11787           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",   11793           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",
11788                                    2409, "capture_loop_close_input",   11794                                    2409, "capture_loop_close_input",
11789                                    "pcap_opts.from_cap_pipe");   11795                                    "pcap_opts.from_cap_pipe");
11790         }   11796         }
11791         break;   11797         break;
11792       }   11798       }
11793       close(pcap_opts.cap_pipe_fd);   11799       close(pcap_opts.cap_pipe_fd);
11794       pcap_opts.cap_pipe_fd = -1;   11800       pcap_opts.cap_pipe_fd = -1;
11795     } else {   11801     } else {
11796     11802  
11797     }   11803     }
11798     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   11804     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
11799       g_log("CaptureChild", (GLogLevelFlags )128,   11805       g_log("CaptureChild", (GLogLevelFlags )128,
11800             "capture_loop_close_input: closing %p", pcap_opts.pcap_h);   11806             "capture_loop_close_input: closing %p", pcap_opts.pcap_h);
11801       pcap_close(pcap_opts.pcap_h);   11807       pcap_close(pcap_opts.pcap_h);
11802       pcap_opts.pcap_h = (pcap_t *)((void *)0);   11808       pcap_opts.pcap_h = (pcap_t *)((void *)0);
11803     } else {   11809     } else {
11804     11810  
11805     }   11811     }
11806     i ++;   11812     i ++;
11807   }   11813   }
11808   ld->go = 0;   11814   ld->go = 0;
11809   return;   11815   return;
11810 }   11816 }
11811 }   11817 }
11812 static initfilter_status_t capture_loop_init_filter(pcap_t *pcap_h ,   11818 static initfilter_status_t capture_loop_init_filter(pcap_t *pcap_h ,
11813                                                     gboolean from_cap_pipe ,   11819                                                     gboolean from_cap_pipe ,
11814                                                     gchar *name ,   11820                                                     gchar *name ,
11815                                                     gchar *cfilter )   11821                                                     gchar *cfilter )
11816 {   11822 {
11817   struct bpf_program fcode ;   11823   struct bpf_program fcode ;
11818   gboolean tmp ;   11824   gboolean tmp ;
11819   int tmp___0 ;   11825   int tmp___0 ;
11820     11826  
11821   {   11827   {
11822   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_filter: %s",   11828   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_filter: %s",
11823         cfilter);   11829         cfilter);
11824   if (cfilter) {   11830   if (cfilter) {
11825     if (! from_cap_pipe) {   11831     if (! from_cap_pipe) {
11826       tmp = compile_capture_filter((char const   *)name, pcap_h, & fcode,   11832       tmp = compile_capture_filter((char const   *)name, pcap_h, & fcode,
11827                                    cfilter);   11833                                    cfilter);
11828       if (tmp) {   11834       if (tmp) {
11829     11835  
11830       } else {   11836       } else {
11831         return ((initfilter_status_t )1);   11837         return ((initfilter_status_t )1);
11832       }   11838       }
11833       tmp___0 = pcap_setfilter(pcap_h, & fcode);   11839       tmp___0 = pcap_setfilter(pcap_h, & fcode);
11834       if (tmp___0 < 0) {   11840       if (tmp___0 < 0) {
11835         pcap_freecode(& fcode);   11841         pcap_freecode(& fcode);
11836         return ((initfilter_status_t )2);   11842         return ((initfilter_status_t )2);
11837       } else {   11843       } else {
11838     11844  
11839       }   11845       }
11840       pcap_freecode(& fcode);   11846       pcap_freecode(& fcode);
11841     } else {   11847     } else {
11842     11848  
11843     }   11849     }
11844   } else {   11850   } else {
11845     11851  
11846   }   11852   }
11847   return ((initfilter_status_t )0);   11853   return ((initfilter_status_t )0);
11848 }   11854 }
11849 }   11855 }
11850 static gboolean capture_loop_init_output(capture_options *capture_opts ,   11856 static gboolean capture_loop_init_output(capture_options *capture_opts ,
11851                                          loop_data *ld , char *errmsg ,   11857                                          loop_data *ld , char *errmsg ,
11852                                          int errmsg_len )   11858                                          int errmsg_len )
11853 {   11859 {
11854   int err ;   11860   int err ;
11855   guint i ;   11861   guint i ;
11856   pcap_options pcap_opts ;   11862   pcap_options pcap_opts ;
11857   interface_options interface_opts ;   11863   interface_options interface_opts ;
11858   gboolean successful ;   11864   gboolean successful ;
11859   char appname[100] ;   11865   char appname[100] ;
11860   char *tmp ;   11866   char *tmp ;
11861     11867  
11862   {   11868   {
11863   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_output");   11869   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_init_output");
11864   if (capture_opts->use_pcapng == 0) {   11870   if (capture_opts->use_pcapng == 0) {
11865     if ((capture_opts->ifaces)->len > 1U) {   11871     if ((capture_opts->ifaces)->len > 1U) {
11866       g_snprintf(errmsg, (gulong )errmsg_len,   11872       g_snprintf(errmsg, (gulong )errmsg_len,
11867                  "Using PCAPNG is required for capturing on mulitple interfaces! Use the -n option.");   11873                  "Using PCAPNG is required for capturing on mulitple interfaces! Use the -n option.");
11868       return (0);   11874       return (0);
11869     } else {   11875     } else {
11870     11876  
11871     }   11877     }
11872   } else {   11878   } else {
11873     11879  
11874   }   11880   }
11875   if (capture_opts->multi_files_on) {   11881   if (capture_opts->multi_files_on) {
11876     ld->pdh = ringbuf_init_libpcap_fdopen(& err);   11882     ld->pdh = ringbuf_init_libpcap_fdopen(& err);
11877   } else {   11883   } else {
11878     ld->pdh = libpcap_fdopen(ld->save_file_fd, & err);   11884     ld->pdh = libpcap_fdopen(ld->save_file_fd, & err);
11879   }   11885   }
11880   if (ld->pdh) {   11886   if (ld->pdh) {
11881     if (capture_opts->use_pcapng) {   11887     if (capture_opts->use_pcapng) {
11882       g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",   11888       g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",
11883                  wireshark_svnversion);   11889                  wireshark_svnversion);
11884       successful = libpcap_write_session_header_block(ld->pdh, appname,   11890       successful = libpcap_write_session_header_block(ld->pdh, appname,
11885                                                       & ld->bytes_written, & err);   11891                                                       & ld->bytes_written, & err);
11886       i = (guint )0;   11892       i = (guint )0;
11887       while (1) {   11893       while (1) {
11888         if (successful) {   11894         if (successful) {
11889           if (i < (capture_opts->ifaces)->len) {   11895           if (i < (capture_opts->ifaces)->len) {
11890     11896  
11891           } else {   11897           } else {
11892             break;   11898             break;
11893           }   11899           }
11894         } else {   11900         } else {
11895           break;   11901           break;
11896         }   11902         }
11897         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   11903         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
11898         pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);   11904         pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + i);
11899         if (pcap_opts.from_cap_pipe) {   11905         if (pcap_opts.from_cap_pipe) {
11900           pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;   11906           pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;
11901         } else {   11907         } else {
11902           pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);   11908           pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);
11903         }   11909         }
11904         successful = libpcap_write_interface_description_block(ld->pdh,   11910         successful = libpcap_write_interface_description_block(ld->pdh,
11905                                                                interface_opts.name,   11911                                                                interface_opts.name,
11906                                                                interface_opts.cfilter,   11912                                                                interface_opts.cfilter,
11907                                                                pcap_opts.linktype,   11913                                                                pcap_opts.linktype,
11908                                                                pcap_opts.snaplen,   11914                                                                pcap_opts.snaplen,
11909                                                                & ld->bytes_written,   11915                                                                & ld->bytes_written,
11910                                                                & err);   11916                                                                & err);
11911         i ++;   11917         i ++;
11912       }   11918       }
11913     } else {   11919     } else {
11914       interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);   11920       interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);
11915       pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + 0);   11921       pcap_opts = *((pcap_options *)((void *)(ld->pcaps)->data) + 0);
11916       if (pcap_opts.from_cap_pipe) {   11922       if (pcap_opts.from_cap_pipe) {
11917         pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;   11923         pcap_opts.snaplen = (int )pcap_opts.cap_pipe_hdr.snaplen;
11918       } else {   11924       } else {
11919         pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);   11925         pcap_opts.snaplen = pcap_snapshot(pcap_opts.pcap_h);
11920       }   11926       }
11921       successful = libpcap_write_file_header(ld->pdh, pcap_opts.linktype,   11927       successful = libpcap_write_file_header(ld->pdh, pcap_opts.linktype,
11922                                              pcap_opts.snaplen,   11928                                              pcap_opts.snaplen,
11923                                              & ld->bytes_written, & err);   11929                                              & ld->bytes_written, & err);
11924     }   11930     }
11925     if (! successful) {   11931     if (! successful) {
11926       fclose(ld->pdh);   11932       fclose(ld->pdh);
11927       ld->pdh = (FILE *)((void *)0);   11933       ld->pdh = (FILE *)((void *)0);
11928     } else {   11934     } else {
11929     11935  
11930     }   11936     }
11931   } else {   11937   } else {
11932     11938  
11933   }   11939   }
11934   if ((unsigned int )ld->pdh == (unsigned int )((void *)0)) {   11940   if ((unsigned int )ld->pdh == (unsigned int )((void *)0)) {
11935     switch (err) {   11941     switch (err) {
11936     default:   11942     default:
11937     if (err < 0) {   11943     if (err < 0) {
11938       g_snprintf(errmsg, (gulong )errmsg_len,   11944       g_snprintf(errmsg, (gulong )errmsg_len,
11939                  "The file to which the capture would be saved (\"%s\") could not be opened: Error %d.",   11945                  "The file to which the capture would be saved (\"%s\") could not be opened: Error %d.",
11940                  capture_opts->save_file, err);   11946                  capture_opts->save_file, err);
11941     } else {   11947     } else {
11942       tmp = strerror(err);   11948       tmp = strerror(err);
11943       g_snprintf(errmsg, (gulong )errmsg_len,   11949       g_snprintf(errmsg, (gulong )errmsg_len,
11944                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",   11950                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",
11945                  capture_opts->save_file, tmp);   11951                  capture_opts->save_file, tmp);
11946     }   11952     }
11947     break;   11953     break;
11948     }   11954     }
11949     return (0);   11955     return (0);
11950   } else {   11956   } else {
11951     11957  
11952   }   11958   }
11953   return (1);   11959   return (1);
11954 }   11960 }
11955 }   11961 }
11956 static gboolean capture_loop_close_output(capture_options *capture_opts ,   11962 static gboolean capture_loop_close_output(capture_options *capture_opts ,
11957                                           loop_data *ld , int *err_close )   11963                                           loop_data *ld , int *err_close )
11958 {   11964 {
11959   unsigned int i ;   11965   unsigned int i ;
11960   pcap_options pcap_opts ;   11966   pcap_options pcap_opts ;
11961   gboolean tmp ;   11967   gboolean tmp ;
11962   gboolean tmp___0 ;   11968   gboolean tmp___0 ;
11963     11969  
11964   {   11970   {
11965   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_output");   11971   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_close_output");
11966   if (capture_opts->multi_files_on) {   11972   if (capture_opts->multi_files_on) {
11967     tmp = ringbuf_libpcap_dump_close(& capture_opts->save_file, err_close);   11973     tmp = ringbuf_libpcap_dump_close(& capture_opts->save_file, err_close);
11968     return (tmp);   11974     return (tmp);
11969   } else {   11975   } else {
11970     if (capture_opts->use_pcapng) {   11976     if (capture_opts->use_pcapng) {
11971       i = 0U;   11977       i = 0U;
11972       while (i < (global_ld.pcaps)->len) {   11978       while (i < (global_ld.pcaps)->len) {
11973         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   11979         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
11974         if (! pcap_opts.from_cap_pipe) {   11980         if (! pcap_opts.from_cap_pipe) {
11975           libpcap_write_interface_statistics_block(ld->pdh, i, pcap_opts.pcap_h,   11981           libpcap_write_interface_statistics_block(ld->pdh, i, pcap_opts.pcap_h,
11976                                                    & ld->bytes_written,   11982                                                    & ld->bytes_written,
11977                                                    err_close);   11983                                                    err_close);
11978         } else {   11984         } else {
11979     11985  
11980         }   11986         }
11981         i ++;   11987         i ++;
11982       }   11988       }
11983     } else {   11989     } else {
11984     11990  
11985     }   11991     }
11986     tmp___0 = libpcap_dump_close(ld->pdh, err_close);   11992     tmp___0 = libpcap_dump_close(ld->pdh, err_close);
11987     return (tmp___0);   11993     return (tmp___0);
11988   }   11994   }
11989 }   11995 }
11990 }   11996 }
11991 static int capture_loop_dispatch(loop_data *ld , char *errmsg , int errmsg_len ,   11997 static int capture_loop_dispatch(loop_data *ld , char *errmsg , int errmsg_len ,
11992                                  pcap_options *pcap_opts )   11998                                  pcap_options *pcap_opts )
11993 {   11999 {
11994   int inpkts ;   12000   int inpkts ;
11995   gint packet_count_before ;   12001   gint packet_count_before ;
11996   guchar pcap_data[65535] ;   12002   guchar pcap_data[65535] ;
11997   int sel_ret ;   12003   int sel_ret ;
11998   int *tmp ;   12004   int *tmp ;
11999   char *tmp___0 ;   12005   char *tmp___0 ;
12000   int *tmp___1 ;   12006   int *tmp___1 ;
12001   int *tmp___2 ;   12007   int *tmp___2 ;
12002   char *tmp___3 ;   12008   char *tmp___3 ;
12003   int *tmp___4 ;   12009   int *tmp___4 ;
12004     12010  
12005   {   12011   {
12006   packet_count_before = ld->packet_count;   12012   packet_count_before = ld->packet_count;
12007   if (pcap_opts->from_cap_pipe) {   12013   if (pcap_opts->from_cap_pipe) {
12008     sel_ret = cap_pipe_select(pcap_opts->cap_pipe_fd);   12014     sel_ret = cap_pipe_select(pcap_opts->cap_pipe_fd);
12009     if (sel_ret <= 0) {   12015     if (sel_ret <= 0) {
12010       if (sel_ret < 0) {   12016       if (sel_ret < 0) {
12011         tmp___1 = __errno_location();   12017         tmp___1 = __errno_location();
12012         if (*tmp___1 != 4) {   12018         if (*tmp___1 != 4) {
12013           tmp = __errno_location();   12019           tmp = __errno_location();
12014           tmp___0 = strerror(*tmp);   12020           tmp___0 = strerror(*tmp);
12015           g_snprintf(errmsg, (gulong )errmsg_len,   12021           g_snprintf(errmsg, (gulong )errmsg_len,
12016                      "Unexpected error from select: %s", tmp___0);   12022                      "Unexpected error from select: %s", tmp___0);
12017           report_capture_error((char const   *)errmsg, please_report);   12023           report_capture_error((char const   *)errmsg, please_report);
12018           ld->go = 0;   12024           ld->go = 0;
12019         } else {   12025         } else {
12020     12026  
12021         }   12027         }
12022       } else {   12028       } else {
12023     12029  
12024       }   12030       }
12025     } else {   12031     } else {
12026       inpkts = cap_pipe_dispatch(ld, pcap_opts, pcap_data, errmsg, errmsg_len);   12032       inpkts = cap_pipe_dispatch(ld, pcap_opts, pcap_data, errmsg, errmsg_len);
12027       if (inpkts < 0) {   12033       if (inpkts < 0) {
12028         ld->go = 0;   12034         ld->go = 0;
12029       } else {   12035       } else {
12030     12036  
12031       }   12037       }
12032     }   12038     }
12033   } else   12039   } else
12034   if (pcap_opts->pcap_fd != -1) {   12040   if (pcap_opts->pcap_fd != -1) {
12035     sel_ret = cap_pipe_select(pcap_opts->pcap_fd);   12041     sel_ret = cap_pipe_select(pcap_opts->pcap_fd);
12036     if (sel_ret > 0) {   12042     if (sel_ret > 0) {
12037       if (use_threads) {   12043       if (use_threads) {
12038         inpkts = pcap_dispatch(pcap_opts->pcap_h, 1,   12044         inpkts = pcap_dispatch(pcap_opts->pcap_h, 1,
12039                                & capture_loop_queue_packet_cb,   12045                                & capture_loop_queue_packet_cb,
12040                                (u_char *)(& pcap_opts->interface_id));   12046                                (u_char *)(& pcap_opts->interface_id));
12041       } else {   12047       } else {
12042         inpkts = pcap_dispatch(pcap_opts->pcap_h, 1,   12048         inpkts = pcap_dispatch(pcap_opts->pcap_h, 1,
12043                                & capture_loop_write_packet_cb,   12049                                & capture_loop_write_packet_cb,
12044                                (u_char *)(& pcap_opts->interface_id));   12050                                (u_char *)(& pcap_opts->interface_id));
12045       }   12051       }
12046       if (inpkts < 0) {   12052       if (inpkts < 0) {
12047         if (inpkts == -1) {   12053         if (inpkts == -1) {
12048           pcap_opts->pcap_err = 1;   12054           pcap_opts->pcap_err = 1;
12049         } else {   12055         } else {
12050     12056  
12051         }   12057         }
12052         ld->go = 0;   12058         ld->go = 0;
12053       } else {   12059       } else {
12054     12060  
12055       }   12061       }
12056     } else   12062     } else
12057     if (sel_ret < 0) {   12063     if (sel_ret < 0) {
12058       tmp___4 = __errno_location();   12064       tmp___4 = __errno_location();
12059       if (*tmp___4 != 4) {   12065       if (*tmp___4 != 4) {
12060         tmp___2 = __errno_location();   12066         tmp___2 = __errno_location();
12061         tmp___3 = strerror(*tmp___2);   12067         tmp___3 = strerror(*tmp___2);
12062         g_snprintf(errmsg, (gulong )errmsg_len,   12068         g_snprintf(errmsg, (gulong )errmsg_len,
12063                    "Unexpected error from select: %s", tmp___3);   12069                    "Unexpected error from select: %s", tmp___3);
12064         report_capture_error((char const   *)errmsg, please_report);   12070         report_capture_error((char const   *)errmsg, please_report);
12065         ld->go = 0;   12071         ld->go = 0;
12066       } else {   12072       } else {
12067     12073  
12068       }   12074       }
12069     } else {   12075     } else {
12070     12076  
12071     }   12077     }
12072   } else {   12078   } else {
12073     if (use_threads) {   12079     if (use_threads) {
12074       inpkts = pcap_dispatch(pcap_opts->pcap_h, -1,   12080       inpkts = pcap_dispatch(pcap_opts->pcap_h, -1,
12075                              & capture_loop_queue_packet_cb,   12081                              & capture_loop_queue_packet_cb,
12076                              (u_char *)(& pcap_opts->interface_id));   12082                              (u_char *)(& pcap_opts->interface_id));
12077     } else {   12083     } else {
12078       inpkts = pcap_dispatch(pcap_opts->pcap_h, -1,   12084       inpkts = pcap_dispatch(pcap_opts->pcap_h, -1,
12079                              & capture_loop_write_packet_cb,   12085                              & capture_loop_write_packet_cb,
12080                              (u_char *)(& pcap_opts->interface_id));   12086                              (u_char *)(& pcap_opts->interface_id));
12081     }   12087     }
12082     if (inpkts < 0) {   12088     if (inpkts < 0) {
12083       if (inpkts == -1) {   12089       if (inpkts == -1) {
12084         pcap_opts->pcap_err = 1;   12090         pcap_opts->pcap_err = 1;
12085       } else {   12091       } else {
12086     12092  
12087       }   12093       }
12088       ld->go = 0;   12094       ld->go = 0;
12089     } else {   12095     } else {
12090     12096  
12091     }   12097     }
12092   }   12098   }
12093   return (ld->packet_count - packet_count_before);   12099   return (ld->packet_count - packet_count_before);
12094 }   12100 }
12095 }   12101 }
12096 static gboolean capture_loop_open_output(capture_options *capture_opts ,   12102 static gboolean capture_loop_open_output(capture_options *capture_opts ,
12097                                          int *save_file_fd , char *errmsg ,   12103                                          int *save_file_fd , char *errmsg ,
12098                                          int errmsg_len )   12104                                          int errmsg_len )
12099 {   12105 {
12100   char *tmpname ;   12106   char *tmpname ;
12101   gchar *capfile_name ;   12107   gchar *capfile_name ;
12102   gchar *prefix ;   12108   gchar *prefix ;
12103   gboolean is_tempfile ;   12109   gboolean is_tempfile ;
12104   char const   *tmp ;   12110   char const   *tmp ;
12105   size_t __s1_len ;   12111   size_t __s1_len ;
12106   size_t __s2_len ;   12112   size_t __s2_len ;
12107   int tmp___0 ;   12113   int tmp___0 ;
12108   int tmp___1 ;   12114   int tmp___1 ;
12109   int tmp___2 ;   12115   int tmp___2 ;
12110   unsigned char const   *__s2 ;   12116   unsigned char const   *__s2 ;
12111   register int __result ;   12117   register int __result ;
12112   int tmp___3 ;   12118   int tmp___3 ;
12113   unsigned char const   *__s1 ;   12119   unsigned char const   *__s1 ;
12114   register int __result___0 ;   12120   register int __result___0 ;
12115   int tmp___4 ;   12121   int tmp___4 ;
12116   int tmp___5 ;   12122   int tmp___5 ;
12117   int tmp___6 ;   12123   int tmp___6 ;
12118   guint32 tmp___7 ;   12124   guint32 tmp___7 ;
12119   gchar const   *tmp___8 ;   12125   gchar const   *tmp___8 ;
12120   int tmp___9 ;   12126   int tmp___9 ;
12121   gchar const   *tmp___10 ;   12127   gchar const   *tmp___10 ;
12122   int *tmp___11 ;   12128   int *tmp___11 ;
12123   char *tmp___12 ;   12129   char *tmp___12 ;
12124   int *tmp___13 ;   12130   int *tmp___13 ;
12125   char *tmp___14 ;   12131   char *tmp___14 ;
12126     12132  
12127   {   12133   {
12128   if (capture_opts->save_file) {   12134   if (capture_opts->save_file) {
12129     tmp = (char const   *)capture_opts->save_file;   12135     tmp = (char const   *)capture_opts->save_file;
12130   } else {   12136   } else {
12131     tmp = "(not specified)";   12137     tmp = "(not specified)";
12132   }   12138   }
12133   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_output: %s",   12139   g_log("CaptureChild", (GLogLevelFlags )128, "capture_loop_open_output: %s",
12134         tmp);   12140         tmp);
12135   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {   12141   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {
12136     capfile_name = g_strdup((gchar const   *)capture_opts->save_file);   12142     capfile_name = g_strdup((gchar const   *)capture_opts->save_file);
12137     if (capture_opts->output_to_pipe == 1) {   12143     if (capture_opts->output_to_pipe == 1) {
12138       if (capture_opts->multi_files_on) {   12144       if (capture_opts->multi_files_on) {
12139         g_snprintf(errmsg, (gulong )errmsg_len,   12145         g_snprintf(errmsg, (gulong )errmsg_len,
12140                    "Ring buffer requested, but capture is being written to standard output or to a named pipe.");   12146                    "Ring buffer requested, but capture is being written to standard output or to a named pipe.");
12141         g_free((gpointer )capfile_name);   12147         g_free((gpointer )capfile_name);
12142         return (0);   12148         return (0);
12143       } else {   12149       } else {
12144     12150  
12145       }   12151       }
12146       if (0) {   12152       if (0) {
12147         __s1_len = strlen((char const   *)capfile_name);   12153         __s1_len = strlen((char const   *)capfile_name);
12148         __s2_len = strlen("-");   12154         __s2_len = strlen("-");
12149         if (! ((size_t )((void const   *)(capfile_name + 1)) - (size_t )((void const   *)capfile_name) == 1U)) {   12155         if (! ((size_t )((void const   *)(capfile_name + 1)) - (size_t )((void const   *)capfile_name) == 1U)) {
12150           goto _L___0;   12156           goto _L___0;
12151         } else   12157         } else
12152         if (__s1_len >= 4U) {   12158         if (__s1_len >= 4U) {
12153           _L___0: /* CIL Label */   12159           _L___0: /* CIL Label */
12154           if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {   12160           if (! ((size_t )((void const   *)("-" + 1)) - (size_t )((void const   *)"-") == 1U)) {
12155             tmp___6 = 1;   12161             tmp___6 = 1;
12156           } else   12162           } else
12157           if (__s2_len >= 4U) {   12163           if (__s2_len >= 4U) {
12158             tmp___6 = 1;   12164             tmp___6 = 1;
12159           } else {   12165           } else {
12160             tmp___6 = 0;   12166             tmp___6 = 0;
12161           }   12167           }
12162         } else {   12168         } else {
12163           tmp___6 = 0;   12169           tmp___6 = 0;
12164         }   12170         }
12165         if (tmp___6) {   12171         if (tmp___6) {
12166           tmp___1 = __builtin_strcmp((char const   *)capfile_name, "-");   12172           tmp___1 = __builtin_strcmp((char const   *)capfile_name, "-");
12167           tmp___5 = tmp___1;   12173           tmp___5 = tmp___1;
12168         } else {   12174         } else {
12169           tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");   12175           tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");
12170           tmp___5 = tmp___4;   12176           tmp___5 = tmp___4;
12171         }   12177         }
12172       } else {   12178       } else {
12173         tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");   12179         tmp___4 = __builtin_strcmp((char const   *)capfile_name, "-");
12174         tmp___5 = tmp___4;   12180         tmp___5 = tmp___4;
12175       }   12181       }
12176       if (tmp___5 == 0) {   12182       if (tmp___5 == 0) {
12177         *save_file_fd = 1;   12183         *save_file_fd = 1;
12178       } else {   12184       } else {
12179     12185  
12180       }   12186       }
12181     } else   12187     } else
12182     if (capture_opts->multi_files_on) {   12188     if (capture_opts->multi_files_on) {
12183       if (capture_opts->has_ring_num_files) {   12189       if (capture_opts->has_ring_num_files) {
12184         tmp___7 = capture_opts->ring_num_files;   12190         tmp___7 = capture_opts->ring_num_files;
12185       } else {   12191       } else {
12186         tmp___7 = (guint32 )0;   12192         tmp___7 = (guint32 )0;
12187       }   12193       }
12188       *save_file_fd = ringbuf_init((char const   *)capfile_name, tmp___7,   12194       *save_file_fd = ringbuf_init((char const   *)capfile_name, tmp___7,
12189                                    capture_opts->group_read_access);   12195                                    capture_opts->group_read_access);
12190       if (*save_file_fd != -1) {   12196       if (*save_file_fd != -1) {
12191         g_free((gpointer )capfile_name);   12197         g_free((gpointer )capfile_name);
12192         tmp___8 = ringbuf_current_filename();   12198         tmp___8 = ringbuf_current_filename();
12193         capfile_name = g_strdup(tmp___8);   12199         capfile_name = g_strdup(tmp___8);
12194       } else {   12200       } else {
12195     12201  
12196       }   12202       }
12197     } else {   12203     } else {
12198       if (capture_opts->group_read_access) {   12204       if (capture_opts->group_read_access) {
12199         tmp___9 = 416;   12205         tmp___9 = 416;
12200       } else {   12206       } else {
12201         tmp___9 = 384;   12207         tmp___9 = 384;
12202       }   12208       }
12203       *save_file_fd = open((char const   *)capfile_name, 578, tmp___9);   12209       *save_file_fd = open((char const   *)capfile_name, 578, tmp___9);
12204     }   12210     }
12205     is_tempfile = 0;   12211     is_tempfile = 0;
12206   } else {   12212   } else {
12207     tmp___10 = g_basename((gchar const   *)((interface_options *)((void *)(global_capture_opts.ifaces)->data) + ((global_capture_opts.ifaces)->len - 1U))->name);   12213     tmp___10 = g_basename((gchar const   *)((interface_options *)((void *)(global_capture_opts.ifaces)->data) + ((global_capture_opts.ifaces)->len - 1U))->name);
12208     prefix = g_strconcat("wireshark_", tmp___10, (void *)0);   12214     prefix = g_strconcat("wireshark_", tmp___10, (void *)0);
12209     *save_file_fd = create_tempfile(& tmpname, (char const   *)prefix);   12215     *save_file_fd = create_tempfile(& tmpname, (char const   *)prefix);
12210     g_free((gpointer )prefix);   12216     g_free((gpointer )prefix);
12211     capfile_name = g_strdup((gchar const   *)tmpname);   12217     capfile_name = g_strdup((gchar const   *)tmpname);
12212     is_tempfile = 1;   12218     is_tempfile = 1;
12213   }   12219   }
12214   if (*save_file_fd == -1) {   12220   if (*save_file_fd == -1) {
12215     if (is_tempfile) {   12221     if (is_tempfile) {
12216       tmp___11 = __errno_location();   12222       tmp___11 = __errno_location();
12217       tmp___12 = strerror(*tmp___11);   12223       tmp___12 = strerror(*tmp___11);
12218       g_snprintf(errmsg, (gulong )errmsg_len,   12224       g_snprintf(errmsg, (gulong )errmsg_len,
12219                  "The temporary file to which the capture would be saved (\"%s\") could not be opened: %s.",   12225                  "The temporary file to which the capture would be saved (\"%s\") could not be opened: %s.",
12220                  capfile_name, tmp___12);   12226                  capfile_name, tmp___12);
12221     } else {   12227     } else {
12222       if (capture_opts->multi_files_on) {   12228       if (capture_opts->multi_files_on) {
12223         ringbuf_error_cleanup();   12229         ringbuf_error_cleanup();
12224       } else {   12230       } else {
12225     12231  
12226       }   12232       }
12227       tmp___13 = __errno_location();   12233       tmp___13 = __errno_location();
12228       tmp___14 = strerror(*tmp___13);   12234       tmp___14 = strerror(*tmp___13);
12229       g_snprintf(errmsg, (gulong )errmsg_len,   12235       g_snprintf(errmsg, (gulong )errmsg_len,
12230                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",   12236                  "The file to which the capture would be saved (\"%s\") could not be opened: %s.",
12231                  capfile_name, tmp___14);   12237                  capfile_name, tmp___14);
12232     }   12238     }
12233     g_free((gpointer )capfile_name);   12239     g_free((gpointer )capfile_name);
12234     return (0);   12240     return (0);
12235   } else {   12241   } else {
12236     12242  
12237   }   12243   }
12238   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {   12244   if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {
12239     g_free((gpointer )capture_opts->save_file);   12245     g_free((gpointer )capture_opts->save_file);
12240   } else {   12246   } else {
12241     12247  
12242   }   12248   }
12243   capture_opts->save_file = capfile_name;   12249   capture_opts->save_file = capfile_name;
12244   return (1);   12250   return (1);
12245 }   12251 }
12246 }   12252 }
12247 static gboolean do_file_switch_or_stop(capture_options *capture_opts ,   12253 static gboolean do_file_switch_or_stop(capture_options *capture_opts ,
12248                                        condition *cnd_autostop_files ,   12254                                        condition *cnd_autostop_files ,
12249                                        condition *cnd_autostop_size ,   12255                                        condition *cnd_autostop_size ,
12250                                        condition *cnd_file_duration )   12256                                        condition *cnd_file_duration )
12251 {   12257 {
12252   guint i ;   12258   guint i ;
12253   pcap_options pcap_opts ;   12259   pcap_options pcap_opts ;
12254   interface_options interface_opts ;   12260   interface_options interface_opts ;
12255   gboolean successful ;   12261   gboolean successful ;
12256   gboolean tmp ;   12262   gboolean tmp ;
12257   char appname[100] ;   12263   char appname[100] ;
12258   gboolean tmp___0 ;   12264   gboolean tmp___0 ;
12259     12265  
12260   {   12266   {
12261   if (capture_opts->multi_files_on) {   12267   if (capture_opts->multi_files_on) {
12262     if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {   12268     if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {
12263       (global_ld.autostop_files) ++;   12269       (global_ld.autostop_files) ++;
12264       tmp = cnd_eval(cnd_autostop_files, global_ld.autostop_files);   12270       tmp = cnd_eval(cnd_autostop_files, global_ld.autostop_files);
12265       if (tmp) {   12271       if (tmp) {
12266         global_ld.go = 0;   12272         global_ld.go = 0;
12267         return (0);   12273         return (0);
12268       } else {   12274       } else {
12269     12275  
12270       }   12276       }
12271     } else {   12277     } else {
12272     12278  
12273     }   12279     }
12274     tmp___0 = ringbuf_switch_file(& global_ld.pdh, & capture_opts->save_file,   12280     tmp___0 = ringbuf_switch_file(& global_ld.pdh, & capture_opts->save_file,
12275                                   & global_ld.save_file_fd, & global_ld.err);   12281                                   & global_ld.save_file_fd, & global_ld.err);
12276     if (tmp___0) {   12282     if (tmp___0) {
12277       global_ld.bytes_written = 0L;   12283       global_ld.bytes_written = 0L;
12278       if (capture_opts->use_pcapng) {   12284       if (capture_opts->use_pcapng) {
12279         g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",   12285         g_snprintf(appname, (gulong )sizeof(appname), "Dumpcap 1.7.0%s",
12280                    wireshark_svnversion);   12286                    wireshark_svnversion);
12281         successful = libpcap_write_session_header_block(global_ld.pdh, appname,   12287         successful = libpcap_write_session_header_block(global_ld.pdh, appname,
12282                                                         & global_ld.bytes_written,   12288                                                         & global_ld.bytes_written,
12283                                                         & global_ld.err);   12289                                                         & global_ld.err);
12284         i = (guint )0;   12290         i = (guint )0;
12285         while (1) {   12291         while (1) {
12286           if (successful) {   12292           if (successful) {
12287             if (i < (capture_opts->ifaces)->len) {   12293             if (i < (capture_opts->ifaces)->len) {
12288     12294  
12289             } else {   12295             } else {
12290               break;   12296               break;
12291             }   12297             }
12292           } else {   12298           } else {
12293             break;   12299             break;
12294           }   12300           }
12295           interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   12301           interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
12296           pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12302           pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12297           successful = libpcap_write_interface_description_block(global_ld.pdh,   12303           successful = libpcap_write_interface_description_block(global_ld.pdh,
12298                                                                  interface_opts.name,   12304                                                                  interface_opts.name,
12299                                                                  interface_opts.cfilter,   12305                                                                  interface_opts.cfilter,
12300                                                                  pcap_opts.linktype,   12306                                                                  pcap_opts.linktype,
12301                                                                  pcap_opts.snaplen,   12307                                                                  pcap_opts.snaplen,
12302                                                                  & global_ld.bytes_written,   12308                                                                  & global_ld.bytes_written,
12303                                                                  & global_ld.err);   12309                                                                  & global_ld.err);
12304           i ++;   12310           i ++;
12305         }   12311         }
12306       } else {   12312       } else {
12307         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);   12313         interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + 0);
12308         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + 0);   12314         pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + 0);
12309         successful = libpcap_write_file_header(global_ld.pdh,   12315         successful = libpcap_write_file_header(global_ld.pdh,
12310                                                pcap_opts.linktype,   12316                                                pcap_opts.linktype,
12311                                                pcap_opts.snaplen,   12317                                                pcap_opts.snaplen,
12312                                                & global_ld.bytes_written,   12318                                                & global_ld.bytes_written,
12313                                                & global_ld.err);   12319                                                & global_ld.err);
12314       }   12320       }
12315       if (! successful) {   12321       if (! successful) {
12316         fclose(global_ld.pdh);   12322         fclose(global_ld.pdh);
12317         global_ld.pdh = (FILE *)((void *)0);   12323         global_ld.pdh = (FILE *)((void *)0);
12318         global_ld.go = 0;   12324         global_ld.go = 0;
12319         return (0);   12325         return (0);
12320       } else {   12326       } else {
12321     12327  
12322       }   12328       }
12323       if (cnd_autostop_size) {   12329       if (cnd_autostop_size) {
12324         cnd_reset(cnd_autostop_size);   12330         cnd_reset(cnd_autostop_size);
12325       } else {   12331       } else {
12326     12332  
12327       }   12333       }
12328       if (cnd_file_duration) {   12334       if (cnd_file_duration) {
12329         cnd_reset(cnd_file_duration);   12335         cnd_reset(cnd_file_duration);
12330       } else {   12336       } else {
12331     12337  
12332       }   12338       }
12333       libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12339       libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12334       if (! quiet) {   12340       if (! quiet) {
12335         report_packet_count(global_ld.inpkts_to_sync_pipe);   12341         report_packet_count(global_ld.inpkts_to_sync_pipe);
12336       } else {   12342       } else {
12337     12343  
12338       }   12344       }
12339       global_ld.inpkts_to_sync_pipe = 0;   12345       global_ld.inpkts_to_sync_pipe = 0;
12340       report_new_capture_file((char const   *)capture_opts->save_file);   12346       report_new_capture_file((char const   *)capture_opts->save_file);
12341     } else {   12347     } else {
12342       global_ld.go = 0;   12348       global_ld.go = 0;
12343       return (0);   12349       return (0);
12344     }   12350     }
12345   } else {   12351   } else {
12346     global_ld.go = 0;   12352     global_ld.go = 0;
12347     return (0);   12353     return (0);
12348   }   12354   }
12349   return (1);   12355   return (1);
12350 }   12356 }
12351 }   12357 }
12352 static void *pcap_read_handler(void *arg )   12358 static void *pcap_read_handler(void *arg )
12353 {   12359 {
12354   pcap_options pcap_opts ;   12360   pcap_options pcap_opts ;
12355   guint interface_id ;   12361   guint interface_id ;
12356   char errmsg[4097] ;   12362   char errmsg[4097] ;
12357     12363  
12358   {   12364   {
12359   interface_id = *((guint *)arg);   12365   interface_id = *((guint *)arg);
12360   g_free(arg);   12366   g_free(arg);
12361   pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + interface_id);   12367   pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + interface_id);
12362   g_log("CaptureChild", (GLogLevelFlags )64, "Started thread for interface %d.",   12368   g_log("CaptureChild", (GLogLevelFlags )64, "Started thread for interface %d.",
12363         interface_id);   12369         interface_id);
12364   while (global_ld.go) {   12370   while (global_ld.go) {
12365     capture_loop_dispatch(& global_ld, errmsg, (int )sizeof(errmsg), & pcap_opts);   12371     capture_loop_dispatch(& global_ld, errmsg, (int )sizeof(errmsg), & pcap_opts);
12366   }   12372   }
12367   g_log("CaptureChild", (GLogLevelFlags )64, "Stopped thread for interface %d.",   12373   g_log("CaptureChild", (GLogLevelFlags )64, "Stopped thread for interface %d.",
12368         interface_id);   12374         interface_id);
12369   g_thread_exit((void *)0);   12375   g_thread_exit((void *)0);
12370   return ((void *)0);   12376   return ((void *)0);
12371 }   12377 }
12372 }   12378 }
12373 static gboolean capture_loop_start(capture_options *capture_opts ,   12379 static gboolean capture_loop_start(capture_options *capture_opts ,
12374                                    gboolean *stats_known ,   12380                                    gboolean *stats_known ,
12375                                    struct pcap_stat *stats )   12381                                    struct pcap_stat *stats )
12376 {   12382 {
12377   struct timeval upd_time ;   12383   struct timeval upd_time ;
12378   struct timeval cur_time ;   12384   struct timeval cur_time ;
12379   int err_close ;   12385   int err_close ;
12380   int inpkts ;   12386   int inpkts ;
12381   condition *cnd_file_duration ;   12387   condition *cnd_file_duration ;
12382   condition *cnd_autostop_files ;   12388   condition *cnd_autostop_files ;
12383   condition *cnd_autostop_size ;   12389   condition *cnd_autostop_size ;
12384   condition *cnd_autostop_duration ;   12390   condition *cnd_autostop_duration ;
12385   gboolean write_ok ;   12391   gboolean write_ok ;
12386   gboolean close_ok ;   12392   gboolean close_ok ;
12387   gboolean cfilter_error ;   12393   gboolean cfilter_error ;
12388   char errmsg[4097] ;   12394   char errmsg[4097] ;
12389   char secondary_errmsg[4097] ;   12395   char secondary_errmsg[4097] ;
12390   pcap_options pcap_opts ;   12396   pcap_options pcap_opts ;
12391   interface_options interface_opts ;   12397   interface_options interface_opts ;
12392   guint i ;   12398   guint i ;
12393   gboolean tmp ;   12399   gboolean tmp ;
12394   initfilter_status_t tmp___0 ;   12400   initfilter_status_t tmp___0 ;
12395   char *tmp___1 ;   12401   char *tmp___1 ;
12396   char *tmp___2 ;   12402   char *tmp___2 ;
12397   gboolean tmp___3 ;   12403   gboolean tmp___3 ;
12398   gboolean tmp___4 ;   12404   gboolean tmp___4 ;
12399   gint *interface_id ;   12405   gint *interface_id ;
12400   gpointer tmp___5 ;   12406   gpointer tmp___5 ;
12401   GTimeVal write_thread_time ;   12407   GTimeVal write_thread_time ;
12402   pcap_queue_element *queue_element ;   12408   pcap_queue_element *queue_element ;
12403   gpointer tmp___6 ;   12409   gpointer tmp___6 ;
12404   gboolean tmp___7 ;   12410   gboolean tmp___7 ;
12405   gboolean tmp___8 ;   12411   gboolean tmp___8 ;
12406   gboolean tmp___9 ;   12412   gboolean tmp___9 ;
12407   gboolean tmp___10 ;   12413   gboolean tmp___10 ;
12408   gboolean tmp___11 ;   12414   gboolean tmp___11 ;
12409   pcap_queue_element *queue_element___0 ;   12415   pcap_queue_element *queue_element___0 ;
12410   gpointer tmp___12 ;   12416   gpointer tmp___12 ;
12411   char *cap_err_str ;   12417   char *cap_err_str ;
12412   size_t __s1_len ;   12418   size_t __s1_len ;
12413   size_t __s2_len ;   12419   size_t __s2_len ;
12414   int tmp___13 ;   12420   int tmp___13 ;
12415   int tmp___14 ;   12421   int tmp___14 ;
12416   int tmp___15 ;   12422   int tmp___15 ;
12417   unsigned char const   *__s2 ;   12423   unsigned char const   *__s2 ;
12418   register int __result ;   12424   register int __result ;
12419   int tmp___16 ;   12425   int tmp___16 ;
12420   unsigned char const   *__s1 ;   12426   unsigned char const   *__s1 ;
12421   register int __result___0 ;   12427   register int __result___0 ;
12422   int tmp___17 ;   12428   int tmp___17 ;
12423   int tmp___18 ;   12429   int tmp___18 ;
12424   int tmp___19 ;   12430   int tmp___19 ;
12425   size_t __s1_len___0 ;   12431   size_t __s1_len___0 ;
12426   size_t __s2_len___0 ;   12432   size_t __s2_len___0 ;
12427   int tmp___20 ;   12433   int tmp___20 ;
12428   int tmp___21 ;   12434   int tmp___21 ;
12429   int tmp___22 ;   12435   int tmp___22 ;
12430   unsigned char const   *__s2___0 ;   12436   unsigned char const   *__s2___0 ;
12431   register int __result___1 ;   12437   register int __result___1 ;
12432   int tmp___23 ;   12438   int tmp___23 ;
12433   unsigned char const   *__s1___0 ;   12439   unsigned char const   *__s1___0 ;
12434   register int __result___2 ;   12440   register int __result___2 ;
12435   int tmp___24 ;   12441   int tmp___24 ;
12436   int tmp___25 ;   12442   int tmp___25 ;
12437   int tmp___26 ;   12443   int tmp___26 ;
12438   size_t __s1_len___1 ;   12444   size_t __s1_len___1 ;
12439   size_t __s2_len___1 ;   12445   size_t __s2_len___1 ;
12440   int tmp___27 ;   12446   int tmp___27 ;
12441   int tmp___28 ;   12447   int tmp___28 ;
12442   int tmp___29 ;   12448   int tmp___29 ;
12443   unsigned char const   *__s2___1 ;   12449   unsigned char const   *__s2___1 ;
12444   register int __result___3 ;   12450   register int __result___3 ;
12445   int tmp___30 ;   12451   int tmp___30 ;
12446   unsigned char const   *__s1___1 ;   12452   unsigned char const   *__s1___1 ;
12447   register int __result___4 ;   12453   register int __result___4 ;
12448   int tmp___31 ;   12454   int tmp___31 ;
12449   int tmp___32 ;   12455   int tmp___32 ;
12450   int tmp___33 ;   12456   int tmp___33 ;
12451   size_t __s1_len___2 ;   12457   size_t __s1_len___2 ;
12452   size_t __s2_len___2 ;   12458   size_t __s2_len___2 ;
12453   int tmp___34 ;   12459   int tmp___34 ;
12454   int tmp___35 ;   12460   int tmp___35 ;
12455   int tmp___36 ;   12461   int tmp___36 ;
12456   unsigned char const   *__s2___2 ;   12462   unsigned char const   *__s2___2 ;
12457   register int __result___5 ;   12463   register int __result___5 ;
12458   int tmp___37 ;   12464   int tmp___37 ;
12459   unsigned char const   *__s1___2 ;   12465   unsigned char const   *__s1___2 ;
12460   register int __result___6 ;   12466   register int __result___6 ;
12461   int tmp___38 ;   12467   int tmp___38 ;
12462   int tmp___39 ;   12468   int tmp___39 ;
12463   int tmp___40 ;   12469   int tmp___40 ;
12464   size_t __s1_len___3 ;   12470   size_t __s1_len___3 ;
12465   size_t __s2_len___3 ;   12471   size_t __s2_len___3 ;
12466   int tmp___41 ;   12472   int tmp___41 ;
12467   int tmp___42 ;   12473   int tmp___42 ;
12468   int tmp___43 ;   12474   int tmp___43 ;
12469   unsigned char const   *__s2___3 ;   12475   unsigned char const   *__s2___3 ;
12470   register int __result___7 ;   12476   register int __result___7 ;
12471   int tmp___44 ;   12477   int tmp___44 ;
12472   unsigned char const   *__s1___3 ;   12478   unsigned char const   *__s1___3 ;
12473   register int __result___8 ;   12479   register int __result___8 ;
12474   int tmp___45 ;   12480   int tmp___45 ;
12475   int tmp___46 ;   12481   int tmp___46 ;
12476   int tmp___47 ;   12482   int tmp___47 ;
12477   int _g_boolean_var_ ;   12483   int _g_boolean_var_ ;
12478   long tmp___48 ;   12484   long tmp___48 ;
12479   char *tmp___49 ;   12485   char *tmp___49 ;
12480   int tmp___50 ;   12486   int tmp___50 ;
12481   int tmp___51 ;   12487   int tmp___51 ;
12482     12488  
12483   {   12489   {
12484   cnd_file_duration = (condition *)((void *)0);   12490   cnd_file_duration = (condition *)((void *)0);
12485   cnd_autostop_files = (condition *)((void *)0);   12491   cnd_autostop_files = (condition *)((void *)0);
12486   cnd_autostop_size = (condition *)((void *)0);   12492   cnd_autostop_size = (condition *)((void *)0);
12487   cnd_autostop_duration = (condition *)((void *)0);   12493   cnd_autostop_duration = (condition *)((void *)0);
12488   cfilter_error = 0;   12494   cfilter_error = 0;
12489   interface_opts = capture_opts->default_options;   12495   interface_opts = capture_opts->default_options;
12490   errmsg[0] = (char )'\000';   12496   errmsg[0] = (char )'\000';
12491   secondary_errmsg[0] = (char )'\000';   12497   secondary_errmsg[0] = (char )'\000';
12492   global_ld.go = 1;   12498   global_ld.go = 1;
12493   global_ld.packet_count = 0;   12499   global_ld.packet_count = 0;
12494   global_ld.pcaps = g_array_new(0, 0, sizeof(pcap_options ));   12500   global_ld.pcaps = g_array_new(0, 0, sizeof(pcap_options ));
12495   if (capture_opts->has_autostop_packets) {   12501   if (capture_opts->has_autostop_packets) {
12496     global_ld.packet_max = capture_opts->autostop_packets;   12502     global_ld.packet_max = capture_opts->autostop_packets;
12497   } else {   12503   } else {
12498     global_ld.packet_max = 0;   12504     global_ld.packet_max = 0;
12499   }   12505   }
12500   global_ld.inpkts_to_sync_pipe = 0;   12506   global_ld.inpkts_to_sync_pipe = 0;
12501   global_ld.err = 0;   12507   global_ld.err = 0;
12502   global_ld.pdh = (FILE *)((void *)0);   12508   global_ld.pdh = (FILE *)((void *)0);
12503   global_ld.autostop_files = (guint32 )0;   12509   global_ld.autostop_files = (guint32 )0;
12504   global_ld.save_file_fd = -1;   12510   global_ld.save_file_fd = -1;
12505   *stats_known = 0;   12511   *stats_known = 0;
12506   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop starting ...");   12512   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop starting ...");
12507   capture_opts_log("CaptureChild", (GLogLevelFlags )128, capture_opts);   12513   capture_opts_log("CaptureChild", (GLogLevelFlags )128, capture_opts);
12508   tmp = capture_loop_open_input(capture_opts, & global_ld, errmsg,   12514   tmp = capture_loop_open_input(capture_opts, & global_ld, errmsg,
12509                                 sizeof(errmsg), secondary_errmsg,   12515                                 sizeof(errmsg), secondary_errmsg,
12510                                 sizeof(secondary_errmsg));   12516                                 sizeof(secondary_errmsg));
12511   if (tmp) {   12517   if (tmp) {
12512     12518  
12513   } else {   12519   } else {
12514     goto error;   12520     goto error;
12515   }   12521   }
12516   i = (guint )0;   12522   i = (guint )0;
12517   while (i < (capture_opts->ifaces)->len) {   12523   while (i < (capture_opts->ifaces)->len) {
12518     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12524     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12519     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   12525     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
12520     tmp___0 = capture_loop_init_filter(pcap_opts.pcap_h,   12526     tmp___0 = capture_loop_init_filter(pcap_opts.pcap_h,
12521                                        pcap_opts.from_cap_pipe,   12527                                        pcap_opts.from_cap_pipe,
12522                                        interface_opts.name,   12528                                        interface_opts.name,
12523                                        interface_opts.cfilter);   12529                                        interface_opts.cfilter);
12524     switch ((unsigned int )tmp___0) {   12530     switch ((unsigned int )tmp___0) {
12525     case 0U:   12531     case 0U:
12526     break;   12532     break;
12527     case 1U:   12533     case 1U:
12528     cfilter_error = 1;   12534     cfilter_error = 1;
12529     tmp___1 = pcap_geterr(pcap_opts.pcap_h);   12535     tmp___1 = pcap_geterr(pcap_opts.pcap_h);
12530     g_snprintf(errmsg, (gulong )sizeof(errmsg), "%s", tmp___1);   12536     g_snprintf(errmsg, (gulong )sizeof(errmsg), "%s", tmp___1);
12531     goto error;   12537     goto error;
12532     case 2U:   12538     case 2U:
12533     tmp___2 = pcap_geterr(pcap_opts.pcap_h);   12539     tmp___2 = pcap_geterr(pcap_opts.pcap_h);
12534     g_snprintf(errmsg, (gulong )sizeof(errmsg), "Can\'t install filter (%s).",   12540     g_snprintf(errmsg, (gulong )sizeof(errmsg), "Can\'t install filter (%s).",
12535                tmp___2);   12541                tmp___2);
12536     g_snprintf(secondary_errmsg, (gulong )sizeof(secondary_errmsg), "%s",   12542     g_snprintf(secondary_errmsg, (gulong )sizeof(secondary_errmsg), "%s",
12537                please_report);   12543                please_report);
12538     goto error;   12544     goto error;
12539     }   12545     }
12540     i ++;   12546     i ++;
12541   }   12547   }
12542   if (capture_opts->saving_to_file) {   12548   if (capture_opts->saving_to_file) {
12543     tmp___3 = capture_loop_open_output(capture_opts, & global_ld.save_file_fd,   12549     tmp___3 = capture_loop_open_output(capture_opts, & global_ld.save_file_fd,
12544                                        errmsg, (int )sizeof(errmsg));   12550                                        errmsg, (int )sizeof(errmsg));
12545     if (tmp___3) {   12551     if (tmp___3) {
12546     12552  
12547     } else {   12553     } else {
12548       goto error;   12554       goto error;
12549     }   12555     }
12550     tmp___4 = capture_loop_init_output(capture_opts, & global_ld, errmsg,   12556     tmp___4 = capture_loop_init_output(capture_opts, & global_ld, errmsg,
12551                                        (int )sizeof(errmsg));   12557                                        (int )sizeof(errmsg));
12552     if (tmp___4) {   12558     if (tmp___4) {
12553     12559  
12554     } else {   12560     } else {
12555       goto error;   12561       goto error;
12556     }   12562     }
12557     libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12563     libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12558     report_new_capture_file((char const   *)capture_opts->save_file);   12564     report_new_capture_file((char const   *)capture_opts->save_file);
12559   } else {   12565   } else {
12560     12566  
12561   }   12567   }
12562   init_capture_stop_conditions();   12568   init_capture_stop_conditions();
12563   if (capture_opts->has_autostop_filesize) {   12569   if (capture_opts->has_autostop_filesize) {
12564     cnd_autostop_size = cnd_new(CND_CLASS_CAPTURESIZE,   12570     cnd_autostop_size = cnd_new(CND_CLASS_CAPTURESIZE,
12565                                 (long )capture_opts->autostop_filesize * 1024L);   12571                                 (long )capture_opts->autostop_filesize * 1024L);
12566   } else {   12572   } else {
12567     12573  
12568   }   12574   }
12569   if (capture_opts->has_autostop_duration) {   12575   if (capture_opts->has_autostop_duration) {
12570     cnd_autostop_duration = cnd_new(CND_CLASS_TIMEOUT,   12576     cnd_autostop_duration = cnd_new(CND_CLASS_TIMEOUT,
12571                                     capture_opts->autostop_duration);   12577                                     capture_opts->autostop_duration);
12572   } else {   12578   } else {
12573     12579  
12574   }   12580   }
12575   if (capture_opts->multi_files_on) {   12581   if (capture_opts->multi_files_on) {
12576     if (capture_opts->has_file_duration) {   12582     if (capture_opts->has_file_duration) {
12577       cnd_file_duration = cnd_new(CND_CLASS_TIMEOUT, capture_opts->file_duration);   12583       cnd_file_duration = cnd_new(CND_CLASS_TIMEOUT, capture_opts->file_duration);
12578     } else {   12584     } else {
12579     12585  
12580     }   12586     }
12581     if (capture_opts->has_autostop_files) {   12587     if (capture_opts->has_autostop_files) {
12582       cnd_autostop_files = cnd_new(CND_CLASS_CAPTURESIZE,   12588       cnd_autostop_files = cnd_new(CND_CLASS_CAPTURESIZE,
12583                                    capture_opts->autostop_files);   12589                                    capture_opts->autostop_files);
12584     } else {   12590     } else {
12585     12591  
12586     }   12592     }
12587   } else {   12593   } else {
12588     12594  
12589   }   12595   }
12590   gettimeofday((struct timeval */* __restrict  */)(& upd_time),   12596   gettimeofday((struct timeval */* __restrict  */)(& upd_time),
12591                (__timezone_ptr_t )((void *)0));   12597                (__timezone_ptr_t )((void *)0));
12592   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop running!");   12598   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop running!");
12593   if (use_threads) {   12599   if (use_threads) {
12594     pcap_queue = g_async_queue_new();   12600     pcap_queue = g_async_queue_new();
12595     pcap_queue_bytes = (gint64 )0;   12601     pcap_queue_bytes = (gint64 )0;
12596     pcap_queue_packets = (gint64 )0;   12602     pcap_queue_packets = (gint64 )0;
12597     i = (guint )0;   12603     i = (guint )0;
12598     while (i < (global_ld.pcaps)->len) {   12604     while (i < (global_ld.pcaps)->len) {
12599       tmp___5 = g_malloc(sizeof(guint ));   12605       tmp___5 = g_malloc(sizeof(guint ));
12600       interface_id = (gint *)tmp___5;   12606       interface_id = (gint *)tmp___5;
12601       *interface_id = (gint )i;   12607       *interface_id = (gint )i;
12602       pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12608       pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12603       pcap_opts.tid = g_thread_create_full(& pcap_read_handler,   12609       pcap_opts.tid = g_thread_create_full(& pcap_read_handler,
12604                                            (gpointer )interface_id, (gulong )0,   12610                                            (gpointer )interface_id, (gulong )0,
12605                                            1, 0, (GThreadPriority )1,   12611                                            1, 0, (GThreadPriority )1,
12606                                            (GError **)((void *)0));   12612                                            (GError **)((void *)0));
12607       global_ld.pcaps = g_array_remove_index(global_ld.pcaps, i);   12613       global_ld.pcaps = g_array_remove_index(global_ld.pcaps, i);
12608       g_array_insert_vals(global_ld.pcaps, i, (gconstpointer )(& pcap_opts),   12614       g_array_insert_vals(global_ld.pcaps, i, (gconstpointer )(& pcap_opts),
12609                           (guint )1);   12615                           (guint )1);
12610       i ++;   12616       i ++;
12611     }   12617     }
12612   } else {   12618   } else {
12613     12619  
12614   }   12620   }
12615   while (global_ld.go) {   12621   while (global_ld.go) {
12616     if (use_threads) {   12622     if (use_threads) {
12617       g_get_current_time(& write_thread_time);   12623       g_get_current_time(& write_thread_time);
12618       g_time_val_add(& write_thread_time, (glong )100000);   12624       g_time_val_add(& write_thread_time, (glong )100000);
12619       g_async_queue_lock(pcap_queue);   12625       g_async_queue_lock(pcap_queue);
12620       tmp___6 = g_async_queue_timed_pop_unlocked(pcap_queue, & write_thread_time);   12626       tmp___6 = g_async_queue_timed_pop_unlocked(pcap_queue, & write_thread_time);
12621       queue_element = (pcap_queue_element *)tmp___6;   12627       queue_element = (pcap_queue_element *)tmp___6;
12622       if (queue_element) {   12628       if (queue_element) {
12623         pcap_queue_bytes -= (gint64 )queue_element->phdr.caplen;   12629         pcap_queue_bytes -= (gint64 )queue_element->phdr.caplen;
12624         pcap_queue_packets --;   12630         pcap_queue_packets --;
12625       } else {   12631       } else {
12626     12632  
12627       }   12633       }
12628       g_async_queue_unlock(pcap_queue);   12634       g_async_queue_unlock(pcap_queue);
12629       if (queue_element) {   12635       if (queue_element) {
12630         g_log("CaptureChild", (GLogLevelFlags )64,   12636         g_log("CaptureChild", (GLogLevelFlags )64,
12631               "Dequeued a packet of length %d captured on interface %d.",   12637               "Dequeued a packet of length %d captured on interface %d.",
12632               queue_element->phdr.caplen, queue_element->interface_id);   12638               queue_element->phdr.caplen, queue_element->interface_id);
12633         capture_loop_write_packet_cb((u_char *)(& queue_element->interface_id),   12639         capture_loop_write_packet_cb((u_char *)(& queue_element->interface_id),
12634                                      (struct pcap_pkthdr  const  *)(& queue_element->phdr),   12640                                      (struct pcap_pkthdr  const  *)(& queue_element->phdr),
12635                                      (u_char const   *)queue_element->pd);   12641                                      (u_char const   *)queue_element->pd);
12636         g_free((gpointer )queue_element->pd);   12642         g_free((gpointer )queue_element->pd);
12637         g_free((gpointer )queue_element);   12643         g_free((gpointer )queue_element);
12638         inpkts = 1;   12644         inpkts = 1;
12639       } else {   12645       } else {
12640         inpkts = 0;   12646         inpkts = 0;
12641       }   12647       }
12642     } else {   12648     } else {
12643       inpkts = capture_loop_dispatch(& global_ld, errmsg, (int )sizeof(errmsg),   12649       inpkts = capture_loop_dispatch(& global_ld, errmsg, (int )sizeof(errmsg),
12644                                      & pcap_opts);   12650                                      & pcap_opts);
12645     }   12651     }
12646     if (inpkts > 0) {   12652     if (inpkts > 0) {
12647       global_ld.inpkts_to_sync_pipe += inpkts;   12653       global_ld.inpkts_to_sync_pipe += inpkts;
12648       if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {   12654       if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {
12649         tmp___8 = cnd_eval(cnd_autostop_size, (guint32 )global_ld.bytes_written);   12655         tmp___8 = cnd_eval(cnd_autostop_size, (guint32 )global_ld.bytes_written);
12650         if (tmp___8) {   12656         if (tmp___8) {
12651           tmp___7 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,   12657           tmp___7 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,
12652                                            cnd_autostop_size, cnd_file_duration);   12658                                            cnd_autostop_size, cnd_file_duration);
12653           if (tmp___7) {   12659           if (tmp___7) {
12654     12660  
12655           } else {   12661           } else {
12656             continue;   12662             continue;
12657           }   12663           }
12658         } else {   12664         } else {
12659     12665  
12660         }   12666         }
12661       } else {   12667       } else {
12662     12668  
12663       }   12669       }
12664       if (capture_opts->output_to_pipe) {   12670       if (capture_opts->output_to_pipe) {
12665         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12671         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12666       } else {   12672       } else {
12667     12673  
12668       }   12674       }
12669     } else {   12675     } else {
12670     12676  
12671     }   12677     }
12672     gettimeofday((struct timeval */* __restrict  */)(& cur_time),   12678     gettimeofday((struct timeval */* __restrict  */)(& cur_time),
12673                  (__timezone_ptr_t )((void *)0));   12679                  (__timezone_ptr_t )((void *)0));
12674     if (cur_time.tv_sec * 1000000L + cur_time.tv_usec > (upd_time.tv_sec * 1000000L + upd_time.tv_usec) + 500000L) {   12680     if (cur_time.tv_sec * 1000000L + cur_time.tv_usec > (upd_time.tv_sec * 1000000L + upd_time.tv_usec) + 500000L) {
12675       upd_time = cur_time;   12681       upd_time = cur_time;
12676       if (global_ld.inpkts_to_sync_pipe) {   12682       if (global_ld.inpkts_to_sync_pipe) {
12677         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12683         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12678         if (! quiet) {   12684         if (! quiet) {
12679           report_packet_count(global_ld.inpkts_to_sync_pipe);   12685           report_packet_count(global_ld.inpkts_to_sync_pipe);
12680         } else {   12686         } else {
12681     12687  
12682         }   12688         }
12683         global_ld.inpkts_to_sync_pipe = 0;   12689         global_ld.inpkts_to_sync_pipe = 0;
12684       } else {   12690       } else {
12685     12691  
12686       }   12692       }
12687       if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {   12693       if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {
12688         tmp___9 = cnd_eval(cnd_autostop_duration);   12694         tmp___9 = cnd_eval(cnd_autostop_duration);
12689         if (tmp___9) {   12695         if (tmp___9) {
12690           global_ld.go = 0;   12696           global_ld.go = 0;
12691           continue;   12697           continue;
12692         } else {   12698         } else {
12693     12699  
12694         }   12700         }
12695       } else {   12701       } else {
12696     12702  
12697       }   12703       }
12698       if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {   12704       if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {
12699         tmp___11 = cnd_eval(cnd_file_duration);   12705         tmp___11 = cnd_eval(cnd_file_duration);
12700         if (tmp___11) {   12706         if (tmp___11) {
12701           tmp___10 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,   12707           tmp___10 = do_file_switch_or_stop(capture_opts, cnd_autostop_files,
12702                                             cnd_autostop_size, cnd_file_duration);   12708                                             cnd_autostop_size, cnd_file_duration);
12703           if (tmp___10) {   12709           if (tmp___10) {
12704     12710  
12705           } else {   12711           } else {
12706             continue;   12712             continue;
12707           }   12713           }
12708         } else {   12714         } else {
12709     12715  
12710         }   12716         }
12711       } else {   12717       } else {
12712     12718  
12713       }   12719       }
12714     } else {   12720     } else {
12715     12721  
12716     }   12722     }
12717   }   12723   }
12718   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopping ...");   12724   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopping ...");
12719   if (use_threads) {   12725   if (use_threads) {
12720     i = (guint )0;   12726     i = (guint )0;
12721     while (i < (global_ld.pcaps)->len) {   12727     while (i < (global_ld.pcaps)->len) {
12722       pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12728       pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12723       g_log("CaptureChild", (GLogLevelFlags )64,   12729       g_log("CaptureChild", (GLogLevelFlags )64,
12724             "Waiting for thread of interface %u...", pcap_opts.interface_id);   12730             "Waiting for thread of interface %u...", pcap_opts.interface_id);
12725       g_thread_join(pcap_opts.tid);   12731       g_thread_join(pcap_opts.tid);
12726       g_log("CaptureChild", (GLogLevelFlags )64,   12732       g_log("CaptureChild", (GLogLevelFlags )64,
12727             "Thread of interface %u terminated.", pcap_opts.interface_id);   12733             "Thread of interface %u terminated.", pcap_opts.interface_id);
12728       i ++;   12734       i ++;
12729     }   12735     }
12730     while (1) {   12736     while (1) {
12731       g_async_queue_lock(pcap_queue);   12737       g_async_queue_lock(pcap_queue);
12732       tmp___12 = g_async_queue_try_pop_unlocked(pcap_queue);   12738       tmp___12 = g_async_queue_try_pop_unlocked(pcap_queue);
12733       queue_element___0 = (pcap_queue_element *)tmp___12;   12739       queue_element___0 = (pcap_queue_element *)tmp___12;
12734       if (queue_element___0) {   12740       if (queue_element___0) {
12735         pcap_queue_bytes -= (gint64 )queue_element___0->phdr.caplen;   12741         pcap_queue_bytes -= (gint64 )queue_element___0->phdr.caplen;
12736         pcap_queue_packets --;   12742         pcap_queue_packets --;
12737       } else {   12743       } else {
12738     12744  
12739       }   12745       }
12740       g_async_queue_unlock(pcap_queue);   12746       g_async_queue_unlock(pcap_queue);
12741       if ((unsigned int )queue_element___0 == (unsigned int )((void *)0)) {   12747       if ((unsigned int )queue_element___0 == (unsigned int )((void *)0)) {
12742         break;   12748         break;
12743       } else {   12749       } else {
12744     12750  
12745       }   12751       }
12746       g_log("CaptureChild", (GLogLevelFlags )64,   12752       g_log("CaptureChild", (GLogLevelFlags )64,
12747             "Dequeued a packet of length %d captured on interface %d.",   12753             "Dequeued a packet of length %d captured on interface %d.",
12748             queue_element___0->phdr.caplen, queue_element___0->interface_id);   12754             queue_element___0->phdr.caplen, queue_element___0->interface_id);
12749       capture_loop_write_packet_cb((u_char *)(& queue_element___0->interface_id),   12755       capture_loop_write_packet_cb((u_char *)(& queue_element___0->interface_id),
12750                                    (struct pcap_pkthdr  const  *)(& queue_element___0->phdr),   12756                                    (struct pcap_pkthdr  const  *)(& queue_element___0->phdr),
12751                                    (u_char const   *)queue_element___0->pd);   12757                                    (u_char const   *)queue_element___0->pd);
12752       g_free((gpointer )queue_element___0->pd);   12758       g_free((gpointer )queue_element___0->pd);
12753       g_free((gpointer )queue_element___0);   12759       g_free((gpointer )queue_element___0);
12754       (global_ld.inpkts_to_sync_pipe) ++;   12760       (global_ld.inpkts_to_sync_pipe) ++;
12755       if (capture_opts->output_to_pipe) {   12761       if (capture_opts->output_to_pipe) {
12756         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));   12762         libpcap_dump_flush(global_ld.pdh, (int *)((void *)0));
12757       } else {   12763       } else {
12758     12764  
12759       }   12765       }
12760     }   12766     }
12761   } else {   12767   } else {
12762     12768  
12763   }   12769   }
12764   if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {   12770   if ((unsigned int )cnd_file_duration != (unsigned int )((void *)0)) {
12765     cnd_delete(cnd_file_duration);   12771     cnd_delete(cnd_file_duration);
12766   } else {   12772   } else {
12767     12773  
12768   }   12774   }
12769   if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {   12775   if ((unsigned int )cnd_autostop_files != (unsigned int )((void *)0)) {
12770     cnd_delete(cnd_autostop_files);   12776     cnd_delete(cnd_autostop_files);
12771   } else {   12777   } else {
12772     12778  
12773   }   12779   }
12774   if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {   12780   if ((unsigned int )cnd_autostop_size != (unsigned int )((void *)0)) {
12775     cnd_delete(cnd_autostop_size);   12781     cnd_delete(cnd_autostop_size);
12776   } else {   12782   } else {
12777     12783  
12778   }   12784   }
12779   if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {   12785   if ((unsigned int )cnd_autostop_duration != (unsigned int )((void *)0)) {
12780     cnd_delete(cnd_autostop_duration);   12786     cnd_delete(cnd_autostop_duration);
12781   } else {   12787   } else {
12782     12788  
12783   }   12789   }
12784   i = (guint )0;   12790   i = (guint )0;
12785   while (i < (capture_opts->ifaces)->len) {   12791   while (i < (capture_opts->ifaces)->len) {
12786     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   12792     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
12787     if (pcap_opts.pcap_err) {   12793     if (pcap_opts.pcap_err) {
12788       cap_err_str = pcap_geterr(pcap_opts.pcap_h);   12794       cap_err_str = pcap_geterr(pcap_opts.pcap_h);
12789       if (0) {   12795       if (0) {
12790         __s1_len = strlen((char const   *)cap_err_str);   12796         __s1_len = strlen((char const   *)cap_err_str);
12791         __s2_len = strlen("recvfrom: Network is down");   12797         __s2_len = strlen("recvfrom: Network is down");
12792         if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12798         if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12793           goto _L___0;   12799           goto _L___0;
12794         } else   12800         } else
12795         if (__s1_len >= 4U) {   12801         if (__s1_len >= 4U) {
12796           _L___0: /* CIL Label */   12802           _L___0: /* CIL Label */
12797           if (! ((size_t )((void const   *)("recvfrom: Network is down" + 1)) - (size_t )((void const   *)"recvfrom: Network is down") == 1U)) {   12803           if (! ((size_t )((void const   *)("recvfrom: Network is down" + 1)) - (size_t )((void const   *)"recvfrom: Network is down") == 1U)) {
12798             tmp___19 = 1;   12804             tmp___19 = 1;
12799           } else   12805           } else
12800           if (__s2_len >= 4U) {   12806           if (__s2_len >= 4U) {
12801             tmp___19 = 1;   12807             tmp___19 = 1;
12802           } else {   12808           } else {
12803             tmp___19 = 0;   12809             tmp___19 = 0;
12804           }   12810           }
12805         } else {   12811         } else {
12806           tmp___19 = 0;   12812           tmp___19 = 0;
12807         }   12813         }
12808         if (tmp___19) {   12814         if (tmp___19) {
12809           tmp___14 = __builtin_strcmp((char const   *)cap_err_str,   12815           tmp___14 = __builtin_strcmp((char const   *)cap_err_str,
12810                                       "recvfrom: Network is down");   12816                                       "recvfrom: Network is down");
12811           tmp___18 = tmp___14;   12817           tmp___18 = tmp___14;
12812         } else {   12818         } else {
12813           tmp___17 = __builtin_strcmp((char const   *)cap_err_str,   12819           tmp___17 = __builtin_strcmp((char const   *)cap_err_str,
12814                                       "recvfrom: Network is down");   12820                                       "recvfrom: Network is down");
12815           tmp___18 = tmp___17;   12821           tmp___18 = tmp___17;
12816         }   12822         }
12817       } else {   12823       } else {
12818         tmp___17 = __builtin_strcmp((char const   *)cap_err_str,   12824         tmp___17 = __builtin_strcmp((char const   *)cap_err_str,
12819                                     "recvfrom: Network is down");   12825                                     "recvfrom: Network is down");
12820         tmp___18 = tmp___17;   12826         tmp___18 = tmp___17;
12821       }   12827       }
12822       if (tmp___18 == 0) {   12828       if (tmp___18 == 0) {
12823         report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12829         report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12824                              "");   12830                              "");
12825       } else {   12831       } else {
12826         if (0) {   12832         if (0) {
12827           __s1_len___0 = strlen((char const   *)cap_err_str);   12833           __s1_len___0 = strlen((char const   *)cap_err_str);
12828           __s2_len___0 = strlen("The interface went down");   12834           __s2_len___0 = strlen("The interface went down");
12829           if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12835           if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12830             goto _L___2;   12836             goto _L___2;
12831           } else   12837           } else
12832           if (__s1_len___0 >= 4U) {   12838           if (__s1_len___0 >= 4U) {
12833             _L___2: /* CIL Label */   12839             _L___2: /* CIL Label */
12834             if (! ((size_t )((void const   *)("The interface went down" + 1)) - (size_t )((void const   *)"The interface went down") == 1U)) {   12840             if (! ((size_t )((void const   *)("The interface went down" + 1)) - (size_t )((void const   *)"The interface went down") == 1U)) {
12835               tmp___26 = 1;   12841               tmp___26 = 1;
12836             } else   12842             } else
12837             if (__s2_len___0 >= 4U) {   12843             if (__s2_len___0 >= 4U) {
12838               tmp___26 = 1;   12844               tmp___26 = 1;
12839             } else {   12845             } else {
12840               tmp___26 = 0;   12846               tmp___26 = 0;
12841             }   12847             }
12842           } else {   12848           } else {
12843             tmp___26 = 0;   12849             tmp___26 = 0;
12844           }   12850           }
12845           if (tmp___26) {   12851           if (tmp___26) {
12846             tmp___21 = __builtin_strcmp((char const   *)cap_err_str,   12852             tmp___21 = __builtin_strcmp((char const   *)cap_err_str,
12847                                         "The interface went down");   12853                                         "The interface went down");
12848             tmp___25 = tmp___21;   12854             tmp___25 = tmp___21;
12849           } else {   12855           } else {
12850             tmp___24 = __builtin_strcmp((char const   *)cap_err_str,   12856             tmp___24 = __builtin_strcmp((char const   *)cap_err_str,
12851                                         "The interface went down");   12857                                         "The interface went down");
12852             tmp___25 = tmp___24;   12858             tmp___25 = tmp___24;
12853           }   12859           }
12854         } else {   12860         } else {
12855           tmp___24 = __builtin_strcmp((char const   *)cap_err_str,   12861           tmp___24 = __builtin_strcmp((char const   *)cap_err_str,
12856                                       "The interface went down");   12862                                       "The interface went down");
12857           tmp___25 = tmp___24;   12863           tmp___25 = tmp___24;
12858         }   12864         }
12859         if (tmp___25 == 0) {   12865         if (tmp___25 == 0) {
12860           report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12866           report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12861                                "");   12867                                "");
12862         } else {   12868         } else {
12863           if (0) {   12869           if (0) {
12864             __s1_len___1 = strlen((char const   *)cap_err_str);   12870             __s1_len___1 = strlen((char const   *)cap_err_str);
12865             __s2_len___1 = strlen("read: Device not configured");   12871             __s2_len___1 = strlen("read: Device not configured");
12866             if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12872             if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12867               goto _L___4;   12873               goto _L___4;
12868             } else   12874             } else
12869             if (__s1_len___1 >= 4U) {   12875             if (__s1_len___1 >= 4U) {
12870               _L___4: /* CIL Label */   12876               _L___4: /* CIL Label */
12871               if (! ((size_t )((void const   *)("read: Device not configured" + 1)) - (size_t )((void const   *)"read: Device not configured") == 1U)) {   12877               if (! ((size_t )((void const   *)("read: Device not configured" + 1)) - (size_t )((void const   *)"read: Device not configured") == 1U)) {
12872                 tmp___33 = 1;   12878                 tmp___33 = 1;
12873               } else   12879               } else
12874               if (__s2_len___1 >= 4U) {   12880               if (__s2_len___1 >= 4U) {
12875                 tmp___33 = 1;   12881                 tmp___33 = 1;
12876               } else {   12882               } else {
12877                 tmp___33 = 0;   12883                 tmp___33 = 0;
12878               }   12884               }
12879             } else {   12885             } else {
12880               tmp___33 = 0;   12886               tmp___33 = 0;
12881             }   12887             }
12882             if (tmp___33) {   12888             if (tmp___33) {
12883               tmp___28 = __builtin_strcmp((char const   *)cap_err_str,   12889               tmp___28 = __builtin_strcmp((char const   *)cap_err_str,
12884                                           "read: Device not configured");   12890                                           "read: Device not configured");
12885               tmp___32 = tmp___28;   12891               tmp___32 = tmp___28;
12886             } else {   12892             } else {
12887               tmp___31 = __builtin_strcmp((char const   *)cap_err_str,   12893               tmp___31 = __builtin_strcmp((char const   *)cap_err_str,
12888                                           "read: Device not configured");   12894                                           "read: Device not configured");
12889               tmp___32 = tmp___31;   12895               tmp___32 = tmp___31;
12890             }   12896             }
12891           } else {   12897           } else {
12892             tmp___31 = __builtin_strcmp((char const   *)cap_err_str,   12898             tmp___31 = __builtin_strcmp((char const   *)cap_err_str,
12893                                         "read: Device not configured");   12899                                         "read: Device not configured");
12894             tmp___32 = tmp___31;   12900             tmp___32 = tmp___31;
12895           }   12901           }
12896           if (tmp___32 == 0) {   12902           if (tmp___32 == 0) {
12897             report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12903             report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12898                                  "");   12904                                  "");
12899           } else {   12905           } else {
12900             if (0) {   12906             if (0) {
12901               __s1_len___2 = strlen((char const   *)cap_err_str);   12907               __s1_len___2 = strlen((char const   *)cap_err_str);
12902               __s2_len___2 = strlen("read: I/O error");   12908               __s2_len___2 = strlen("read: I/O error");
12903               if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12909               if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12904                 goto _L___6;   12910                 goto _L___6;
12905               } else   12911               } else
12906               if (__s1_len___2 >= 4U) {   12912               if (__s1_len___2 >= 4U) {
12907                 _L___6: /* CIL Label */   12913                 _L___6: /* CIL Label */
12908                 if (! ((size_t )((void const   *)("read: I/O error" + 1)) - (size_t )((void const   *)"read: I/O error") == 1U)) {   12914                 if (! ((size_t )((void const   *)("read: I/O error" + 1)) - (size_t )((void const   *)"read: I/O error") == 1U)) {
12909                   tmp___40 = 1;   12915                   tmp___40 = 1;
12910                 } else   12916                 } else
12911                 if (__s2_len___2 >= 4U) {   12917                 if (__s2_len___2 >= 4U) {
12912                   tmp___40 = 1;   12918                   tmp___40 = 1;
12913                 } else {   12919                 } else {
12914                   tmp___40 = 0;   12920                   tmp___40 = 0;
12915                 }   12921                 }
12916               } else {   12922               } else {
12917                 tmp___40 = 0;   12923                 tmp___40 = 0;
12918               }   12924               }
12919               if (tmp___40) {   12925               if (tmp___40) {
12920                 tmp___35 = __builtin_strcmp((char const   *)cap_err_str,   12926                 tmp___35 = __builtin_strcmp((char const   *)cap_err_str,
12921                                             "read: I/O error");   12927                                             "read: I/O error");
12922                 tmp___39 = tmp___35;   12928                 tmp___39 = tmp___35;
12923               } else {   12929               } else {
12924                 tmp___38 = __builtin_strcmp((char const   *)cap_err_str,   12930                 tmp___38 = __builtin_strcmp((char const   *)cap_err_str,
12925                                             "read: I/O error");   12931                                             "read: I/O error");
12926                 tmp___39 = tmp___38;   12932                 tmp___39 = tmp___38;
12927               }   12933               }
12928             } else {   12934             } else {
12929               tmp___38 = __builtin_strcmp((char const   *)cap_err_str,   12935               tmp___38 = __builtin_strcmp((char const   *)cap_err_str,
12930                                           "read: I/O error");   12936                                           "read: I/O error");
12931               tmp___39 = tmp___38;   12937               tmp___39 = tmp___38;
12932             }   12938             }
12933             if (tmp___39 == 0) {   12939             if (tmp___39 == 0) {
12934               report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12940               report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12935                                    "");   12941                                    "");
12936             } else {   12942             } else {
12937               if (0) {   12943               if (0) {
12938                 __s1_len___3 = strlen((char const   *)cap_err_str);   12944                 __s1_len___3 = strlen((char const   *)cap_err_str);
12939                 __s2_len___3 = strlen("read error: PacketReceivePacket failed");   12945                 __s2_len___3 = strlen("read error: PacketReceivePacket failed");
12940                 if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {   12946                 if (! ((size_t )((void const   *)(cap_err_str + 1)) - (size_t )((void const   *)cap_err_str) == 1U)) {
12941                   goto _L___8;   12947                   goto _L___8;
12942                 } else   12948                 } else
12943                 if (__s1_len___3 >= 4U) {   12949                 if (__s1_len___3 >= 4U) {
12944                   _L___8: /* CIL Label */   12950                   _L___8: /* CIL Label */
12945                   if (! ((size_t )((void const   *)("read error: PacketReceivePacket failed" + 1)) - (size_t )((void const   *)"read error: PacketReceivePacket failed") == 1U)) {   12951                   if (! ((size_t )((void const   *)("read error: PacketReceivePacket failed" + 1)) - (size_t )((void const   *)"read error: PacketReceivePacket failed") == 1U)) {
12946                     tmp___47 = 1;   12952                     tmp___47 = 1;
12947                   } else   12953                   } else
12948                   if (__s2_len___3 >= 4U) {   12954                   if (__s2_len___3 >= 4U) {
12949                     tmp___47 = 1;   12955                     tmp___47 = 1;
12950                   } else {   12956                   } else {
12951                     tmp___47 = 0;   12957                     tmp___47 = 0;
12952                   }   12958                   }
12953                 } else {   12959                 } else {
12954                   tmp___47 = 0;   12960                   tmp___47 = 0;
12955                 }   12961                 }
12956                 if (tmp___47) {   12962                 if (tmp___47) {
12957                   tmp___42 = __builtin_strcmp((char const   *)cap_err_str,   12963                   tmp___42 = __builtin_strcmp((char const   *)cap_err_str,
12958                                               "read error: PacketReceivePacket failed");   12964                                               "read error: PacketReceivePacket failed");
12959                   tmp___46 = tmp___42;   12965                   tmp___46 = tmp___42;
12960                 } else {   12966                 } else {
12961                   tmp___45 = __builtin_strcmp((char const   *)cap_err_str,   12967                   tmp___45 = __builtin_strcmp((char const   *)cap_err_str,
12962                                               "read error: PacketReceivePacket failed");   12968                                               "read error: PacketReceivePacket failed");
12963                   tmp___46 = tmp___45;   12969                   tmp___46 = tmp___45;
12964                 }   12970                 }
12965               } else {   12971               } else {
12966                 tmp___45 = __builtin_strcmp((char const   *)cap_err_str,   12972                 tmp___45 = __builtin_strcmp((char const   *)cap_err_str,
12967                                             "read error: PacketReceivePacket failed");   12973                                             "read error: PacketReceivePacket failed");
12968                 tmp___46 = tmp___45;   12974                 tmp___46 = tmp___45;
12969               }   12975               }
12970               if (tmp___46 == 0) {   12976               if (tmp___46 == 0) {
12971                 report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",   12977                 report_capture_error("The network adapter on which the capture was being done is no longer running; the capture has stopped.",
12972                                      "");   12978                                      "");
12973               } else {   12979               } else {
12974                 g_snprintf(errmsg, (gulong )sizeof(errmsg),   12980                 g_snprintf(errmsg, (gulong )sizeof(errmsg),
12975                            "Error while capturing packets: %s", cap_err_str);   12981                            "Error while capturing packets: %s", cap_err_str);
12976                 report_capture_error((char const   *)(errmsg), please_report);   12982                 report_capture_error((char const   *)(errmsg), please_report);
12977               }   12983               }
12978             }   12984             }
12979           }   12985           }
12980         }   12986         }
12981       }   12987       }
12982       break;   12988       break;
12983     } else   12989     } else
12984     if (pcap_opts.from_cap_pipe) {   12990     if (pcap_opts.from_cap_pipe) {
12985       if ((unsigned int )pcap_opts.cap_pipe_err == 2U) {   12991       if ((unsigned int )pcap_opts.cap_pipe_err == 2U) {
12986         report_capture_error((char const   *)(errmsg), "");   12992         report_capture_error((char const   *)(errmsg), "");
12987         break;   12993         break;
12988       } else {   12994       } else {
12989     12995  
12990       }   12996       }
12991     } else {   12997     } else {
12992     12998  
12993     }   12999     }
12994     i ++;   13000     i ++;
12995   }   13001   }
12996   if (global_ld.err == 0) {   13002   if (global_ld.err == 0) {
12997     write_ok = 1;   13003     write_ok = 1;
12998   } else {   13004   } else {
12999     capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),   13005     capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),
13000                             (char const   *)capture_opts->save_file,   13006                             (char const   *)capture_opts->save_file,
13001                             global_ld.err, 0);   13007                             global_ld.err, 0);
13002     report_capture_error((char const   *)(errmsg), please_report);   13008     report_capture_error((char const   *)(errmsg), please_report);
13003     write_ok = 0;   13009     write_ok = 0;
13004   }   13010   }
13005   if (capture_opts->saving_to_file) {   13011   if (capture_opts->saving_to_file) {
13006     close_ok = capture_loop_close_output(capture_opts, & global_ld, & err_close);   13012     close_ok = capture_loop_close_output(capture_opts, & global_ld, & err_close);
13007   } else {   13013   } else {
13008     close_ok = 1;   13014     close_ok = 1;
13009   }   13015   }
13010   if (global_ld.inpkts_to_sync_pipe) {   13016   if (global_ld.inpkts_to_sync_pipe) {
13011     if (! quiet) {   13017     if (! quiet) {
13012       report_packet_count(global_ld.inpkts_to_sync_pipe);   13018       report_packet_count(global_ld.inpkts_to_sync_pipe);
13013     } else {   13019     } else {
13014     13020  
13015     }   13021     }
13016     global_ld.inpkts_to_sync_pipe = 0;   13022     global_ld.inpkts_to_sync_pipe = 0;
13017   } else {   13023   } else {
13018     13024  
13019   }   13025   }
13020   if (! close_ok) {   13026   if (! close_ok) {
13021     if (write_ok) {   13027     if (write_ok) {
13022       capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),   13028       capture_loop_get_errmsg(errmsg, (int )sizeof(errmsg),
13023                               (char const   *)capture_opts->save_file,   13029                               (char const   *)capture_opts->save_file,
13024                               err_close, 1);   13030                               err_close, 1);
13025       report_capture_error((char const   *)(errmsg), "");   13031       report_capture_error((char const   *)(errmsg), "");
13026     } else {   13032     } else {
13027     13033  
13028     }   13034     }
13029   } else {   13035   } else {
13030     13036  
13031   }   13037   }
13032   report_capture_count();   13038   report_capture_count();
13033   i = (guint )0;   13039   i = (guint )0;
13034   while (i < (capture_opts->ifaces)->len) {   13040   while (i < (capture_opts->ifaces)->len) {
13035     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   13041     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
13036     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);   13042     interface_opts = *((interface_options *)((void *)(capture_opts->ifaces)->data) + i);
13037     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   13043     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
13038       while (1) {   13044       while (1) {
13039         if (! pcap_opts.from_cap_pipe) {   13045         if (! pcap_opts.from_cap_pipe) {
13040           _g_boolean_var_ = 1;   13046           _g_boolean_var_ = 1;
13041         } else {   13047         } else {
13042           _g_boolean_var_ = 0;   13048           _g_boolean_var_ = 0;
13043         }   13049         }
13044         tmp___48 = __builtin_expect((long )_g_boolean_var_, 1L);   13050         tmp___48 = __builtin_expect((long )_g_boolean_var_, 1L);
13045         if (tmp___48) {   13051         if (tmp___48) {
13046     13052  
13047         } else {   13053         } else {
13048           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",   13054           g_assertion_message_expr((char const   *)((gchar *)0), "dumpcap.c",
13049                                    3412, "capture_loop_start",   13055                                    3412, "capture_loop_start",
13050                                    "!pcap_opts.from_cap_pipe");   13056                                    "!pcap_opts.from_cap_pipe");
13051         }   13057         }
13052         break;   13058         break;
13053       }   13059       }
13054       tmp___50 = pcap_stats(pcap_opts.pcap_h, stats);   13060       tmp___50 = pcap_stats(pcap_opts.pcap_h, stats);
13055       if (tmp___50 >= 0) {   13061       if (tmp___50 >= 0) {
13056         *stats_known = 1;   13062         *stats_known = 1;
13057         report_packet_drops(stats->ps_recv, stats->ps_drop, interface_opts.name);   13063         report_packet_drops(stats->ps_recv, stats->ps_drop, interface_opts.name);
13058       } else {   13064       } else {
13059         tmp___49 = pcap_geterr(pcap_opts.pcap_h);   13065         tmp___49 = pcap_geterr(pcap_opts.pcap_h);
13060         g_snprintf(errmsg, (gulong )sizeof(errmsg),   13066         g_snprintf(errmsg, (gulong )sizeof(errmsg),
13061                    "Can\'t get packet-drop statistics: %s", tmp___49);   13067                    "Can\'t get packet-drop statistics: %s", tmp___49);
13062         report_capture_error((char const   *)(errmsg), please_report);   13068         report_capture_error((char const   *)(errmsg), please_report);
13063       }   13069       }
13064     } else {   13070     } else {
13065     13071  
13066     }   13072     }
13067     i ++;   13073     i ++;
13068   }   13074   }
13069   capture_loop_close_input(& global_ld);   13075   capture_loop_close_input(& global_ld);
13070   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped!");   13076   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped!");
13071   if (write_ok) {   13077   if (write_ok) {
13072     if (close_ok) {   13078     if (close_ok) {
13073       tmp___51 = 1;   13079       tmp___51 = 1;
13074     } else {   13080     } else {
13075       tmp___51 = 0;   13081       tmp___51 = 0;
13076     }   13082     }
13077   } else {   13083   } else {
13078     tmp___51 = 0;   13084     tmp___51 = 0;
13079   }   13085   }
13080   return (tmp___51);   13086   return (tmp___51);
13081   error:   13087   error:
13082   if (capture_opts->multi_files_on) {   13088   if (capture_opts->multi_files_on) {
13083     ringbuf_error_cleanup();   13089     ringbuf_error_cleanup();
13084   } else {   13090   } else {
13085     if (global_ld.save_file_fd != -1) {   13091     if (global_ld.save_file_fd != -1) {
13086       close(global_ld.save_file_fd);   13092       close(global_ld.save_file_fd);
13087     } else {   13093     } else {
13088     13094  
13089     }   13095     }
13090     if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {   13096     if ((unsigned int )capture_opts->save_file != (unsigned int )((void *)0)) {
13091       unlink((char const   *)capture_opts->save_file);   13097       unlink((char const   *)capture_opts->save_file);
13092       g_free((gpointer )capture_opts->save_file);   13098       g_free((gpointer )capture_opts->save_file);
13093     } else {   13099     } else {
13094     13100  
13095     }   13101     }
13096   }   13102   }
13097   capture_opts->save_file = (gchar *)((void *)0);   13103   capture_opts->save_file = (gchar *)((void *)0);
13098   if (cfilter_error) {   13104   if (cfilter_error) {
13099     report_cfilter_error((char const   *)interface_opts.cfilter,   13105     report_cfilter_error((char const   *)interface_opts.cfilter,
13100                          (char const   *)(errmsg));   13106                          (char const   *)(errmsg));
13101   } else {   13107   } else {
13102     report_capture_error((char const   *)(errmsg),   13108     report_capture_error((char const   *)(errmsg),
13103                          (char const   *)(secondary_errmsg));   13109                          (char const   *)(secondary_errmsg));
13104   }   13110   }
13105   capture_loop_close_input(& global_ld);   13111   capture_loop_close_input(& global_ld);
13106   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped with error");   13112   g_log("CaptureChild", (GLogLevelFlags )64, "Capture loop stopped with error");
13107   return (0);   13113   return (0);
13108 }   13114 }
13109 }   13115 }
13110 static void capture_loop_stop(void)   13116 static void capture_loop_stop(void)
13111 {   13117 {
13112   guint i ;   13118   guint i ;
13113   pcap_options pcap_opts ;   13119   pcap_options pcap_opts ;
13114     13120  
13115   {   13121   {
13116   i = (guint )0;   13122   i = (guint )0;
13117   while (i < (global_ld.pcaps)->len) {   13123   while (i < (global_ld.pcaps)->len) {
13118     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);   13124     pcap_opts = *((pcap_options *)((void *)(global_ld.pcaps)->data) + i);
13119     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {   13125     if ((unsigned int )pcap_opts.pcap_h != (unsigned int )((void *)0)) {
13120       pcap_breakloop(pcap_opts.pcap_h);   13126       pcap_breakloop(pcap_opts.pcap_h);
13121     } else {   13127     } else {
13122     13128  
13123     }   13129     }
13124     i ++;   13130     i ++;
13125   }   13131   }
13126   global_ld.go = 0;   13132   global_ld.go = 0;
13127   return;   13133   return;
13128 }   13134 }
13129 }   13135 }
13130 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,   13136 static void capture_loop_get_errmsg(char *errmsg , int errmsglen ,
13131                                     char const   *fname , int err ,   13137                                     char const   *fname , int err ,
13132                                     gboolean is_close )   13138                                     gboolean is_close )
13133 {   13139 {
13134   char *tmp ;   13140   char *tmp ;
13135   char *tmp___0 ;   13141   char *tmp___0 ;
13136     13142  
13137   {   13143   {
13138   switch (err) {   13144   switch (err) {
13139   case 28:   13145   case 28:
13140   g_snprintf(errmsg, (gulong )errmsglen,   13146   g_snprintf(errmsg, (gulong )errmsglen,
13141              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because there is no space left on the file system\non which that file resides.",   13147              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because there is no space left on the file system\non which that file resides.",
13142              fname);   13148              fname);
13143   break;   13149   break;
13144   case 122:   13150   case 122:
13145   g_snprintf(errmsg, (gulong )errmsglen,   13151   g_snprintf(errmsg, (gulong )errmsglen,
13146              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because you are too close to, or over, your disk quota\non the file system on which that file resides.",   13152              "Not all the packets could be written to the file to which the capture was being saved\n(\"%s\") because you are too close to, or over, your disk quota\non the file system on which that file resides.",
13147              fname);   13153              fname);
13148   break;   13154   break;
13149   default:   13155   default:
13150   if (is_close) {   13156   if (is_close) {
13151     tmp = strerror(err);   13157     tmp = strerror(err);
13152     g_snprintf(errmsg, (gulong )errmsglen,   13158     g_snprintf(errmsg, (gulong )errmsglen,
13153                "The file to which the capture was being saved\n(\"%s\") could not be closed: %s.",   13159                "The file to which the capture was being saved\n(\"%s\") could not be closed: %s.",
13154                fname, tmp);   13160                fname, tmp);
13155   } else {   13161   } else {
13156     tmp___0 = strerror(err);   13162     tmp___0 = strerror(err);
13157     g_snprintf(errmsg, (gulong )errmsglen,   13163     g_snprintf(errmsg, (gulong )errmsglen,
13158                "An error occurred while writing to the file to which the capture was being saved\n(\"%s\"): %s.",   13164                "An error occurred while writing to the file to which the capture was being saved\n(\"%s\"): %s.",
13159                fname, tmp___0);   13165                fname, tmp___0);
13160   }   13166   }
13161   break;   13167   break;
13162   }   13168   }
13163   return;   13169   return;
13164 }   13170 }
13165 }   13171 }
13166 static void capture_loop_write_packet_cb(u_char *user ,   13172 static void capture_loop_write_packet_cb(u_char *user ,
13167                                          struct pcap_pkthdr  const  *phdr ,   13173                                          struct pcap_pkthdr  const  *phdr ,
13168                                          u_char const   *pd )   13174                                          u_char const   *pd )
13169 {   13175 {
13170   guint interface_id ;   13176   guint interface_id ;
13171   int err ;   13177   int err ;
13172   gboolean successful ;   13178   gboolean successful ;
13173     13179  
13174   {   13180   {
13175   interface_id = *((guint *)((void *)user));   13181   interface_id = *((guint *)((void *)user));
13176   if (! global_ld.go) {   13182   if (! global_ld.go) {
13177     return;   13183     return;
13178   } else {   13184   } else {
13179     13185  
13180   }   13186   }
13181   if (global_ld.pdh) {   13187   if (global_ld.pdh) {
13182     if (global_capture_opts.use_pcapng) {   13188     if (global_capture_opts.use_pcapng) {
13183       successful = libpcap_write_enhanced_packet_block(global_ld.pdh, phdr,   13189       successful = libpcap_write_enhanced_packet_block(global_ld.pdh, phdr,
13184                                                        interface_id, pd,   13190                                                        interface_id, pd,
13185                                                        & global_ld.bytes_written,   13191                                                        & global_ld.bytes_written,
13186                                                        & err);   13192                                                        & err);
13187     } else {   13193     } else {
13188       successful = libpcap_write_packet(global_ld.pdh, phdr, pd,   13194       successful = libpcap_write_packet(global_ld.pdh, phdr, pd,
13189                                         & global_ld.bytes_written, & err);   13195                                         & global_ld.bytes_written, & err);
13190     }   13196     }
13191     if (! successful) {   13197     if (! successful) {
13192       global_ld.go = 0;   13198       global_ld.go = 0;
13193       global_ld.err = err;   13199       global_ld.err = err;
13194     } else {   13200     } else {
13195       g_log("CaptureChild", (GLogLevelFlags )64,   13201       g_log("CaptureChild", (GLogLevelFlags )64,
13196             "Wrote a packet of length %d captured on interface %u.",   13202             "Wrote a packet of length %d captured on interface %u.",
13197             phdr->caplen, interface_id);   13203             phdr->caplen, interface_id);
13198       (global_ld.packet_count) ++;   13204       (global_ld.packet_count) ++;
13199       if (global_ld.packet_max > 0) {   13205       if (global_ld.packet_max > 0) {
13200         if (global_ld.packet_count >= global_ld.packet_max) {   13206         if (global_ld.packet_count >= global_ld.packet_max) {
13201           global_ld.go = 0;   13207           global_ld.go = 0;
13202         } else {   13208         } else {
13203     13209  
13204         }   13210         }
13205       } else {   13211       } else {
13206     13212  
13207       }   13213       }
13208     }   13214     }
13209   } else {   13215   } else {
13210     13216  
13211   }   13217   }
13212   return;   13218   return;
13213 }   13219 }
13214 }   13220 }
13215 static void capture_loop_queue_packet_cb(u_char *user ,   13221 static void capture_loop_queue_packet_cb(u_char *user ,
13216                                          struct pcap_pkthdr  const  *phdr ,   13222                                          struct pcap_pkthdr  const  *phdr ,
13217                                          u_char const   *pd )   13223                                          u_char const   *pd )
13218 {   13224 {
13219   pcap_queue_element *queue_element ;   13225   pcap_queue_element *queue_element ;
13220   guint interface_id ;   13226   guint interface_id ;
13221   gboolean limit_reached ;   13227   gboolean limit_reached ;
13222   gpointer tmp ;   13228   gpointer tmp ;
13223   gpointer tmp___0 ;   13229   gpointer tmp___0 ;
13224     13230  
13225   {   13231   {
13226   if (! global_ld.go) {   13232   if (! global_ld.go) {
13227     return;   13233     return;
13228   } else {   13234   } else {
13229     13235  
13230   }   13236   }
13231   interface_id = *((guint *)((void *)user));   13237   interface_id = *((guint *)((void *)user));
13232   tmp = g_malloc(sizeof(pcap_queue_element ));   13238   tmp = g_malloc(sizeof(pcap_queue_element ));
13233   queue_element = (pcap_queue_element *)tmp;   13239   queue_element = (pcap_queue_element *)tmp;
13234   if ((unsigned int )queue_element == (unsigned int )((void *)0)) {   13240   if ((unsigned int )queue_element == (unsigned int )((void *)0)) {
13235     return;   13241     return;
13236   } else {   13242   } else {
13237     13243  
13238   }   13244   }
13239   queue_element->interface_id = interface_id;   13245   queue_element->interface_id = interface_id;
13240   queue_element->phdr = (struct pcap_pkthdr )*phdr;   13246   queue_element->phdr = (struct pcap_pkthdr )*phdr;
13241   tmp___0 = g_malloc((gsize )phdr->caplen);   13247   tmp___0 = g_malloc((gsize )phdr->caplen);
13242   queue_element->pd = (u_char *)tmp___0;   13248   queue_element->pd = (u_char *)tmp___0;
13243   if ((unsigned int )queue_element->pd == (unsigned int )((void *)0)) {   13249   if ((unsigned int )queue_element->pd == (unsigned int )((void *)0)) {
13244     g_free((gpointer )queue_element);   13250     g_free((gpointer )queue_element);
13245     return;   13251     return;
13246   } else {   13252   } else {
13247     13253  
13248   }   13254   }
13249   memcpy((void */* __restrict  */)queue_element->pd,   13255   memcpy((void */* __restrict  */)queue_element->pd,
13250          (void const   */* __restrict  */)pd, (size_t )phdr->caplen);   13256          (void const   */* __restrict  */)pd, (size_t )phdr->caplen);
13251   g_async_queue_lock(pcap_queue);   13257   g_async_queue_lock(pcap_queue);
13252   if (pcap_queue_byte_limit > 0LL) {   13258   if (pcap_queue_byte_limit > 0LL) {
13253     if (pcap_queue_bytes < pcap_queue_byte_limit) {   13259     if (pcap_queue_bytes < pcap_queue_byte_limit) {
13254       if (pcap_queue_packet_limit > 0LL) {   13260       if (pcap_queue_packet_limit > 0LL) {
13255         if (pcap_queue_packets < pcap_queue_packet_limit) {   13261         if (pcap_queue_packets < pcap_queue_packet_limit) {
13256           limit_reached = 0;   13262           limit_reached = 0;
13257           g_async_queue_push_unlocked(pcap_queue, (gpointer )queue_element);   13263           g_async_queue_push_unlocked(pcap_queue, (gpointer )queue_element);
13258           pcap_queue_bytes += (gint64 )phdr->caplen;   13264           pcap_queue_bytes += (gint64 )phdr->caplen;
13259           pcap_queue_packets ++;   13265           pcap_queue_packets ++;
13260         } else {   13266         } else {
13261           limit_reached = 1;   13267           limit_reached = 1;
13262         }   13268         }
13263       } else {   13269       } else {
13264         limit_reached = 1;   13270         limit_reached = 1;
13265       }   13271       }
13266     } else {   13272     } else {
13267       limit_reached = 1;   13273       limit_reached = 1;
13268     }   13274     }
13269   } else {   13275   } else {
13270     limit_reached = 1;   13276     limit_reached = 1;
13271   }   13277   }
13272   g_async_queue_unlock(pcap_queue);   13278   g_async_queue_unlock(pcap_queue);
13273   if (limit_reached) {   13279   if (limit_reached) {
13274     g_free((gpointer )queue_element->pd);   13280     g_free((gpointer )queue_element->pd);
13275     g_free((gpointer )queue_element);   13281     g_free((gpointer )queue_element);
13276     g_log("CaptureChild", (GLogLevelFlags )64,   13282     g_log("CaptureChild", (GLogLevelFlags )64,
13277           "Dropped a packet of length %d captured on interface %u.",   13283           "Dropped a packet of length %d captured on interface %u.",
13278           phdr->caplen, interface_id);   13284           phdr->caplen, interface_id);
13279   } else {   13285   } else {
13280     g_log("CaptureChild", (GLogLevelFlags )64,   13286     g_log("CaptureChild", (GLogLevelFlags )64,
13281           "Queued a packet of length %d captured on interface %u.",   13287           "Queued a packet of length %d captured on interface %u.",
13282           phdr->caplen, interface_id);   13288           phdr->caplen, interface_id);
13283   }   13289   }
13284   g_log("CaptureChild", (GLogLevelFlags )64,   13290   g_log("CaptureChild", (GLogLevelFlags )64,
13285         "Queue size is now %lld bytes (%lld packets)", pcap_queue_bytes,   13291         "Queue size is now %lld bytes (%lld packets)", pcap_queue_bytes,
13286         pcap_queue_packets);   13292         pcap_queue_packets);
13287   return;   13293   return;
13288 }   13294 }
13289 }   13295 }
13290 int main(int argc , char **argv )   13296 int main(int argc , char **argv )
13291 {   13297 {
13292   int opt ;   13298   int opt ;
13293   gboolean arg_error ;   13299   gboolean arg_error ;
13294   struct sigaction action ;   13300   struct sigaction action ;
13295   struct sigaction oldaction ;   13301   struct sigaction oldaction ;
13296   gboolean start_capture ;   13302   gboolean start_capture ;
13297   gboolean stats_known ;   13303   gboolean stats_known ;
13298   struct pcap_stat stats ;   13304   struct pcap_stat stats ;
13299   GLogLevelFlags log_flags ;   13305   GLogLevelFlags log_flags ;
13300   gboolean list_interfaces ;   13306   gboolean list_interfaces ;
13301   gboolean list_link_layer_types ;   13307   gboolean list_link_layer_types ;
13302   gboolean print_bpf_code ;   13308   gboolean print_bpf_code ;
13303   gboolean machine_readable ;   13309   gboolean machine_readable ;
13304   gboolean print_statistics ;   13310   gboolean print_statistics ;
13305   int status ;   13311   int status ;
13306   int run_once_args ;   13312   int run_once_args ;
13307   gint i ;   13313   gint i ;
13308   guint j ;   13314   guint j ;
13309   size_t __s1_len ;   13315   size_t __s1_len ;
13310   size_t __s2_len ;   13316   size_t __s2_len ;
13311   int tmp ;   13317   int tmp ;
13312   int tmp___0 ;   13318   int tmp___0 ;
13313   int tmp___1 ;   13319   int tmp___1 ;
13314   unsigned char const   *__s2 ;   13320   unsigned char const   *__s2 ;
13315   register int __result ;   13321   register int __result ;
13316   int tmp___2 ;   13322   int tmp___2 ;
13317   unsigned char const   *__s1 ;   13323   unsigned char const   *__s1 ;
13318   register int __result___0 ;   13324   register int __result___0 ;
13319   int tmp___3 ;   13325   int tmp___3 ;
13320   int tmp___4 ;   13326   int tmp___4 ;
13321   int tmp___5 ;   13327   int tmp___5 ;
13322   GString *comp_info_str ;   13328   GString *comp_info_str ;
13323   GString *runtime_info_str ;   13329   GString *runtime_info_str ;
13324   GList *if_list ;   13330   GList *if_list ;
13325   int err ;   13331   int err ;
13326   gchar *err_str ;   13332   gchar *err_str ;
13327   gboolean tmp___6 ;   13333   gboolean tmp___6 ;
13328   interface_options interface_opts ;   13334   interface_options interface_opts ;
13329   if_capabilities_t *caps ;   13335   if_capabilities_t *caps ;
13330   gchar *err_str___0 ;   13336   gchar *err_str___0 ;
13331   guint i___0 ;   13337   guint i___0 ;
13332   interface_options interface_opts___0 ;   13338   interface_options interface_opts___0 ;
13333   gboolean tmp___7 ;   13339   gboolean tmp___7 ;
13334     13340  
13335   {   13341   {
13336   arg_error = 0;   13342   arg_error = 0;
13337   start_capture = 1;   13343   start_capture = 1;
13338   list_interfaces = 0;   13344   list_interfaces = 0;
13339   list_link_layer_types = 0;   13345   list_link_layer_types = 0;
13340   print_bpf_code = 0;   13346   print_bpf_code = 0;
13341   machine_readable = 0;   13347   machine_readable = 0;
13342   print_statistics = 0;   13348   print_statistics = 0;
13343   run_once_args = 0;   13349   run_once_args = 0;
13344   i = 1;   13350   i = 1;
13345   while (i < argc) {   13351   while (i < argc) {
13346     if (0) {   13352     if (0) {
13347       __s1_len = strlen("-Z");   13353       __s1_len = strlen("-Z");
13348       __s2_len = strlen((char const   *)*(argv + i));   13354       __s2_len = strlen((char const   *)*(argv + i));
13349       if (! ((size_t )((void const   *)("-Z" + 1)) - (size_t )((void const   *)"-Z") == 1U)) {   13355       if (! ((size_t )((void const   *)("-Z" + 1)) - (size_t )((void const   *)"-Z") == 1U)) {
13350         goto _L___0;   13356         goto _L___0;
13351       } else   13357       } else
13352       if (__s1_len >= 4U) {   13358       if (__s1_len >= 4U) {
13353         _L___0: /* CIL Label */   13359         _L___0: /* CIL Label */
13354         if (! ((size_t )((void const   *)(*(argv + i) + 1)) - (size_t )((void const   *)*(argv + i)) == 1U)) {   13360         if (! ((size_t )((void const   *)(*(argv + i) + 1)) - (size_t )((void const   *)*(argv + i)) == 1U)) {
13355           tmp___5 = 1;   13361           tmp___5 = 1;
13356         } else   13362         } else
13357         if (__s2_len >= 4U) {   13363         if (__s2_len >= 4U) {
13358           tmp___5 = 1;   13364           tmp___5 = 1;
13359         } else {   13365         } else {
13360           tmp___5 = 0;   13366           tmp___5 = 0;
13361         }   13367         }
13362       } else {   13368       } else {
13363         tmp___5 = 0;   13369         tmp___5 = 0;
13364       }   13370       }
13365       if (tmp___5) {   13371       if (tmp___5) {
13366         tmp___0 = __builtin_strcmp("-Z", (char const   *)*(argv + i));   13372         tmp___0 = __builtin_strcmp("-Z", (char const   *)*(argv + i));
13367         tmp___4 = tmp___0;   13373         tmp___4 = tmp___0;
13368       } else {   13374       } else {
13369         tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));   13375         tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));
13370         tmp___4 = tmp___3;   13376         tmp___4 = tmp___3;
13371       }   13377       }
13372     } else {   13378     } else {
13373       tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));   13379       tmp___3 = __builtin_strcmp("-Z", (char const   *)*(argv + i));
13374       tmp___4 = tmp___3;   13380       tmp___4 = tmp___3;
13375     }   13381     }
13376     if (tmp___4 == 0) {   13382     if (tmp___4 == 0) {
13377       capture_child = 1;   13383       capture_child = 1;
13378       machine_readable = 1;   13384       machine_readable = 1;
13379     } else {   13385     } else {
13380     13386  
13381     }   13387     }
13382     i ++;   13388     i ++;
13383   }   13389   }
13384   log_flags = (GLogLevelFlags )255;   13390   log_flags = (GLogLevelFlags )255;
13385   g_log_set_handler((gchar const   *)((void *)0), log_flags,   13391   g_log_set_handler((gchar const   *)((void *)0), log_flags,
13386                     & console_log_handler, (void *)0);   13392                     & console_log_handler, (void *)0);
13387   g_log_set_handler("Main", log_flags, & console_log_handler, (void *)0);   13393   g_log_set_handler("Main", log_flags, & console_log_handler, (void *)0);
13388   g_log_set_handler("Capture", log_flags, & console_log_handler, (void *)0);   13394   g_log_set_handler("Capture", log_flags, & console_log_handler, (void *)0);
13389   g_log_set_handler("CaptureChild", log_flags, & console_log_handler, (void *)0);   13395   g_log_set_handler("CaptureChild", log_flags, & console_log_handler, (void *)0);
13390   if (! g_threads_got_initialized) {   13396   if (! g_threads_got_initialized) {
13391     g_thread_init((GThreadFunctions *)((void *)0));   13397     g_thread_init((GThreadFunctions *)((void *)0));
13392   } else {   13398   } else {
13393     13399  
13394   }   13400   }
13395   action.__sigaction_handler.sa_handler = & capture_cleanup_handler;   13401   action.__sigaction_handler.sa_handler = & capture_cleanup_handler;
13396   action.sa_flags = 0;   13402   action.sa_flags = 0;
13397   sigemptyset(& action.sa_mask);   13403   sigemptyset(& action.sa_mask);
13398   sigaction(15, (struct sigaction  const  */* __restrict  */)(& action),   13404   sigaction(15, (struct sigaction  const  */* __restrict  */)(& action),
13399             (struct sigaction */* __restrict  */)((void *)0));   13405             (struct sigaction */* __restrict  */)((void *)0));
13400   sigaction(2, (struct sigaction  const  */* __restrict  */)(& action),   13406   sigaction(2, (struct sigaction  const  */* __restrict  */)(& action),
13401             (struct sigaction */* __restrict  */)((void *)0));   13407             (struct sigaction */* __restrict  */)((void *)0));
13402   sigaction(13, (struct sigaction  const  */* __restrict  */)(& action),   13408   sigaction(13, (struct sigaction  const  */* __restrict  */)(& action),
13403             (struct sigaction */* __restrict  */)((void *)0));   13409             (struct sigaction */* __restrict  */)((void *)0));
13404   sigaction(1, (struct sigaction  const  */* __restrict  */)((void *)0),   13410   sigaction(1, (struct sigaction  const  */* __restrict  */)((void *)0),
13405             (struct sigaction */* __restrict  */)(& oldaction));   13411             (struct sigaction */* __restrict  */)(& oldaction));
13406   if ((unsigned int )oldaction.__sigaction_handler.sa_handler == (unsigned int )((void (*)(int  ))0)) {   13412   if ((unsigned int )oldaction.__sigaction_handler.sa_handler == (unsigned int )((void (*)(int  ))0)) {
13407     sigaction(1, (struct sigaction  const  */* __restrict  */)(& action),   13413     sigaction(1, (struct sigaction  const  */* __restrict  */)(& action),
13408               (struct sigaction */* __restrict  */)((void *)0));   13414               (struct sigaction */* __restrict  */)((void *)0));
13409   } else {   13415   } else {
13410     13416  
13411   }   13417   }
13412   init_process_policies();   13418   init_process_policies();
13413   capture_opts_init(& global_capture_opts, (void *)0);   13419   capture_opts_init(& global_capture_opts, (void *)0);
13414   global_capture_opts.snaplen = 65535;   13420   global_capture_opts.snaplen = 65535;
13415   global_capture_opts.saving_to_file = 1;   13421   global_capture_opts.saving_to_file = 1;
13416   global_capture_opts.has_ring_num_files = 1;   13422   global_capture_opts.has_ring_num_files = 1;
13417   while (1) {   13423   while (1) {
13418     opt = getopt(argc, (char * const  *)argv,   13424     opt = getopt(argc, (char * const  *)argv,
13419                  "a:b:B:c:dDf:ghi:ILMnpqSs:tvw:y:Z:");   13425                  "a:b:B:c:dDf:ghi:ILMnpqSs:tvw:y:Z:");
13420     if (opt != -1) {   13426     if (opt != -1) {
13421     13427  
13422     } else {   13428     } else {
13423       break;   13429       break;
13424     }   13430     }
13425     switch (opt) {   13431     switch (opt) {
13426     case 104:   13432     case 104:
13427     print_usage(1);   13433     print_usage(1);
13428     exit_main(0);   13434     exit_main(0);
13429     break;   13435     break;
13430     case 118:   13436     case 118:
13431     comp_info_str = g_string_new("Compiled ");   13437     comp_info_str = g_string_new("Compiled ");
13432     get_compiled_version_info(comp_info_str, (void (*)(GString * ))((void *)0),   13438     get_compiled_version_info(comp_info_str, (void (*)(GString * ))((void *)0),
13433                               (void (*)(GString * ))((void *)0));   13439                               (void (*)(GString * ))((void *)0));
13434     runtime_info_str = g_string_new("Running ");   13440     runtime_info_str = g_string_new("Running ");
13435     get_runtime_version_info(runtime_info_str, (void (*)(GString * ))((void *)0));   13441     get_runtime_version_info(runtime_info_str, (void (*)(GString * ))((void *)0));
13436     show_version(comp_info_str, runtime_info_str);   13442     show_version(comp_info_str, runtime_info_str);
13437     g_string_free(comp_info_str, 1);   13443     g_string_free(comp_info_str, 1);
13438     g_string_free(runtime_info_str, 1);   13444     g_string_free(runtime_info_str, 1);
13439     exit_main(0);   13445     exit_main(0);
13440     break;   13446     break;
13441     case 73:   13447     case 73:
13442     case 66:   13448     case 66:
13443     case 121:   13449     case 121:
13444     case 103:   13450     case 103:
13445     case 119:   13451     case 119:
13446     case 115:   13452     case 115:
13447     case 112:   13453     case 112:
13448     case 110:   13454     case 110:
13449     case 105:   13455     case 105:
13450     case 102:   13456     case 102:
13451     case 99:   13457     case 99:
13452     case 98:   13458     case 98:
13453     case 97:   13459     case 97:
13454     status = capture_opts_add_opt(& global_capture_opts, opt,   13460     status = capture_opts_add_opt(& global_capture_opts, opt,
13455                                   (char const   *)optarg, & start_capture);   13461                                   (char const   *)optarg, & start_capture);
13456     if (status != 0) {   13462     if (status != 0) {
13457       exit_main(status);   13463       exit_main(status);
13458     } else {   13464     } else {
13459     13465  
13460     }   13466     }
13461     break;   13467     break;
13462     case 90:   13468     case 90:
13463     capture_child = 1;   13469     capture_child = 1;
13464     break;   13470     break;
13465     case 113:   13471     case 113:
13466     quiet = 1;   13472     quiet = 1;
13467     break;   13473     break;
13468     case 116:   13474     case 116:
13469     use_threads = 1;   13475     use_threads = 1;
13470     break;   13476     break;
13471     case 68:   13477     case 68:
13472     list_interfaces = 1;   13478     list_interfaces = 1;
13473     run_once_args ++;   13479     run_once_args ++;
13474     break;   13480     break;
13475     case 76:   13481     case 76:
13476     list_link_layer_types = 1;   13482     list_link_layer_types = 1;
13477     run_once_args ++;   13483     run_once_args ++;
13478     break;   13484     break;
13479     case 100:   13485     case 100:
13480     print_bpf_code = 1;   13486     print_bpf_code = 1;
13481     run_once_args ++;   13487     run_once_args ++;
13482     break;   13488     break;
13483     case 83:   13489     case 83:
13484     print_statistics = 1;   13490     print_statistics = 1;
13485     run_once_args ++;   13491     run_once_args ++;
13486     break;   13492     break;
13487     case 77:   13493     case 77:
13488     machine_readable = 1;   13494     machine_readable = 1;
13489     break;   13495     break;
13490     case 63:   13496     case 63:
13491     default:   13497     default:
13492     cmdarg_err("Invalid Option: %s", *(argv + (optind - 1)));   13498     cmdarg_err("Invalid Option: %s", *(argv + (optind - 1)));
13493     arg_error = 1;   13499     arg_error = 1;
13494     break;   13500     break;
13495     }   13501     }
13496   }   13502   }
13497   argc -= optind;   13503   argc -= optind;
13498   argv += optind;   13504   argv += optind;
13499   if (argc >= 1) {   13505   if (argc >= 1) {
13500     argc --;   13506     argc --;
13501     argv ++;   13507     argv ++;
13502   } else {   13508   } else {
13503     13509  
13504   }   13510   }
13505   if (argc != 0) {   13511   if (argc != 0) {
13506     cmdarg_err("Invalid argument: %s", *(argv + 0));   13512     cmdarg_err("Invalid argument: %s", *(argv + 0));
13507     arg_error = 1;   13513     arg_error = 1;
13508   } else {   13514   } else {
13509     13515  
13510   }   13516   }
13511   if (arg_error) {   13517   if (arg_error) {
13512     print_usage(0);   13518     print_usage(0);
13513     exit_main(1);   13519     exit_main(1);
13514   } else {   13520   } else {
13515     13521  
13516   }   13522   }
13517   if (run_once_args > 1) {   13523   if (run_once_args > 1) {
13518     cmdarg_err("Only one of -D, -L, or -S may be supplied.");   13524     cmdarg_err("Only one of -D, -L, or -S may be supplied.");
13519     exit_main(1);   13525     exit_main(1);
13520   } else   13526   } else
13521   if (run_once_args == 1) {   13527   if (run_once_args == 1) {
13522     if (global_capture_opts.multi_files_on) {   13528     if (global_capture_opts.multi_files_on) {
13523       cmdarg_err("Ring buffer requested, but a capture isn\'t being done.");   13529       cmdarg_err("Ring buffer requested, but a capture isn\'t being done.");
13524       exit_main(1);   13530       exit_main(1);
13525     } else {   13531     } else {
13526     13532  
13527     }   13533     }
13528   } else   13534   } else
13529   if (global_capture_opts.multi_files_on) {   13535   if (global_capture_opts.multi_files_on) {
13530     if ((unsigned int )global_capture_opts.save_file == (unsigned int )((void *)0)) {   13536     if ((unsigned int )global_capture_opts.save_file == (unsigned int )((void *)0)) {
13531       cmdarg_err("Ring buffer requested, but capture isn\'t being saved to a permanent file.");   13537       cmdarg_err("Ring buffer requested, but capture isn\'t being saved to a permanent file.");
13532       global_capture_opts.multi_files_on = 0;   13538       global_capture_opts.multi_files_on = 0;
13533     } else {   13539     } else {
13534     13540  
13535     }   13541     }
13536     if (! global_capture_opts.has_autostop_filesize) {   13542     if (! global_capture_opts.has_autostop_filesize) {
13537       if (! global_capture_opts.has_file_duration) {   13543       if (! global_capture_opts.has_file_duration) {
13538         cmdarg_err("Ring buffer requested, but no maximum capture file size or duration were specified.");   13544         cmdarg_err("Ring buffer requested, but no maximum capture file size or duration were specified.");
13539       } else {   13545       } else {
13540     13546  
13541       }   13547       }
13542     } else {   13548     } else {
13543     13549  
13544     }   13550     }
13545   } else {   13551   } else {
13546     13552  
13547   }   13553   }
13548   if (list_interfaces) {   13554   if (list_interfaces) {
13549     if_list = capture_interface_list(& err, & err_str);   13555     if_list = capture_interface_list(& err, & err_str);
13550     if ((unsigned int )if_list == (unsigned int )((void *)0)) {   13556     if ((unsigned int )if_list == (unsigned int )((void *)0)) {
13551       switch (err) {   13557       switch (err) {
13552       case 1:   13558       case 1:
13553       cmdarg_err("%s", err_str);   13559       cmdarg_err("%s", err_str);
13554       g_free((gpointer )err_str);   13560       g_free((gpointer )err_str);
13555       exit_main(2);   13561       exit_main(2);
13556       break;   13562       break;
13557       case 2:   13563       case 2:
13558       if (! machine_readable) {   13564       if (! machine_readable) {
13559         cmdarg_err("There are no interfaces on which a capture can be done");   13565         cmdarg_err("There are no interfaces on which a capture can be done");
13560         exit_main(2);   13566         exit_main(2);
13561       } else {   13567       } else {
13562     13568  
13563       }   13569       }
13564       break;   13570       break;
13565       }   13571       }
13566     } else {   13572     } else {
13567     13573  
13568     }   13574     }
13569     if (machine_readable) {   13575     if (machine_readable) {
13570       print_machine_readable_interfaces(if_list);   13576       print_machine_readable_interfaces(if_list);
13571     } else {   13577     } else {
13572       capture_opts_print_interfaces(if_list);   13578       capture_opts_print_interfaces(if_list);
13573     }   13579     }
13574     free_interface_list(if_list);   13580     free_interface_list(if_list);
13575     exit_main(0);   13581     exit_main(0);
13576   } else {   13582   } else {
13577     13583  
13578   }   13584   }
13579   if (print_statistics) {   13585   if (print_statistics) {
13580     status = print_statistics_loop(machine_readable);   13586     status = print_statistics_loop(machine_readable);
13581     exit_main(status);   13587     exit_main(status);
13582   } else {   13588   } else {
13583     13589  
13584   }   13590   }
13585   tmp___6 = capture_opts_trim_iface(& global_capture_opts,   13591   tmp___6 = capture_opts_trim_iface(& global_capture_opts,
13586                                     (char const   *)((void *)0));   13592                                     (char const   *)((void *)0));
13587   if (tmp___6 == 0) {   13593   if (tmp___6 == 0) {
13588     exit_main(1);   13594     exit_main(1);
13589   } else {   13595   } else {
13590     13596  
13591   }   13597   }
13592   j = (guint )0;   13598   j = (guint )0;
13593   while (j < (global_capture_opts.ifaces)->len) {   13599   while (j < (global_capture_opts.ifaces)->len) {
13594     interface_opts = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + j);   13600     interface_opts = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + j);
13595     g_log("CaptureChild", (GLogLevelFlags )128, "Interface: %s",   13601     g_log("CaptureChild", (GLogLevelFlags )128, "Interface: %s",
13596           interface_opts.name);   13602           interface_opts.name);
13597     j ++;   13603     j ++;
13598   }   13604   }
13599   if (list_link_layer_types) {   13605   if (list_link_layer_types) {
13600     i___0 = (guint )0;   13606     i___0 = (guint )0;
13601     while (i___0 < (global_capture_opts.ifaces)->len) {   13607     while (i___0 < (global_capture_opts.ifaces)->len) {
13602       interface_opts___0 = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + i___0);   13608       interface_opts___0 = *((interface_options *)((void *)(global_capture_opts.ifaces)->data) + i___0);
13603       caps = get_if_capabilities((char const   *)interface_opts___0.name,   13609       caps = get_if_capabilities((char const   *)interface_opts___0.name,
13604                                  interface_opts___0.monitor_mode, & err_str___0);   13610                                  interface_opts___0.monitor_mode, & err_str___0);
13605       if ((unsigned int )caps == (unsigned int )((void *)0)) {   13611       if ((unsigned int )caps == (unsigned int )((void *)0)) {
13606         cmdarg_err("The capabilities of the capture device \"%s\" could not be obtained (%s).\nPlease check to make sure you have sufficient permissions, and that\nyou have the proper interface or pipe specified.",   13612         cmdarg_err("The capabilities of the capture device \"%s\" could not be obtained (%s).\nPlease check to make sure you have sufficient permissions, and that\nyou have the proper interface or pipe specified.",
13607                    interface_opts___0.name, err_str___0);   13613                    interface_opts___0.name, err_str___0);
13608         g_free((gpointer )err_str___0);   13614         g_free((gpointer )err_str___0);
13609         exit_main(2);   13615         exit_main(2);
13610       } else {   13616       } else {
13611     13617  
13612       }   13618       }
13613       if ((unsigned int )caps->data_link_types == (unsigned int )((void *)0)) {   13619       if ((unsigned int )caps->data_link_types == (unsigned int )((void *)0)) {
13614         cmdarg_err("The capture device \"%s\" has no data link types.",   13620         cmdarg_err("The capture device \"%s\" has no data link types.",
13615                    interface_opts___0.name);   13621                    interface_opts___0.name);
13616         exit_main(2);   13622         exit_main(2);
13617       } else {   13623       } else {
13618     13624  
13619       }   13625       }
13620       if (machine_readable) {   13626       if (machine_readable) {
13621         print_machine_readable_if_capabilities(caps);   13627         print_machine_readable_if_capabilities(caps);
13622       } else {   13628       } else {
13623         capture_opts_print_if_capabilities(caps, interface_opts___0.name,   13629         capture_opts_print_if_capabilities(caps, interface_opts___0.name,
13624                                            interface_opts___0.monitor_mode);   13630                                            interface_opts___0.monitor_mode);
13625       }   13631       }
13626       free_if_capabilities(caps);   13632       free_if_capabilities(caps);
13627       i___0 ++;   13633       i___0 ++;
13628     }   13634     }
13629     exit_main(0);   13635     exit_main(0);
13630   } else {   13636   } else {
13631     13637  
13632   }   13638   }
13633   capture_opts_trim_snaplen(& global_capture_opts, 1);   13639   capture_opts_trim_snaplen(& global_capture_opts, 1);
13634   if (print_bpf_code) {   13640   if (print_bpf_code) {
13635     show_filter_code(& global_capture_opts);   13641     show_filter_code(& global_capture_opts);
13636     exit_main(0);   13642     exit_main(0);
13637   } else {   13643   } else {
13638     13644  
13639   }   13645   }
13640   capture_opts_trim_ring_num_files(& global_capture_opts);   13646   capture_opts_trim_ring_num_files(& global_capture_opts);
13641   tmp___7 = capture_loop_start(& global_capture_opts, & stats_known, & stats);   13647   tmp___7 = capture_loop_start(& global_capture_opts, & stats_known, & stats);
13642   if (tmp___7 == 1) {   13648   if (tmp___7 == 1) {
13643     exit_main(0);   13649     exit_main(0);
13644   } else {   13650   } else {
13645     exit_main(1);   13651     exit_main(1);
13646   }   13652   }
13647   return (0);   13653   return (0);
13648 }   13654 }
13649 }   13655 }
13650 static void console_log_handler(char const   *log_domain ,   13656 static void console_log_handler(char const   *log_domain ,
13651                                 GLogLevelFlags log_level ,   13657                                 GLogLevelFlags log_level ,
13652                                 char const   *message ,   13658                                 char const   *message ,
13653                                 gpointer user_data  __attribute__((__unused__)) )   13659                                 gpointer user_data  __attribute__((__unused__)) )
13654 {   13660 {
13655   time_t curr ;   13661   time_t curr ;
13656   struct tm *today ;   13662   struct tm *today ;
13657   char const   *level ;   13663   char const   *level ;
13658   gchar *msg ;   13664   gchar *msg ;
13659   char const   *tmp ;   13665   char const   *tmp ;
13660     13666  
13661   {   13667   {
13662   time(& curr);   13668   time(& curr);
13663   today = localtime((time_t const   *)(& curr));   13669   today = localtime((time_t const   *)(& curr));
13664   switch ((int )log_level & -4) {   13670   switch ((int )log_level & -4) {
13665   case 4:   13671   case 4:
13666   level = "Err ";   13672   level = "Err ";
13667   break;   13673   break;
13668   case 8:   13674   case 8:
13669   level = "Crit";   13675   level = "Crit";
13670   break;   13676   break;
13671   case 16:   13677   case 16:
13672   level = "Warn";   13678   level = "Warn";
13673   break;   13679   break;
13674   case 32:   13680   case 32:
13675   level = "Msg ";   13681   level = "Msg ";
13676   break;   13682   break;
13677   case 64:   13683   case 64:
13678   level = "Info";   13684   level = "Info";
13679   break;   13685   break;
13680   case 128:   13686   case 128:
13681   level = "Dbg ";   13687   level = "Dbg ";
13682   break;   13688   break;
13683   default:   13689   default:
13684   fprintf((FILE */* __restrict  */)stderr,   13690   fprintf((FILE */* __restrict  */)stderr,
13685           (char const   */* __restrict  */)"unknown log_level %u\n",   13691           (char const   */* __restrict  */)"unknown log_level %u\n",
13686           (int )log_level);   13692           (int )log_level);
13687   level = (char const   *)((void *)0);   13693   level = (char const   *)((void *)0);
13688   while (1) {   13694   while (1) {
13689     g_assertion_message((char const   *)((gchar *)0), "dumpcap.c", 4291,   13695     g_assertion_message((char const   *)((gchar *)0), "dumpcap.c", 4291,
13690                         "console_log_handler", (char const   *)((void *)0));   13696                         "console_log_handler", (char const   *)((void *)0));
13691     break;   13697     break;
13692   }   13698   }
13693   }   13699   }
13694   if ((int )log_level & 32) {   13700   if ((int )log_level & 32) {
13695     msg = g_strdup_printf("%s\n", message);   13701     msg = g_strdup_printf("%s\n", message);
13696   } else {   13702   } else {
13697     if ((unsigned int )log_domain != (unsigned int )((void *)0)) {   13703     if ((unsigned int )log_domain != (unsigned int )((void *)0)) {
13698       tmp = log_domain;   13704       tmp = log_domain;
13699     } else {   13705     } else {
13700       tmp = "";   13706       tmp = "";
13701     }   13707     }
13702     msg = g_strdup_printf("%02u:%02u:%02u %8s %s %s\n", today->tm_hour,   13708     msg = g_strdup_printf("%02u:%02u:%02u %8s %s %s\n", today->tm_hour,
13703                           today->tm_min, today->tm_sec, tmp, level, message);   13709                           today->tm_min, today->tm_sec, tmp, level, message);
13704   }   13710   }
13705   if (! (((int )log_level & -4) & -193)) {   13711   if (! (((int )log_level & -4) & -193)) {
13706     fprintf((FILE */* __restrict  */)stderr,   13712     fprintf((FILE */* __restrict  */)stderr,
13707             (char const   */* __restrict  */)"%s", msg);   13713             (char const   */* __restrict  */)"%s", msg);
13708     fflush(stderr);   13714     fflush(stderr);
13709     g_free((gpointer )msg);   13715     g_free((gpointer )msg);
13710     return;   13716     return;
13711   } else {   13717   } else {
13712     13718  
13713   }   13719   }
13714   if (capture_child) {   13720   if (capture_child) {
13715     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");   13721     sync_pipe_errmsg_to_parent(2, (char const   *)msg, "");
13716   } else {   13722   } else {
13717     fprintf((FILE */* __restrict  */)stderr,   13723     fprintf((FILE */* __restrict  */)stderr,
13718             (char const   */* __restrict  */)"%s", msg);   13724             (char const   */* __restrict  */)"%s", msg);
13719     fflush(stderr);   13725     fflush(stderr);
13720   }   13726   }
13721   g_free((gpointer )msg);   13727   g_free((gpointer )msg);
13722   return;   13728   return;
13723 }   13729 }
13724 }   13730 }
13725 static void report_packet_count(int packet_count ) ;   13731 static void report_packet_count(int packet_count ) ;
13726 static int count  =    0;   13732 static int count  =    0;
13727 static void report_packet_count(int packet_count )   13733 static void report_packet_count(int packet_count )
13728 {   13734 {
13729   char tmp[22] ;   13735   char tmp[22] ;
13730     13736  
13731   {   13737   {
13732   if (capture_child) {   13738   if (capture_child) {
13733     g_snprintf(tmp, (gulong )sizeof(tmp), "%d", packet_count);   13739     g_snprintf(tmp, (gulong )sizeof(tmp), "%d", packet_count);
13734     g_log("CaptureChild", (GLogLevelFlags )128, "Packets: %s", tmp);   13740     g_log("CaptureChild", (GLogLevelFlags )128, "Packets: %s", tmp);
13735     pipe_write_block(2, (char )'P', (char const   *)(tmp));   13741     pipe_write_block(2, (char )'P', (char const   *)(tmp));
13736   } else {   13742   } else {
13737     count += packet_count;   13743     count += packet_count;
13738     fprintf((FILE */* __restrict  */)stderr,   13744     fprintf((FILE */* __restrict  */)stderr,
13739             (char const   */* __restrict  */)"\rPackets: %u ", count);   13745             (char const   */* __restrict  */)"\rPackets: %u ", count);
13740     fflush(stderr);   13746     fflush(stderr);
13741   }   13747   }
13742   return;   13748   return;
13743 }   13749 }
13744 }   13750 }
13745 static void report_new_capture_file(char const   *filename )   13751 static void report_new_capture_file(char const   *filename )
13746 {   13752 {
13747     13753  
13748     13754  
13749   {   13755   {
13750   if (capture_child) {   13756   if (capture_child) {
13751     g_log("CaptureChild", (GLogLevelFlags )128, "File: %s", filename);   13757     g_log("CaptureChild", (GLogLevelFlags )128, "File: %s", filename);
13752     pipe_write_block(2, (char )'F', filename);   13758     pipe_write_block(2, (char )'F', filename);
13753   } else {   13759   } else {
13754     fprintf((FILE */* __restrict  */)stderr,   13760     fprintf((FILE */* __restrict  */)stderr,
13755             (char const   */* __restrict  */)"File: %s\n", filename);   13761             (char const   */* __restrict  */)"File: %s\n", filename);
13756     fflush(stderr);   13762     fflush(stderr);
13757   }   13763   }
13758   return;   13764   return;
13759 }   13765 }
13760 }   13766 }
13761 static void report_cfilter_error(char const   *cfilter , char const   *errmsg )   13767 static void report_cfilter_error(char const   *cfilter , char const   *errmsg )
13762 {   13768 {
13763     13769  
13764     13770  
13765   {   13771   {
13766   if (capture_child) {   13772   if (capture_child) {
13767     g_log("CaptureChild", (GLogLevelFlags )128, "Capture filter error: %s",   13773     g_log("CaptureChild", (GLogLevelFlags )128, "Capture filter error: %s",
13768           errmsg);   13774           errmsg);
13769     pipe_write_block(2, (char )'B', errmsg);   13775     pipe_write_block(2, (char )'B', errmsg);
13770   } else {   13776   } else {
13771     fprintf((FILE */* __restrict  */)stderr,   13777     fprintf((FILE */* __restrict  */)stderr,
13772             (char const   */* __restrict  */)"Invalid capture filter: \"%s\"!\n\nThat string isn\'t a valid capture filter (%s).\nSee the User\'s Guide for a description of the capture filter syntax.\n",   13778             (char const   */* __restrict  */)"Invalid capture filter: \"%s\"!\n\nThat string isn\'t a valid capture filter (%s).\nSee the User\'s Guide for a description of the capture filter syntax.\n",
13773             cfilter, errmsg);   13779             cfilter, errmsg);
13774   }   13780   }
13775   return;   13781   return;
13776 }   13782 }
13777 }   13783 }
13778 static void report_capture_error(char const   *error_msg ,   13784 static void report_capture_error(char const   *error_msg ,
13779                                  char const   *secondary_error_msg )   13785                                  char const   *secondary_error_msg )
13780 {   13786 {
13781     13787  
13782     13788  
13783   {   13789   {
13784   if (capture_child) {   13790   if (capture_child) {
13785     g_log("CaptureChild", (GLogLevelFlags )128, "Primary Error: %s", error_msg);   13791     g_log("CaptureChild", (GLogLevelFlags )128, "Primary Error: %s", error_msg);
13786     g_log("CaptureChild", (GLogLevelFlags )128, "Secondary Error: %s",   13792     g_log("CaptureChild", (GLogLevelFlags )128, "Secondary Error: %s",
13787           secondary_error_msg);   13793           secondary_error_msg);
13788     sync_pipe_errmsg_to_parent(2, error_msg, secondary_error_msg);   13794     sync_pipe_errmsg_to_parent(2, error_msg, secondary_error_msg);
13789   } else {   13795   } else {
13790     fprintf((FILE */* __restrict  */)stderr,   13796     fprintf((FILE */* __restrict  */)stderr,
13791             (char const   */* __restrict  */)"%s\n", error_msg);   13797             (char const   */* __restrict  */)"%s\n", error_msg);
13792     if ((int const   )*(secondary_error_msg + 0) != 0) {   13798     if ((int const   )*(secondary_error_msg + 0) != 0) {
13793       fprintf((FILE */* __restrict  */)stderr,   13799       fprintf((FILE */* __restrict  */)stderr,
13794               (char const   */* __restrict  */)"%s\n", secondary_error_msg);   13800               (char const   */* __restrict  */)"%s\n", secondary_error_msg);
13795     } else {   13801     } else {
13796     13802  
13797     }   13803     }
13798   }   13804   }
13799   return;   13805   return;
13800 }   13806 }
13801 }   13807 }
13802 static void report_packet_drops(guint32 received , guint32 drops , gchar *name )   13808 static void report_packet_drops(guint32 received , guint32 drops , gchar *name )
13803 {   13809 {
13804   char tmp1[22] ;   13810   char tmp1[22] ;
13805   char tmp2[22] ;   13811   char tmp2[22] ;
13806     13812  
13807   {   13813   {
13808   g_snprintf(tmp1, (gulong )sizeof(tmp1), "%u", received);   13814   g_snprintf(tmp1, (gulong )sizeof(tmp1), "%u", received);
13809   g_snprintf(tmp2, (gulong )sizeof(tmp2), "%u", drops);   13815   g_snprintf(tmp2, (gulong )sizeof(tmp2), "%u", drops);
13810   if (capture_child) {   13816   if (capture_child) {
13811     g_log("CaptureChild", (GLogLevelFlags )128,   13817     g_log("CaptureChild", (GLogLevelFlags )128,
13812           "Packets captured/dropped on interface %s: %s/%s", name, tmp1, tmp2);   13818           "Packets captured/dropped on interface %s: %s/%s", name, tmp1, tmp2);
13813     pipe_write_block(2, (char )'D', (char const   *)(tmp2));   13819     pipe_write_block(2, (char )'D', (char const   *)(tmp2));
13814   } else {   13820   } else {
13815     fprintf((FILE */* __restrict  */)stderr,   13821     fprintf((FILE */* __restrict  */)stderr,
13816             (char const   */* __restrict  */)"Packets captured/dropped on interface %s: %s/%s\n",   13822             (char const   */* __restrict  */)"Packets captured/dropped on interface %s: %s/%s\n",
13817             name, tmp1, tmp2);   13823             name, tmp1, tmp2);
13818     fflush(stderr);   13824     fflush(stderr);
13819   }   13825   }
13820   return;   13826   return;
13821 }   13827 }
13822 }   13828 }